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
|