summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2015-03-02 10:37:01 -0800
committerMady Mellor <madym@google.com>2015-03-02 10:37:01 -0800
commit2ff2cd873cc2a3f6a17cdaeb3e64b83ae2c6fda9 (patch)
tree4e54675acbc6693b79a0f76465c392bddc8fe197 /core/res
parentbcd42a8d5a3b63ea22d5c88c19979934bf3b70c2 (diff)
downloadframeworks_base-2ff2cd873cc2a3f6a17cdaeb3e64b83ae2c6fda9.zip
frameworks_base-2ff2cd873cc2a3f6a17cdaeb3e64b83ae2c6fda9.tar.gz
frameworks_base-2ff2cd873cc2a3f6a17cdaeb3e64b83ae2c6fda9.tar.bz2
Text selection changes - smart handles & drag accelerator
Drag accelerator: After entering text selection mode, immediately dragging your finger along the screen will select text. Once you have dragged past the initial word the selection an offset is added so that the end of the selection is not below your finger. Smart handles: When expanding the selection the handles snap to words, when shrinking the selection the handles go by character, once you're in by-character mode you can expand by character until you hit a word boundary where you will then expand by word again. Your finger must past the first ~2 characters in a word before the handle will jump to the word boundary. Bug: 19356160 Bug: 19355947 Change-Id: I79b8ec5ae3159148cd2f15d2e63dd5045c2069e4
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.pngbin478 -> 368 bytes
-rw-r--r--core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.pngbin486 -> 349 bytes
-rw-r--r--core/res/res/drawable-mdpi/text_select_handle_left_mtrl_alpha.pngbin346 -> 267 bytes
-rw-r--r--core/res/res/drawable-mdpi/text_select_handle_right_mtrl_alpha.pngbin347 -> 241 bytes
-rw-r--r--core/res/res/drawable-xhdpi/text_select_handle_left_mtrl_alpha.pngbin751 -> 467 bytes
-rw-r--r--core/res/res/drawable-xhdpi/text_select_handle_right_mtrl_alpha.pngbin752 -> 466 bytes
-rw-r--r--core/res/res/drawable-xxhdpi/text_select_handle_left_mtrl_alpha.pngbin1148 -> 684 bytes
-rw-r--r--core/res/res/drawable-xxhdpi/text_select_handle_right_mtrl_alpha.pngbin1155 -> 630 bytes
-rw-r--r--core/res/res/drawable-xxxhdpi/text_select_handle_left_mtrl_alpha.pngbin0 -> 889 bytes
-rw-r--r--core/res/res/drawable-xxxhdpi/text_select_handle_right_mtrl_alpha.pngbin0 -> 858 bytes
10 files changed, 0 insertions, 0 deletions
diff --git a/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png b/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png
index 9cdc25b..1550b44 100644
--- a/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png
+++ b/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png b/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png
index 276d480..b309dfd 100644
--- a/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png
+++ b/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-mdpi/text_select_handle_left_mtrl_alpha.png b/core/res/res/drawable-mdpi/text_select_handle_left_mtrl_alpha.png
index 95c0168..b36a413 100644
--- a/core/res/res/drawable-mdpi/text_select_handle_left_mtrl_alpha.png
+++ b/core/res/res/drawable-mdpi/text_select_handle_left_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-mdpi/text_select_handle_right_mtrl_alpha.png b/core/res/res/drawable-mdpi/text_select_handle_right_mtrl_alpha.png
index 569332a..afd0bd2 100644
--- a/core/res/res/drawable-mdpi/text_select_handle_right_mtrl_alpha.png
+++ b/core/res/res/drawable-mdpi/text_select_handle_right_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-xhdpi/text_select_handle_left_mtrl_alpha.png b/core/res/res/drawable-xhdpi/text_select_handle_left_mtrl_alpha.png
index a01ac10..58f8c43 100644
--- a/core/res/res/drawable-xhdpi/text_select_handle_left_mtrl_alpha.png
+++ b/core/res/res/drawable-xhdpi/text_select_handle_left_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-xhdpi/text_select_handle_right_mtrl_alpha.png b/core/res/res/drawable-xhdpi/text_select_handle_right_mtrl_alpha.png
index d3602d9..42a893d 100644
--- a/core/res/res/drawable-xhdpi/text_select_handle_right_mtrl_alpha.png
+++ b/core/res/res/drawable-xhdpi/text_select_handle_right_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-xxhdpi/text_select_handle_left_mtrl_alpha.png b/core/res/res/drawable-xxhdpi/text_select_handle_left_mtrl_alpha.png
index 75085ce..d0f274a 100644
--- a/core/res/res/drawable-xxhdpi/text_select_handle_left_mtrl_alpha.png
+++ b/core/res/res/drawable-xxhdpi/text_select_handle_left_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-xxhdpi/text_select_handle_right_mtrl_alpha.png b/core/res/res/drawable-xxhdpi/text_select_handle_right_mtrl_alpha.png
index e2eb5be..f1f637a 100644
--- a/core/res/res/drawable-xxhdpi/text_select_handle_right_mtrl_alpha.png
+++ b/core/res/res/drawable-xxhdpi/text_select_handle_right_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-xxxhdpi/text_select_handle_left_mtrl_alpha.png b/core/res/res/drawable-xxxhdpi/text_select_handle_left_mtrl_alpha.png
new file mode 100644
index 0000000..643168f
--- /dev/null
+++ b/core/res/res/drawable-xxxhdpi/text_select_handle_left_mtrl_alpha.png
Binary files differ
diff --git a/core/res/res/drawable-xxxhdpi/text_select_handle_right_mtrl_alpha.png b/core/res/res/drawable-xxxhdpi/text_select_handle_right_mtrl_alpha.png
new file mode 100644
index 0000000..e8f3aad
--- /dev/null
+++ b/core/res/res/drawable-xxxhdpi/text_select_handle_right_mtrl_alpha.png
Binary files differ