4e46d0fdef233c729622cc45b329adc460bb4677 |
|
05-Dec-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #7649607 Hebrew text is cut off in Settings - in RTL mode and wrap content, make RelativeLayout respect the width that can be passed to him Change-Id: I6029135dede1ee80e41ae1bc2a337bf52cf24445
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
13705eda8cc065ee98feb94af649615579cd4a58 |
|
27-Nov-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #7617883 RelativeLayout is not having the correct width when in RTL mode - fix onMeasure() in RTL mode: need to compute width before computing layout params that are used for layout - fix getRelatedView() so that it uses the resolved rules - add some extra "final" statements Change-Id: I7c3bf841cd18c5f77b010a9be20fa78069e88d94
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
bb4b601673a4f910d3e467bc5ce39538438859ce |
|
27-Oct-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb. and also fbc21e126f329b7b7c161858c1390ccb023be07e I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as we are resolving layout params on every child of a ViewGroup as of commit fcc3348f61b2992f0b84e8e8dcb3535fc715298f Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb |
|
11-Oct-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic) Part 2 - fix remaining UI widgets by asking layout params resolution when needed Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
2918ab6c3258639148b8a5c78a34483af195246e |
|
11-Oct-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int) - rename to LayoutParams.resolveLayoutDirection(int) - upate 17.txt too Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
946d05b95f849684b709a3750ef189388d6dc5a9 |
|
02-Oct-2012 |
Adam Powell <adamp@google.com> |
DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout MeasureSpec.makeMeasureSpec has a bug where a negative or very large size parameter will cause the resulting MeasureSpec value to overflow. RelativeLayout partially relies on this when measuring children with mode UNSPECIFIED; a default value of -1 in a local variable ends up being passed to makeMeasureSpec, overflowing a mode value to create a measurespec that is very large in size, with AT_MOST as the mode. The correct behavior is for RelativeLayout to propagate the UNSPECIFIED mode. Unfortunately a number of custom view implementations in apps rely on the buggy behavior as they do not implement their own onMeasure method. This makes them fall back to View's default onMeasure implementation, which accepts the spec's size unconditionally for AT_MOST or EXACTLY modes, but falls back on getSuggestedMinimum[Width|Height] for UNSPECIFIED. If the view had no background drawable with dimensions and no minWidth field set, this fix for RelativeLayout causes some views to measure with a size of 0 rather than a size of the 30-bit version of 0xFF... Revert these fixes in the interests of compatibility. The next version will conditionally use the new behavior if targetSdk > JB-MR1. This also required reverting a fix for ImageView's adjustViewBounds functionality, as it cannot be implemented reliably if this RelativeLayout fix is not also in place. Revert "Fix UNSPECIFIED measurement in RelativeLayout" This reverts commit 132a742b94b9716451ddef30cec20548b346f1b9. Revert "Fix adjustViewBounds handling for ImageView" This reverts commit d5edc7721791ad807b9a8fbd923b8d6e73c399cc.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
132a742b94b9716451ddef30cec20548b346f1b9 |
|
30-Sep-2012 |
Adam Powell <adamp@google.com> |
Fix UNSPECIFIED measurement in RelativeLayout Explicitly handle UNSPECIFIED MeasureSpec mode. Bug 7258418 Change-Id: Idc7b4f0a4a92505379eb5479a84665f7908fcb83
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
e56ffdc7b31b0937628609cc3bbaa15879023569 |
|
23-Sep-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #6427629 Clean up layout direction APIs - rename getResolvedLayoutDirection() to getLayoutDirection() Change-Id: I3afe56c0db0751952f5056c23893cb7455531d29
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
a4c1030870d8c91b6d871922c3e6962323700f25 |
|
26-Jul-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add removeRule() to RelativeLayout LayoutParams - add this helper API as there are already several example of developers doing it "by hand" Change-Id: Icd15edfd75eb47de1f90f847b263b4d513c13810
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
75bea2e8d35044233ba892bedf102ed08406d653 |
|
26-Jul-2012 |
Scott Main <smain@google.com> |
am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev * commit '7c00f81606de1880c3f28e54cea064c3b90da3e7': docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
|
4c359b76f9a030f92a302ba74a528faa170bad4e |
|
25-Jul-2012 |
Scott Main <smain@google.com> |
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch Change-Id: If015ad000c1a36e19904c132e98ebff1ceaf718b
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
f443f98e7f41badd8f5d6f7bf7d26432e79a88ed |
|
14-Jul-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Make RelativeLayout aware of layout direction - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Ica92841fa0c13c25fcf89c4700b0771eec4fd6d7
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
1018fb42cb4958511a141787705aa429c5ec9bd3 |
|
13-Mar-2012 |
Philip Milne <pmilne@google.com> |
Fixes for bugs: #6103660, #6103957, #6104457 and #6104322. Add getters and setters to the layout widgets so as to mirror their XML apis. Change-Id: Ie2237fd55e1c3e4ec0d08b4f8154ea7e122c1e79
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
8a78fd4d9572dff95432fcc4ba0e87563415b728 |
|
17-Jan-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes. AccessibilityEvent and AccessibilityNodeInfo have a property className which is set to the source Java class. This is problematic since leads to leaking private classes which would allow an accessibility service to load classes from other packages. This is strongly undesirable since not trusted code can be loaded, and hence executed, in the accessibility service. To address that the class name is set to the most concrete framework class extended by the info/event source. bug:5878943 Change-Id: I7b3114ece8772ea2773f5151e21b8a6f2006882a
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
bc5d876df0856e027f1e2cfce91cbdedb6aaf66f |
|
07-Jan-2012 |
Romain Guy <romainguy@google.com> |
Avoid allocating when performing the measure/layout passes Change-Id: I94faa9167d632ff5a1d05f795a2c4dcc0f02348c
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
1fec24e0fff95afaa90bbf811e9f8db659eb9324 |
|
15-Sep-2011 |
Adam Powell <adamp@google.com> |
Update docs for RelativeLayout to better explain its interpretation of gravity. Change-Id: Ie52dc23458c73dfb7fdbf929b802f968ef905557
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
0b0a41d8e26eaf0f1d9d922621494daf40964a9a |
|
08-Sep-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Not visible view should not be announced or interacted with. 1. Some invisible views' text was reported by accessibility events. 2. Accessibility actions could have been perfromed on invisible views. bug:5264355 Change-Id: I68184fb436a3e10e947ec6f1eae02aa3d0d1cb7f
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
c0053223bedf33581b0830fb87be32c1f26e5372 |
|
13-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add View.getResolvedLayoutDirection() - update Callback2 interface - update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic by changing "boolean isRtl" parameter to "int layoutDirection" - fix BiDiTests for RTL FrameLayout Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
8643aa0179e598e78d938c59035389054535a229 |
|
20-Apr-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Interrogation of the view hierarchy from an AccessibilityService. 1. Views are represented as AccessibilityNodeInfos to AccessibilityServices. 2. An accessibility service receives AccessibilityEvents and can ask for its source and gets an AccessibilityNodeInfo which can be used to get its parent and children infos and so on. 3. AccessibilityNodeInfo contains some attributes and actions that can be performed on the source. 4. AccessibilityService can request the system to preform an action on the source of an AccessibilityNodeInfo. 5. ViewAncestor provides an interaction connection to the AccessibiltyManagerService and an accessibility service uses its connection to the latter to interact with screen content. 6. AccessibilityService can interact ONLY with the focused window and all calls are routed through the AccessibilityManagerService which imposes security. 7. Hidden APIs on AccessibilityService can find AccessibilityNodeInfos based on some criteria. These API go through the AccessibilityManagerServcie for security check. 8. Some actions are hidden and are exposes only to eng builds for UI testing. Change-Id: Ie34fa4219f350eb3f4f6f9f45b24f709bd98783c
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
9e3b002d3f9141d54948a65e0330fdcd09e75a30 |
|
07-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Rename Gravity BEFORE/AFTER to START/END - following spec proposal for having CSS3 like naming Change-Id: Id5e316a2d9b54b9f20bbcb168fea6a3a83882e1b
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
6a03640539405afbdefe72894759281b98aa6e6f |
|
23-May-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add support for Gravity BEFORE and AFTER - update layouts - add Callback2 for RTL aware Drawable - add unit tests Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
e0a799a2ac1ca78e30fbac9e4e12a063425c08d3 |
|
05-May-2011 |
Patrick Dubroy <dubroy@google.com> |
Only delay pressed feedback for Views inside a scrolling parent Add a method on ViewGroup to determine whether it supports scrolling. This allows us to show the pressed feedback immediately in many cases, improving responsiveness of buttons, etc. This patch also lengthens the timeout in order to reduce flashes when the user is scrolling. Change-Id: Ieb91ae7a1f8e8f7e87448f2a730381a53947996f
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
70c9ffbc838271f0ea27a4780eb146287de53ef6 |
|
20-Aug-2010 |
Scott Main <smain@google.com> |
am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo Merge commit '11a72482a0cdc45ceaf4ca83957e682381455aee' into gingerbread * commit '11a72482a0cdc45ceaf4ca83957e682381455aee': docs: add links from widget classes to tutorials
|
41ec65355bd6ded652769725b276d47c54a0d913 |
|
20-Aug-2010 |
Scott Main <smain@google.com> |
docs: add links from widget classes to tutorials Change-Id: I817e885524951853182b0458df4a32dea1614243
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
bea95162ca25bd00b0479d93739b6283795c3986 |
|
11-Aug-2010 |
Konstantin Lopyrev <klopyrev@google.com> |
Categorizing exported view properties. Change-Id: I79c42019836973d80662c21d195d088ae01537a0
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
42460ac1bb5512a17a6891f7d99e2b45db0889d8 |
|
12-Jan-2010 |
Romain Guy <romainguy@android.com> |
Fix how RelativeLayout handles alignParentBottom/Right when dimension is wrap_content. Bug: #2194109.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
520c4204fb9d4f2a7a79dcb5d171e681b7bc6a07 |
|
04-Jan-2010 |
Romain Guy <romainguy@android.com> |
Fix obsolete advice in RelativeLayout's documentation.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
d10a576791675628a014c0488c3d054371d4d63a |
|
28-Jul-2009 |
Romain Guy <romainguy@android.com> |
Fixes 2017393. Correctly apply gravity in RelativeLayout. RL was applying a horizontal offset to its children even when the gravity was only specified for the vertical axis (and vice-versa.) Also fix the ExpandableListView icons.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
da3003e1d71d66a1c936489025f8db314a2a4588 |
|
20-Jul-2009 |
Romain Guy <romainguy@android.com> |
Remove exception throw when a view has a self dependency inside a RelativeLayout. There are unfortunately successful 3rd party apps declaring self dependencies. There's no reason to crash the app so just ignore this issue.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
baac46339da03aed166e8a4240ad063caad019ad |
|
29-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout. Also bumps up the cache's number of Nodes.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
f782e60efc09f210643432f31b4c18026d7716d6 |
|
26-Jun-2009 |
Romain Guy <romainguy@android.com> |
Improve handling of FILL_PARENT in RelativeLayout. This was causing trouble with VideoView, in Gallery in particular.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
f7dabb088a474f821d1b07af9a51d063b4782537 |
|
25-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1943309. RelativeLayout was confused by gravities. RelativeLayout, when measured with AT_MOST, was applying the gravity on its children way too early. This caused the RL to set its measured size to a value that was larger than necessary. This fixes the issue by deferring the positioning of the gravity-dependent children until the dimensions of the layout are known.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
1ab621e316828fa65e8941954e2a3c7f1d68f77a |
|
25-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1943915. Prevents circular dependency exception when using several NO_ID views.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
e24ef6032f52cb754bfeb9ab32aae0a5cfa61f8a |
|
25-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1940605. RelativeLayout was swapping horizontal and vertical dependencies.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
b8f8de85160b0a072158b45320e9fc2adba545f5 |
|
25-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is targeted.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
956070383945db5f842ec05e507fd0233705738c |
|
24-Jun-2009 |
Romain Guy <romainguy@android.com> |
Reverse the order in which RelativeLayout measures and positions children. This fixes RelativeLayouts with height=wrap_content.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
a0fd1d742d8edaf6c7e79bdd16a9b0c44fda4503 |
|
24-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fix NPE in RelativeLayout.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
9fffa1eb40f5121866cb8e547b8bbd7eafee5281 |
|
24-Jun-2009 |
Romain Guy <romainguy@android.com> |
RelativeLayout was ignoring some dependencies. This change also improves the speed of RelativeLayout by eliminating calls to findViewById() whenever possible.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
725015a9cda8f5bfcf05dff7d2b0ebbd799bb577 |
|
23-Jun-2009 |
Romain Guy <romainguy@android.com> |
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.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
a1f3e4aef19882b4b81075d9205bd363efe1e66d |
|
05-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fix int to string mapping of exported properties. The value generated by the mapping in a @ViewDebug.ExportedProperty annotation was always overriden by the resolveId attribute.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec |
|
15-May-2009 |
svetoslavganov <svetoslavganov@google.com> |
Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
83b2107c4d2f07f46b6ae663115421749486f8b1 |
|
12-May-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
105925376f8d0f6b318c9938c7b83ef7fef094da |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
c39a6e0c51e182338deb8b63d07933b585134929 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
3001a035439d8134a7d70d796376d1dfbff3cdcd |
|
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/widget/RelativeLayout.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/widget/RelativeLayout.java
|