diff options
author | Mady Mellor <madym@google.com> | 2015-03-02 10:37:01 -0800 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2015-03-02 10:37:01 -0800 |
commit | 2ff2cd873cc2a3f6a17cdaeb3e64b83ae2c6fda9 (patch) | |
tree | 4e54675acbc6693b79a0f76465c392bddc8fe197 /core/res | |
parent | bcd42a8d5a3b63ea22d5c88c19979934bf3b70c2 (diff) | |
download | frameworks_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.png | bin | 478 -> 368 bytes |
-rw-r--r-- | core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png | bin | 486 -> 349 bytes |
-rw-r--r-- | core/res/res/drawable-mdpi/text_select_handle_left_mtrl_alpha.png | bin | 346 -> 267 bytes |
-rw-r--r-- | core/res/res/drawable-mdpi/text_select_handle_right_mtrl_alpha.png | bin | 347 -> 241 bytes |
-rw-r--r-- | core/res/res/drawable-xhdpi/text_select_handle_left_mtrl_alpha.png | bin | 751 -> 467 bytes |
-rw-r--r-- | core/res/res/drawable-xhdpi/text_select_handle_right_mtrl_alpha.png | bin | 752 -> 466 bytes |
-rw-r--r-- | core/res/res/drawable-xxhdpi/text_select_handle_left_mtrl_alpha.png | bin | 1148 -> 684 bytes |
-rw-r--r-- | core/res/res/drawable-xxhdpi/text_select_handle_right_mtrl_alpha.png | bin | 1155 -> 630 bytes |
-rw-r--r-- | core/res/res/drawable-xxxhdpi/text_select_handle_left_mtrl_alpha.png | bin | 0 -> 889 bytes |
-rw-r--r-- | core/res/res/drawable-xxxhdpi/text_select_handle_right_mtrl_alpha.png | bin | 0 -> 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 Binary files differindex 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 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 Binary files differindex 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 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 Binary files differindex 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 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 Binary files differindex 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 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 Binary files differindex 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 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 Binary files differindex 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 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 Binary files differindex 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 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 Binary files differindex 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 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 Binary files differnew file mode 100644 index 0000000..643168f --- /dev/null +++ b/core/res/res/drawable-xxxhdpi/text_select_handle_left_mtrl_alpha.png 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 Binary files differnew file mode 100644 index 0000000..e8f3aad --- /dev/null +++ b/core/res/res/drawable-xxxhdpi/text_select_handle_right_mtrl_alpha.png |