summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2009-06-23 14:27:34 -0700
committer Romain Guy <romainguy@android.com> 2009-06-23 17:45:44 -0700
commit725015a9cda8f5bfcf05dff7d2b0ebbd799bb577 (patch)
treef6d771d7d55f870e82a9840563d2146e8d2e1e12 /libs/ui/FramebufferNativeWindow.cpp
parent11348cffef46585027ba3035357370177a554826 (diff)
Improve RelativeLayout by allowing dependencies to be declared in a random
order. The new implementation uses a dually topologically sorted graph of the child views. The graph of dependencies is sorted once for the rules that impact the horizontal axis (toLeftOf, alignRight, etc.) and once for the rules that impact the vertical axis (above, below, etc.) Doing so gives the ability to declare dependencies in any order, allows for partial cycles in the graph (given view1 and view2, view1 can be toRightOf=view2 and view2 can be above=view1) and probably gets rid of most surprising behaviors of RelativeLayout.
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions