Commit Graph

5742 Commits

Author SHA1 Message Date
Alan Viverette
cf3a3e1272 am 1537e135: am 4faa4cbb: am a1b647c8: Merge "Always remeasure ListView scrap used to obtain minimum width" into mnc-dev
* commit '1537e1358ea8446a1a512f1a15244355acda6d1a':
  Always remeasure ListView scrap used to obtain minimum width
2015-06-29 20:17:49 +00:00
Alan Viverette
1537e1358e am 4faa4cbb: am a1b647c8: Merge "Always remeasure ListView scrap used to obtain minimum width" into mnc-dev
* commit '4faa4cbbca0c9027aa67063a2ad43f008628c5bb':
  Always remeasure ListView scrap used to obtain minimum width
2015-06-29 20:04:39 +00:00
Alan Viverette
a1b647c883 Merge "Always remeasure ListView scrap used to obtain minimum width" into mnc-dev 2015-06-29 19:39:29 +00:00
Seigo Nonaka
b1efe967ba am 45034326: am a7c725f2: am e96b1c6f: Merge "Fix crash due to reverse selection." into mnc-dev
* commit '450343261eaed2c5f5c83ed7ea31d570cf73569b':
  Fix crash due to reverse selection.
2015-06-29 03:36:46 +00:00
Seigo Nonaka
450343261e am a7c725f2: am e96b1c6f: Merge "Fix crash due to reverse selection." into mnc-dev
* commit 'a7c725f2f3e3b7df1923033555a845bfb6a936f9':
  Fix crash due to reverse selection.
2015-06-29 03:25:19 +00:00
Seigo Nonaka
e96b1c6f82 Merge "Fix crash due to reverse selection." into mnc-dev 2015-06-29 03:02:45 +00:00
Mady Mellor
71a09ccfc4 am 51673142: am 9ebbbf10: am 11b64410: Merge "Text selection: fix snapping to words when words break across lines" into mnc-dev
* commit '51673142ae8c42bc19c57e57ccf50263534c8b11':
  Text selection: fix snapping to words when words break across lines
2015-06-26 23:13:08 +00:00
Abodunrinwa Toki
e1f7577870 am 9508d873: am e02ee117: am 1223a75a: Merge "TextView: add the "Share" accessibility action." into mnc-dev
* commit '9508d8738e2f7b16b8f6fdc8ce49d9708374840f':
  TextView: add the "Share" accessibility action.
2015-06-26 23:12:55 +00:00
Mady Mellor
51673142ae am 9ebbbf10: am 11b64410: Merge "Text selection: fix snapping to words when words break across lines" into mnc-dev
* commit '9ebbbf107077a7de30491fbaa3b4a2ab9b826775':
  Text selection: fix snapping to words when words break across lines
2015-06-26 22:54:57 +00:00
Abodunrinwa Toki
9508d8738e am e02ee117: am 1223a75a: Merge "TextView: add the "Share" accessibility action." into mnc-dev
* commit 'e02ee117ed14fd76dcbe4ee9d519c15f13d05a9d':
  TextView: add the "Share" accessibility action.
2015-06-26 22:54:45 +00:00
Mady Mellor
11b64410d9 Merge "Text selection: fix snapping to words when words break across lines" into mnc-dev 2015-06-26 22:36:44 +00:00
Abodunrinwa Toki
1223a75a67 Merge "TextView: add the "Share" accessibility action." into mnc-dev 2015-06-26 22:32:26 +00:00
Mady Mellor
2d509bc422 am 06121b67: am eb0918f1: am 450176c5: Merge "Fix: Text selection handles shouldn\'t be shown in accessibility mode" into mnc-dev
* commit '06121b67333b764f6a9f2d2902ae7babed2ae6c2':
  Fix: Text selection handles shouldn't be shown in accessibility mode
2015-06-26 21:55:21 +00:00
Mady Mellor
06121b6733 am eb0918f1: am 450176c5: Merge "Fix: Text selection handles shouldn\'t be shown in accessibility mode" into mnc-dev
* commit 'eb0918f117bf01e3fb0d52b9b14afea8b0ab9920':
  Fix: Text selection handles shouldn't be shown in accessibility mode
2015-06-26 21:39:45 +00:00
Mady Mellor
a526683d12 Text selection: fix snapping to words when words break across lines
Some languages do break words across lines and words can break between
lines with hyphenation. If a word has only one character on the current
line with the rest of the characters on the next line, the user would
be unable to move the cursor to the end of the word.

