| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
This is a resubmit of ag/12929664 with some APIs excluded that caused
test failures; see bugs 171886397, 171888296, 171864568.
APIs excluded:
Landroid/bluetooth/le/ScanRecord;->parseFromBytes([B)Landroid/bluetooth/le/ScanRecord;
Landroid/os/Process;->myPpid()I
Landroid/os/SharedMemory;->getFd()I
Landroid/hardware/input/InputManager;->INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH:I
Bug: 170729553
Test: Treehugger
Change-Id: I8285daa8530260251ecad6f3f38f98e263629ca7
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 72f07d6a8a32db4a0dedd7682a0b3385be2b9cd6.
Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?testMethod=testAppZygotePreload&testClass=android.app.cts.ServiceTest&atpConfigName=suite%2Ftest-mapping-presubmit-retry_cloud-tf&testModule=CtsAppTestCases&fkbb=6936597&lkbb=6936969&lkgb=6936551&testResults=true&branch=git_master&target=cf_x86_phone-userdebug>, bug b/171886397
Bug: 171886397
Change-Id: Ibe0f0430a3451477c1ee8ef56a596e91ea1e7672
|
| |
|
|
|
|
|
|
|
|
| |
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
Bug: 170729553
Test: Treehugger
Change-Id: I4c8fd0006f950de9955242e93968fb0996ceb372
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
If they were null, then the Parcelable would fail to work.
Bug: 126726802
Test: manual
Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014
Exempt-From-Owner-Approval: Trivial API annotations
|
| |
|
|
|
|
| |
Bug: 111439551
Test: make -j
Change-Id: I72997a87122f38b32e38e42a690385acc7d0e521
|
| |
|
|
|
|
|
|
|
| |
A few getters for view properties have been added where they were
missing. CTS tests for the new APIs are pending in b/123894719.
Test: m framework
Bug: 120492712
Change-Id: I743ce693d384eaf749ced3db7f81bda7d19ed275
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change will affects 2 types of apps: autofill service implementations
and apps that use autofill APIs.
Since just the former is known to be used at the moment, we're not trying
to keep backward compatibility with the latter.
Bug: 35956626
Test: CtsAutoFillServiceTestCases pass
Test: android.provider.SettingsBackupTest pass
Change-Id: Ia720083508716deae9e887f9faa7ae7c5a82f471
|
| |
|
|
|
|
|
| |
Test: CtsAutoFillServiceTestCases (with new tests) pass
Fixes: 35840787
Change-Id: Iaa2c1907c8383b4a820fd7204e67fa2d276ad2b8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that AutoFillType does have any logic (since the "subType" logic was moved
to AutoFillHint), it makes more sense to get rid of the type and use constants
directly.
This change creates the contants and "pseudo-deprecate" the old stuff: it's
still available because some clients are using it, but it will be removed once
they migrate.
Bug: 35956626
Test: CtsAutoFillServiceTestCases pass
Change-Id: I0efe7f0cc101c86164a18c85903bb871e1f13ba2
|
| |
|
|
|
|
|
| |
Change-Id: Ib42fe5ba57d5ef31a00b39945ac3bcacbb217cc8
Fixes: 35965642
Bug: 33550221
Test: compilation only
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Spinner is a special kind of list-value field because its auto-fillable
values are not currently present in the assist structure: this change
adds a getAutoFillOptions() to fill that void, and implements the
auto-fill APIs on Spinner.
It also fixes RadioGroup.getAutoFillValue() - it should return the index
of the child, not its resource id.
Bug: 33550221
Test: CtsAutoFillServiceTestCases (with new tests) pass
Change-Id: I625e7dd705fade56fda490fcd3c4446c0c245ee1
|
| |
|
|
|
|
|
| |
Additionally this CL removes spaces at the end of the line.
Test: code still compiles.
Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Implemented custom pointer icon for Button, ImageButton,
Spinner and TabWidget.
PointerIcon.TYPE_HAND will be shown if the widget is enabled,
clickable and has not defined its own pointer icon through
setPointerIcon or pointerIcon resource attribute.
Bug: 31652293
Change-Id: I2a79786b12d15ea8223726d0949658801b046604
|
| |
|
|
| |
Change-Id: I36e7f7c8ca6a69bdced3dd830e3ae0dde4181a4e
|
| |
|
|
|
| |
Bug: 26400523
Change-Id: I7e09d709214b6841b688cf130638583a9db01f19
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is in service of desktop-style submenus. Follow up CLs will make
use of the newly independent classes. MOST of the changes in this CL
are simply moving code from one place to another. Below are
descriptions of the new files added:
DropDownListView:
Decouple this from ListPopupWindow, so other "menu popup"
implementations [forthcoming] may make use of it.
This class is UNCHANGED except for the addition of the
setListSelectionHidden method.
ForwardingListener:
Decouple this from ListPopupWindow, so that other clients of this
listener can expect a more general ShowableListMenu rather than a
concrete ListPopupWindow. This will be useful later when we want to
use something other than ListPopupWindow to show a menu.
This class is UNCHANGED, except for (1) using the getListView() on
popup rather than accessing its mDropDownList member, and (2)
replacing ListPopupWindow return values with ShowableListMenu.
MenuAdapter:
Decouple from MenuPopupHelper so it may be used by forthcoming "menu
popup" implementations rather than just by MenuPopupHelper itself.
This class is UNCHANGED.
ShowableListMenu:
A new interface to encapsulate a menu that can be shown or hidden.
This will be implemented by both ListPopupWindow and a forthcoming
"menu popup" class.
Bug: 20127825
Change-Id: I565b444d25e966ff8b8c6ceac7be8de56a9116df
|
| |
|
|
| |
Change-Id: I8c7eef08718474bbdebe8eceaf34ebac4007d945
|
| |
|
|
|
| |
Bug: 21614663
Change-Id: Id84a720fac7050d312eb2eb6f12621217c4f8d0f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
As of MNC stock widgets will pass a size in UNSPECIFIED MeasureSpec
values as a hint of the container size. This lets things like list items
size themselves at 1/3 the size of their container.
This breaks assumptions in a few existing applications, so maintain the
old expectation of 0 size in UNSPECIFIED MeasureSpecs for apps targeting
older SDK versions.
Bug 20975083
Change-Id: Ic7318e88854e00d96852dde2c0e10376b42bf77f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Moves themed interface out of Spinner and extends SpinnerAdapter, updates
Spinner constructor to take a Theme rather than a Context.
Does NOT change BaseAdapter to implement ThemedSpinnerAdapter, because
the BaseAdapter class does not have any notion of layout inflation and
that would break the contract implied by ThemedSpinnerAdapter.
Bug: 21571899
Change-Id: Id7e8d630458857ce6c93a6a8b8f920e169ee1152
|
| |
|
|
| |
Change-Id: I6c4f193d0590824c644e20e8af16d055a04ac9c9
|
| |
|
|
| |
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
|
| |
|
|
| |
Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Removes the popup context setter, since this property cannot change
after inflation without losing data from the AttributeSet.
Bug: 19046761
Change-Id: I622f50d1752446a5b5793706c388e67a46ad06da
|
| |
|
|
|
|
|
|
| |
Also adds methods for setting the context used to inflate drop-down
views in several adapters.
Bug: 17625714
Change-Id: Id267afa4901c1d46ceb3bc3b10fc642cea1799fe
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
|
| |
|
|
| |
Change-Id: Id7b961ebcfffe536992208a157f625b5a1b1e1b6
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Manually modifies the overflow button hotspot bounds so that the ripple
appears to be centered on the overflow icon. Adds styleable and parsing
for list popup window offsets. Updates spinner text appearance to be
consistent with drop down item text appearance. Also updates horizontal
inner padding in buttons.
BUG: 17305079
BUG: 17304391
BUG: 17302567
Change-Id: Iafddfef290078de968894a3b443ba9f60f84c6d4
|
| |
|
|
|
| |
BUG: 13570583
Change-Id: Ia38fa907bad7634f79d0da15b885905de23c9c46
|
| |
|
|
|
| |
BUG: 12611005
Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
|
| |\
| |
| |
| |
| |
| |
| | |
"Fixed race condition in Spinner.DialogPopup on null reference."
* commit '86824cf0a994abc38f08ac5692cf6b73cd10526e':
Fixed race condition in Spinner.DialogPopup on null reference.
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NullPointerException is triggered when DialogPopup is
dismissed due to object mPopup being null when not showing.
Race condition is triggered when dialog is dismissed before
touch event to dismiss dialog has been processed properly.
Fixed by adding a null check prior to accessing mPopup object.
Change-Id: I3c4fe9c279d92a7103fb4f68189d1d42beedc606
|
| |\| |
| | |
| | |
| | |
| | | |
* commit '218b116344688053d3856a8ea8abc3dc241bcee1':
Fix some bizarre Spinner behavior
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Make sure the recycler is cleared when the adapter is changed.
Bug 10689596
* Don't add views to measure the baseline.
Bug 10690353
Change-Id: I841dc05652eef3319721631f96332f7900d1a631
|
| |/ /
| |
| |
| |
| |
| |
| | |
Also updates the constructor of every class that extends View.
BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
bug:10461302
Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
Changes behavior such that dragging on a Spinner that's inside
of a ScrollView will only scroll after a tap delay.
BUG: 10442971
Change-Id: I9fa9c5f0cf99e0cd158f52b6fa7a109ce1b6b8b1
|
| |\ \
| | |
| | |
| | | |
into klp-dev
|
| | | |
| | |
| | |
| | |
| | | |
BUG: 9437139
Change-Id: I4599cf65a472b2ce74d2301988359d87917a6eec
|
| |/ /
| |
| |
| |
| | |
BUG: 10391326
Change-Id: Ib2deeeef401802b6dde646e14ee5367141469a58
|
| | |
| |
| |
| |
| | |
BUG: 10076106
Change-Id: I1c1c235645b7963f802b0747f7ca64d8aedaaa66
|
| | |
| |
| |
| |
| | |
BUG: 9906193
Change-Id: Id21ee957cb72c9452b150a713ed37adb0fa82d30
|
| | |
| |
| |
| |
| |
| | |
Bug 8538144
Change-Id: I83f0ae78ce15f46827fb721cd0df1972b7d9d198
|
| | |
| |
| |
| |
| |
| | |
See bug #8159072 Spinner widget should be RTL'ized
Change-Id: I3f9368f242a027852bf13a7ce4b760de1e1c2fb2
|