| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce new AssistData class that contains all data
the framework automatically generates for assist. Currently
populated with a very simple tree structure representing
the app's view hierarchy.
Reworked how we populate the class name for accessibility
info, so this is provided through a new method call on View
that subclasses can override. This method is also used
to populate the class name in AssistData.
Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ensures that delegate code is run last. Previously, calling the super
method from an accessibility delegate set on a widget would only run
code in the widget's parent. Next, the delegate code would run. Finally,
the widget's code would run. As a result, the widget code would override
any data supplied by the delegate.
By moving all overridden code to internal methods, we ensure that the
call chain for super includes the widget's parent code followed by the
widget's code. The delegate code will always run last.
BUG: 17641433
Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
|
|
|
|
|
|
|
| |
Also updates the constructor of every class that extends View.
BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When receiving key presses in TabHost.java, focus should be
requested for the selected tab indicator provided that the
following conditions are fulfilled:
1) A content view inside an embedded activity is currently focused.
2) No focusable view exists in the direction of the navigation
key press inside the embedded activity.
3) The TabWidget is located in the direction of the navigation
key press.
This should work for all locations of the TabWidget, not only
when the TabWidget is located above the tab content.
Change-Id: Ic5862cb72d2cc95aed9de92e42d6e0faf959fd43
|
| |
| |
| |
| | |
Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I8653ab10cd45bed3c38b15362e80af6c3319f763
|
|
|
|
| |
Change-Id: Ib11cbe188ac059cc3eaa24c178b2746a8b519918
|
|
|
|
|
|
|
|
|
|
|
| |
CL 76118 introduced style customized tab layout. However, applications
which tabWidgetStyle has been overriden and does not inherit from
Widget.TabWidget will not be able to access tabLayout. Use the default
holo layout for these.
Bug 3235944
Change-Id: I5666c5ef2886060a2175a3d642b012cdaf0a1d50
|
|
|
|
|
|
|
|
|
|
| |
Holo theme with new assets and style for TabWidgets.
Legacy Themes still use GB style.
Assets added in a previous bluk update were removed.
Change-Id: Ia4a612678561fa5047bbd2a72488086c0f3d61a1
|
|
|
|
| |
Change-Id: I7121719135ba996000064a7468faeee62df98e14
|
|
|
|
| |
Change-Id: I817e885524951853182b0458df4a32dea1614243
|
|
|
|
|
|
| |
Bug #2478088
Also expose a few useful APIs.
|
|
|
|
|
|
|
| |
TabHost sets closed tabs visibility to GONE instead of INVISIBLE, so that they are no
longer considered by the layout.
Change-Id: I74efea13d43e3c7ce21476c7bbcb3bb1cca8bf29
|
|
|
|
| |
Bug: #2361749.
|
|
|
|
|
|
| |
Fixes http://b/issue?id=2318588
Change-Id: If90ee7e2b777e4c77fdd0ae768d1ececa792ee1b
|
|
|
|
|
| |
Use different tab assets with the original coloring scheme
for apps that are not Eclair-aware.
|
|
|
|
|
|
|
|
|
|
|
| |
New tab assets. We decided to do a straight swap and then assess the
damage.
New default dark background color.
New list divider assets.
Change-Id: Ia00a9bb0ee1bad4f955f1c3b5b67526f62572015
|
| |
|
|
|
|
|
|
| |
This change adds the ability to specify an arbitrary view for a tab
indicator. It also adds support for specifying a drawable to use as
the divider between tab views.
|
|
|
|
| |
Also reformatted a comment that was too long.
|
| |
|
| |
|
| |
|
|
|