Rather than judging if a user is far enough into a word by using the
full word length, this CL amends the logic to only use the characters
that are on the current line of the word, if the user is far enough into
these characters the handle jumps to the next line to the end of the
word position.

Bug: 21400624
Change-Id: I8b96eb83bea08d9794d1e9db74066bcc3e168ac0
2015-06-26 14:28:12 -07:00
Abodunrinwa Toki
0e5c603192 TextView: add the "Share" accessibility action.
Bug: 21891817
Change-Id: I99b7489845b2103c18fd74d15d0050c34f37ca67
2015-06-26 14:25:15 -07:00
Mady Mellor
450176c52c Merge "Fix: Text selection handles shouldn't be shown in accessibility mode" into mnc-dev 2015-06-26 21:21:56 +00:00
Alan Viverette
2ea329290c Always remeasure ListView scrap used to obtain minimum width
Also turns off ViewPager debug, enabled the scroll indicator on the
DatePicker's year list, and updates the year label's TextView ID to
something more reasonable. Some code cleanup inside ListView.

Bug: 20110431
Change-Id: If1dba955094524d69cc297d7a567a182cef7f11d
2015-06-26 13:31:50 -07:00
Mady Mellor
88b99f002a am c0c307d8: am 2a8f0ca4: am 29f37e15: Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev
* commit 'c0c307d83a6ebcefc66e8e958b51e1e65fd6f7b2':
  Text selection: When user reaches midpoint jump to end of word
2015-06-26 18:14:33 +00:00
Mady Mellor
218fed7abf am 130d8638: am 3dc688c8: am 10f92517: Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev
* commit '130d8638d5c7e52dff21f158ee0ebcecb56db876':
  Text selection: Fix word boundaries for languages without spaces
2015-06-26 18:14:27 +00:00
Mady Mellor
c0c307d83a am 2a8f0ca4: am 29f37e15: Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev
* commit '2a8f0ca4579aa3ee610d63ce5b0c6e4fb12f851a':
  Text selection: When user reaches midpoint jump to end of word
2015-06-26 18:01:31 +00:00
Mady Mellor
130d8638d5 am 3dc688c8: am 10f92517: Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev
* commit '3dc688c85f223cb0ef184d451255120e82f52ea2':
  Text selection: Fix word boundaries for languages without spaces
2015-06-26 18:01:25 +00:00
Mady Mellor
29f37e1597 Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev 2015-06-26 17:38:08 +00:00
Mady Mellor
10f9251736 Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev 2015-06-26 17:33:22 +00:00
Mady Mellor
011a42dee7 Fix: Text selection handles shouldn't be shown in accessibility mode
If you select some text normally while in accessibility mode, it
should be cleared and handles should not show if you initiate text
selection using the accessibility context menu.

Bug: 22071639
Change-Id: I32b966e771ba5715a0ab370e6aa602398e5ec534
2015-06-26 09:51:35 -07:00
Seigo Nonaka
5c0d4d0a86 am 4ce47333: am 3178da6b: am 084b7a15: Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev
* commit '4ce47333d035728f7ab416e79dcfe3f7f3f6b1dd':
  Do not show selection action mode when the TextView is not shown.
2015-06-26 15:20:36 +00:00
Seigo Nonaka
4ce47333d0 am 3178da6b: am 084b7a15: Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev
* commit '3178da6b57a44e137e5f2b904709d35467a64f82':
  Do not show selection action mode when the TextView is not shown.
2015-06-26 15:09:33 +00:00
Seigo Nonaka
084b7a15c9 Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev 2015-06-26 05:10:35 +00:00
Doris Liu
60bd210074 am c9ea3834: am 8fc84d73: am 9206d6a0: Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev
* commit 'c9ea3834982d6a5ae6d6e0589d0cccc97337df88':
  Fix logic for whether beginning/end divider should be drawn
2015-06-25 23:08:32 +00:00
Doris Liu
c9ea383498 am 8fc84d73: am 9206d6a0: Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev
* commit '8fc84d733c992e361f542eddf3f0770be2ba27a1':
  Fix logic for whether beginning/end divider should be drawn
2015-06-25 22:55:28 +00:00
Alan Viverette
7f10d785c6 am 1ffeb7bf: am 77f9e5dc: am d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev
* commit '1ffeb7bf9e4f9ba61fd603851a867a13c6a519d5':
  Ensure partially-detached AbsListView children are removed
2015-06-25 22:54:51 +00:00
Doris Liu
9206d6a0e6 Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev 2015-06-25 22:43:14 +00:00
Alan Viverette
1ffeb7bf9e am 77f9e5dc: am d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev
* commit '77f9e5dcbbb02957a39d62971aa0a44acea2d7c0':
  Ensure partially-detached AbsListView children are removed
