| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I41e12e425284e74561c6b61663241df364ae54a1
|
| |
|
|
|
|
| |
Test: build and presubmit
Bug: 137825207
Change-Id: Ie3125743b46e785bf3f5655518e5634da2f578b0
|
| |
|
|
|
|
|
|
|
|
| |
Since the core implementation of TabHost is LocalActivityManager, which
was deprecated for several years. It does not make sense to maintain
TabHost and TabWidget.
Test: flash and build
Bug: 137825207
Change-Id: Ifb62dbe68c8ada8499dd5336a189c803f2ae3dc1
|
| |
|
|
|
|
| |
Bug: 111439551
Test: make -j
Change-Id: I72997a87122f38b32e38e42a690385acc7d0e521
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For packages:
android.widget
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: Ic61019b1df85448a158fc2ba55c326353222c6b9
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- TabHost was forwarding Tab/shift+tab/space to its content
instead of navigating through the tabs.
- FocusFinder's directional focus considered 2 touching Views to be
overlapping which would yield confusing directional movement at
times.
Bug: 62943663
Bug: 62911028
Test: Added CTS tests
Change-Id: I253f66b7513daf5c2c9fdeed8a2fb930b4fd8db4
|
| |
|
|
|
|
|
|
| |
Just frameworks/ this time. More paths to come.
Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
|
| |
|
|
|
|
|
|
|
|
| |
Removes all explicit casts from android.widget classes. Also @removes
methods on ListView that were overriding @hidden methods and should
never have been exposed as public API.
Bug: 24137209
Test: make
Change-Id: I89f0e51258560987b3942251fd249210f825ac2a
|
| |
|
|
|
|
|
|
| |
This reverts commit 06c2fffdaa81544522de751846754f781a9970a9.
Reason for revert: Java 8 doesn't support this magic.
Change-Id: Iaa41f4e4d0072b9a97cff9cd3788403d4ab79d13
|
| |
|
|
|
|
|
|
|
|
| |
Removes all explicit casts from android.widget classes. Also @removes
methods on ListView that were overriding @hidden methods and should
never have been exposed as public API.
Bug: 24137209
Test: make
Change-Id: I6ccfc6f001b355c4880f2b54e1a5474df78d6228
|
| |
|
|
|
|
|
| |
Additionally this CL removes spaces at the end of the line.
Test: code still compiles.
Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
|
| |
|
|
|
| |
Bug: 30589663
Change-Id: I2dc0ab0fff4d837a85bd1914f99711eca5dd73ca
|
| |
|
|
|
| |
Bug: 30034992
Change-Id: I532772347a5e73fc7a98d9627c54065248ca1ee7
|
| |
|
|
|
|
|
|
|
| |
Don't try to change focus at all on exit from touch mode. The old
behavior might have been useful for very old apps with a TabHost as
their primary UI, but that's not a modern app structure.
Bug: 21417491
Change-Id: I3db2ab42c90b6c82f23216244a8183c4290eb7d7
|
| |
|
|
| |
Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
|
| |
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|