ba51f15998e7aa284a09ca53053b340c744fcd9d |
|
01-Jul-2017 |
Abodunrinwa Toki <toki@google.com> |
Make ActionMode.isUiFocusable a TestApi Test: bit CtsViewTestCases:android.view.cts.ActionModeTest Bug: 62070427 Change-Id: I21b24d2a497bdc5234539bcc662ad707bb7f34dc
/frameworks/base/core/java/android/view/ActionMode.java
|
972ab4f8588c365cf9c06e1f22b30a96fb0a06fc |
|
17-Jun-2015 |
Abodunrinwa Toki <toki@google.com> |
Fix FloatingToolbar flickers. 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
/frameworks/base/core/java/android/view/ActionMode.java
|
9e211282d3ee54c9840947951593554c3bd5a77c |
|
05-Jun-2015 |
Abodunrinwa Toki <toki@google.com> |
Fix ActionMode.snooze API Bug: 21572677 Change-Id: If9fdb8ace3773b983418b0148082712644fd1fa5
/frameworks/base/core/java/android/view/ActionMode.java
|
e95cc176bb6b4577ec8dcc0f37a6efe6ca40e9bd |
|
21-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
Update the documentation for ActionMode.Callback2#onGetContentRect Received feedback from a team that it was not clear what the rect had to include. Change-Id: I03ca54ee1092e8af3a2078c42104e1ce88490cd1
/frameworks/base/core/java/android/view/ActionMode.java
|
fd3a3a1163c5096821cef351309fcdd9a4f48002 |
|
05-May-2015 |
Abodunrinwa Toki <toki@google.com> |
Hide floating toolbar when user interacts with screen. - 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
/frameworks/base/core/java/android/view/ActionMode.java
|
cba5fc22d17eafd755d9a248841bc9b69fb34763 |
|
25-Feb-2015 |
Clara Bayarri <clarabayarri@google.com> |
Floating toolbars: Add content rect related methods to API 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
/frameworks/base/core/java/android/view/ActionMode.java
|
7b9c912f536925ac6ec43935d6e97506851b33d6 |
|
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add @ResourceInt annotations on APIs Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
/frameworks/base/core/java/android/view/ActionMode.java
|
d6aeff17e620cf4a8a6370102cae5997332deb1c |
|
26-Jan-2015 |
Clara Bayarri <clarabayarri@google.com> |
Floating Palettes: Create the ActionMode type and use it in Editor. 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
/frameworks/base/core/java/android/view/ActionMode.java
|
785c447b2bc625209706fd128ce61781c3a4183b |
|
03-May-2012 |
Adam Powell <adamp@google.com> |
JB API cleanup; ActionMode and View docs Bugs 6435315, 6434937 Add ActionMode#getTitleOptionalHint() and extend documentation for View#hasTransientState/setHasTransientState Change-Id: I2049fb79864c33b34e3bbd13df32861e308c99ad
/frameworks/base/core/java/android/view/ActionMode.java
|
b98a81f86ab87f1d718f329f03256111fdabd8d1 |
|
24-Feb-2012 |
Adam Powell <adamp@google.com> |
Add support for optional titles in action modes Optional titles will only be displayed in the CAB if they entirely fit instead of ellipsizing. Fixes bug 5821883 Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
/frameworks/base/core/java/android/view/ActionMode.java
|
ef0314b2c693c6cfa34680a784210dfb540fe36c |
|
17-Feb-2012 |
Scott Main <smain@google.com> |
docs: fix broken link Change-Id: I13e29ec18bb503ea33ee59d187f588c5be8fd109
/frameworks/base/core/java/android/view/ActionMode.java
|
5e0959393426371dadef2c7905d5c915a1ac2dd4 |
|
16-Dec-2011 |
Scott Main <smain@google.com> |
docs: update menu guide with CAB and popup menu, plus many other revisions Change-Id: I5faedd5f5b812ca58eb2085b0c036570de861f15
/frameworks/base/core/java/android/view/ActionMode.java
|
f8419a0299680ed580975b0fcb758990b4367db8 |
|
03-Oct-2011 |
Adam Powell <adamp@google.com> |
Fix bugs around overlay action modes. 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
/frameworks/base/core/java/android/view/ActionMode.java
|
f178737f823cf22d9a07df6f51071b7189a95e7e |
|
15-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5031652 - offer a way to associate metadata with an ActionMode Change-Id: Ic9d453b5c58eea922ec65423801e008d953bb25b
/frameworks/base/core/java/android/view/ActionMode.java
|
9168f0b170c6a99371ae46e7d3f5d66c8c4c930d |
|
03-Aug-2010 |
Adam Powell <adamp@google.com> |
Add ActionMode#getMenuInflater() for easier menu inflation in ActionMode.Callback implementations Change-Id: If9e7ab0d65598bab537add6c6a452a55c093064f
/frameworks/base/core/java/android/view/ActionMode.java
|
c9ae2a24dc1fa274ca0916c91a2e9a2764ba4bb3 |
|
28-Jul-2010 |
Adam Powell <adamp@google.com> |
Add support for setting action mode titles/subtitles by resource ID Change-Id: Ia0d5234cc16f325eeb29127fb87e2616d67379ec
/frameworks/base/core/java/android/view/ActionMode.java
|
6e34636749217654f43221885afb7a29bb5ca96a |
|
23-Jul-2010 |
Adam Powell <adamp@google.com> |
Moved context modes into view, renamed to action modes ContextualMode renamed to ActionMode. Adds a reference to the action bar and reduces confusion around things named "Context". Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
/frameworks/base/core/java/android/view/ActionMode.java
|