2015-06-25 22:42:07 +00:00
Doris Liu
ec6a4cdeda Fix logic for whether beginning/end divider should be drawn
Bug: 18945384
Change-Id: Ib8e785cb97d288e39a39b968bcb9c05410acbe34
2015-06-25 15:29:41 -07:00
Alan Viverette
8bbae343d2 Ensure partially-detached AbsListView children are removed
Bug: 22052083
Change-Id: If8c30c622206257587441bbd4f02c83eb3a62b60
2015-06-25 14:49:29 -07:00
Alan Viverette
b5f0f34db6 am a8127722: am 0049338b: am e71c6e38: Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev
* commit 'a812772235a4e72be2baf973defd1328668561a4':
  Constrain ListPopupWindow hint width spec to >= 0
2015-06-25 20:39:08 +00:00
Alan Viverette
c4fe77e330 am 113173d5: am 386dbb89: am fdf102e6: Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into mnc-dev
* commit '113173d5a4ad5c34fa778d881f0e30e4557b2e60':
  Constrain child width and height to >= 0 in FrameLayout.onMeasure()
2015-06-25 20:39:02 +00:00
Alan Viverette
a812772235 am 0049338b: am e71c6e38: Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev
* commit '0049338bf632ae1f602c6a2f888ec21af1895999':
  Constrain ListPopupWindow hint width spec to >= 0
2015-06-25 20:21:38 +00:00
Alan Viverette
113173d5a4 am 386dbb89: am fdf102e6: Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into mnc-dev
* commit '386dbb894577783235788786cf296f14e78f69ec':
  Constrain child width and height to >= 0 in FrameLayout.onMeasure()
2015-06-25 20:21:32 +00:00
Yohei Yukawa
e9311579da am 6a402ca6: am d408d293: am ab142f7f: Merge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev
* commit '6a402ca629185576cf774587da8079977833d25e':
  Handle back key to cancel text action mode in full-screen IME.
2015-06-25 20:16:27 +00:00
Jun Mukai
46c62b5d67 am 08b643dd: am cc45eeff: am 46f087c4: Merge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-dev
* commit '08b643ddcc9a2c2bdc4fb35e1e211b1beec68e1b':
  Apply thumbTint and trackTint styles to Switch from xml.
2015-06-25 20:15:52 +00:00
Yohei Yukawa
6a402ca629 am d408d293: am ab142f7f: Merge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev
* commit 'd408d293a516a3022c0f80d54a93a2f83288af46':
  Handle back key to cancel text action mode in full-screen IME.
2015-06-25 20:07:50 +00:00
Alan Viverette
e71c6e3832 Merge "Constrain ListPopupWindow hint width spec to >= 0" into mnc-dev 2015-06-25 20:00:56 +00:00
Jun Mukai
08b643ddcc am cc45eeff: am 46f087c4: Merge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-dev
* commit 'cc45eeff204235e769272f443194a5606bc13343':
  Apply thumbTint and trackTint styles to Switch from xml.
2015-06-25 20:00:21 +00:00
Alan Viverette
ba4332d9cf Constrain ListPopupWindow hint width spec to >= 0
Bug: 22092169
Change-Id: Ia05302cf8d167aae26eccbf53dd3fd21d09b326d
2015-06-25 13:00:03 -07:00
Alan Viverette
fdf102e62d Merge "Constrain child width and height to >= 0 in FrameLayout.onMeasure()" into mnc-dev 2015-06-25 19:57:03 +00:00
Yohei Yukawa
ab142f7f57 Merge "Handle back key to cancel text action mode in full-screen IME." into mnc-dev 2015-06-25 19:39:36 +00:00
Alan Viverette
39fd902bdb Constrain child width and height to >= 0 in FrameLayout.onMeasure()
Bug: 22093669
Change-Id: I55e8a0289f871b73ed07f3d73e8297786f9acac1
2015-06-25 12:24:27 -07:00
Jun Mukai
46f087c43b Merge "Apply thumbTint and trackTint styles to Switch from xml." into mnc-dev 2015-06-25 18:16:57 +00:00
Alan Viverette
615dd42267 am 81979f8c: am df6ca3cd: am efb49bd8: Merge "Constrain width and height to >= 0 in FastScroller layout" into mnc-dev
* commit '81979f8ceead658b2b99936e796813c7020b54ff':
  Constrain width and height to >= 0 in FastScroller layout
2015-06-25 17:41:06 +00:00