| 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: I288969b0c22fa3a63bc2e71bb5009fe4a927e154
|
| |
|
|
|
|
|
|
|
| |
go/testapi-enforcement
Bug: 133832325
Test: m
Change-Id: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6
Merged-In: Ifc8db120640a1554dcbf1722e61e09c7ddc65dd6
|
| |
|
|
|
|
| |
Test: bit CtsViewTestCases:android.view.cts.ActionModeTest
Bug: 62070427
Change-Id: I21b24d2a497bdc5234539bcc662ad707bb7f34dc
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is fixed by avoiding calling toolbar.show() in PhoneWindow.
FloatingActionMode coordinates whether or not the toolbar should be
visible. PhoneWindow differs to it.
This CL also adds a new API:
ActionMode#onWindowFocusChanged(boolean)
Bug: 21617792
Change-Id: Ic49ce1000ce9c782d0f9e17e3d024d462c7b758b
|
| |
|
|
|
| |
Bug: 21572677
Change-Id: If9fdb8ace3773b983418b0148082712644fd1fa5
|
| |
|
|
|
|
|
| |
Received feedback from a team that it was not clear what the rect
had to include.
Change-Id: I03ca54ee1092e8af3a2078c42104e1ce88490cd1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Adds an ActionMode.snooze(int) API.
- Clients call this to hide the floating toolbar on DOWN touch event.
- This is called repeatedly as a snooze timeout will re-show the
toolbar.
- ActionMode.snooze(0) will "wake" the toolbar, reshowing it.
- Clients call this to re-show the toolbar on UP touch event.
- This CL also adds code to hide the toolbar when the "content rect"
is changing.
Bug: 20148125
Change-Id: If5a9a15f72c73cad8ca01a4328a58570b3e29f66
|
| |
|
|
|
|
|
|
|
|
| |
This CL adds the ActionMode.Callback2 abstract class and the rect
invalidate method needed to add the content rect API for Floating
Toolbars. It also extends the existing ActionModeCallbackWrapper in
DecorView to handle the case when ActionMode.Callback is provided
instead of Callback2, falling back to a default implementation.
Change-Id: Ia918ddfcfdf73d0e4cafd24c4a0573245d497cfe
|
| |
|
|
| |
Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
|
| |
|
|
|
|
|
|
|
|
| |
This CL creates the Type attribute for ActionMode, which will serve as a flag to determine its behavior and representation.
- TYPE_PRIMARY is the default and will maintain the current behavior and representation in the ActionBar
- TYPE_FLOATING will be the new Type and will be represented as a Floating Palette
Editor switches the flag from the default to TYPE_FLOATING, but this has no consequences right now, until the functionality is implemented.
Change-Id: Icd6cab01637f6ca3ae2e999b06904e08974d0c81
|
| |
|
|
|
|
|
|
|
| |
Bugs 6435315, 6434937
Add ActionMode#getTitleOptionalHint() and extend documentation for
View#hasTransientState/setHasTransientState
Change-Id: I2049fb79864c33b34e3bbd13df32861e308c99ad
|
| |
|
|
|
|
|
|
|
| |
Optional titles will only be displayed in the CAB if they entirely fit
instead of ellipsizing.
Fixes bug 5821883
Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
|
| |
|
|
| |
Change-Id: I13e29ec18bb503ea33ee59d187f588c5be8fd109
|
| |
|
|
| |
Change-Id: I5faedd5f5b812ca58eb2085b0c036570de861f15
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Multiple focusable windows cause undesired behavior around selection
modes. TextView isn't sure how to behave when it loses window focus
with regard to selection handles and action modes need to be focusable
for WebView find on page since it uses an EditText as a custom view.
For now:
* Use a layered window decor for overlay action mode when there is no
action bar requested. This eliminates an extra window and avoids the
issue described for full-screen UIs.
* Disable WebView's find-on-page mode when the action mode's UI will
not be focusable. This only affects WebViews in floating windows.
Also remove the "Text Selection" title for WebView's selection mode at
UX's request, as it is inconsistent with TextView's selection mode and
the string does not fit on phones in portrait even on wide
devices. This now uses the same mechanism used in TextView to decide
whether to use title text.
Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
|
| |
|
|
| |
Change-Id: Ic9d453b5c58eea922ec65423801e008d953bb25b
|
| |
|
|
|
|
| |
ActionMode.Callback implementations
Change-Id: If9e7ab0d65598bab537add6c6a452a55c093064f
|
| |
|
|
| |
Change-Id: Ia0d5234cc16f325eeb29127fb87e2616d67379ec
|
|
|
ContextualMode renamed to ActionMode. Adds a reference to the action
bar and reduces confusion around things named "Context".
Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
|