summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorClara Bayarri <clarabayarri@google.com>2015-03-02 16:09:09 +0000
committerClara Bayarri <clarabayarri@google.com>2015-03-12 10:31:11 +0000
commitf84a9724f1a915c782ac9d9c6465e13f8e9a42c9 (patch)
tree0f24c40b0d6549d81630a5a4b0bb874ba6eda8be /api
parent216ce5d7b2b0c10305c8e109d5b5197c67cd76ab (diff)
downloadframeworks_base-f84a9724f1a915c782ac9d9c6465e13f8e9a42c9.zip
frameworks_base-f84a9724f1a915c782ac9d9c6465e13f8e9a42c9.tar.gz
frameworks_base-f84a9724f1a915c782ac9d9c6465e13f8e9a42c9.tar.bz2
Move the "Replace" popup option to the Text Selection ActionMode.
As a first step in unifying the cut/copy/paste ActionMode in Editor with the paste/replace popup, I'm moving the replace option to the CAB ActionMode. Paste is already there, so for now all options are together. Missing things to address in upcoming CLs: - Invoke the ActionMode in all cases where the popup shows up now, ensuring only the options that are currently available show up. - Get rid of the current popup - Make the ActionMode a floating toolbar (pending feature completion) - Define a keyboard shortcut for replace? Note that since the ActionMode still shows up in the ActionBar and replace has no icon it now appears as text and takes up lots of space. This will improve when we can switch to using a floating toolbar. Change-Id: Ib6b60bae9b58e4db96b9c4cee556e19d3f1bb466
Diffstat (limited to 'api')
-rw-r--r--api/current.txt1
-rw-r--r--api/system-current.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index f42b32b..2cdae98 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -1724,6 +1724,7 @@ package android {
field public static final int primary = 16908300; // 0x102000c
field public static final int progress = 16908301; // 0x102000d
field public static final int redo = 16908339; // 0x1020033
+ field public static final int replaceText = 16908340; // 0x1020034
field public static final int secondaryProgress = 16908303; // 0x102000f
field public static final int selectAll = 16908319; // 0x102001f
field public static final int selectTextMode = 16908333; // 0x102002d
diff --git a/api/system-current.txt b/api/system-current.txt
index ed13ab2..1b3f1e4 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -1800,6 +1800,7 @@ package android {
field public static final int primary = 16908300; // 0x102000c
field public static final int progress = 16908301; // 0x102000d
field public static final int redo = 16908339; // 0x1020033
+ field public static final int replaceText = 16908340; // 0x1020034
field public static final int secondaryProgress = 16908303; // 0x102000f
field public static final int selectAll = 16908319; // 0x102001f
field public static final int selectTextMode = 16908333; // 0x102002d