Commit Graph

14 Commits

Author SHA1 Message Date
Adrian Roos
d575d88d8e Revert "Direct Reply: Add back emoji button"
This reverts commit 713fed9226.

Test: Receive SMS, click Reply, check that IME has a send button.
Change-Id: I4632e656828743fbb3172b0331390983df232c68
Fixes: 33185290
2016-12-06 20:02:20 +00:00
Yohei Yukawa
c2166b87b0 Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText
This is a follow up CL to the previous CL [1], which specified
IME_FLAG_NO_EXTRACT_UI to RemoteEditText.

As discussed in Bug 7412307, specifying IME_FLAG_NO_EXTRACT_UI without
IME_FLAG_NO_FULLSCREEN has been known to cause some unexpected behaviors
across multiple components since at least ICS release.

Until Bug 7412307 is fixed, it would be safer to specify both flags when
we want to disable full-screen extracted UI mode.

 [1]: Ibb759a50ade279ad96598b25f99b169bc27a5b72
      0558bc5d6a

Bug: 30424228
Change-Id: I6dc80f8506df66d8f3f3f822c7823f53f7c56d1c
2016-08-25 16:41:34 -07:00
Adrian Roos
0356865dad Fix bug where RemoteInputView didn't reopen the IME
Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.

Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes: 30595718
2016-08-15 15:02:57 -07:00
Adrian Roos
713fed9226 Direct Reply: Add back emoji button
Bug: 29077108
Change-Id: Ibd1423465c5ec9aced4c4b77575a469f5e85f20d
2016-06-08 13:22:25 -07:00
Adrian Roos
5389a1778d Fix inline reply clobbering when narrowly missing send button
The RemoteInputView leaked through unhandled touches. To prevent this,
we now make sure the send button covers the entire area, and we catch
any touches that did not go to either the send button or the text box.

Bug: 27357771
Change-Id: Idc08d98dc7970b99c735f80088ea1eec0ec2d831
2016-04-20 13:58:33 -07:00
Adrian Roos
f18d70ba28 Merge "A11y: Content Description for Inline Reply" into nyc-dev 2016-03-17 19:57:15 +00:00
Adrian Roos
0bd8a4b29b Copy/Paste on RemoteInputView
Also fixes a bug where the remote input view stays focused
when the inline settings open.

Also prevents sharing from contexts that are not activities,
and prevents text processing when the device is not provisioned.

Bug: 27633360
Change-Id: I8b6e7f661bd873d88e7e2460d043c2aa5f849516
2016-03-17 18:43:55 +00:00
Adrian Roos
3225b49acb A11y: Content Description for Inline Reply
Bug: 27498293
Fixes: 27498293
Change-Id: Iba5670791089cf4d41e914981ecfee29776b70c9
2016-03-16 18:26:12 -07:00
Adrian Roos
0558bc5d6a Disable extract UI on remote input
Change-Id: Ibb759a50ade279ad96598b25f99b169bc27a5b72
2016-03-03 12:34:37 -08:00
Adrian Roos
abc1eb7f4b Set input type on RemoteInputView
Adds auto-capitalization, auto-correct and makes emoji
available on RemoteInputs.

Bug: 27200727
Change-Id: I13f3f24001ab8d3aeb9c3f52abc5a806d29086be
2016-02-23 22:31:47 +00:00
Adrian Roos
dc5b453516 Scroll to RemoteInputView
Scrolls to the RemoteInputView when it's beneath the IME.
Also fixes ViewRootImpl to take into account translation
when calculating the location of the focused rect.

Bug: 22452379
Change-Id: I9b9649edeabf9bcab8fc487fe92dec62f388737e
2016-01-13 15:40:42 +00:00
Adrian Roos
245aa87f3f Even more Inline Reply goodness
- Removed action icon processing
- Correct color for action label
- Change default notification color to Gray 600
- Handle different states in RemoteInputView
- Handle updates to Notifications with active remote input

Bug: 22452379
Change-Id: I30a0cd917dbf814f156ab5a106e018a245d99b67
2015-12-10 17:04:32 -08:00
Adrian Roos
fe84e1f436 Visuals for Inline Reply
Change-Id: I374a7ec82795f95fe2f3ce8c9e6b02c1479433af
2015-11-23 20:07:49 +00:00
Adrian Roos
497ab023f9 Add prototype of Inline Reply behind debug flag
The flag also extracts wear-only RemoteInput actions
to the normal set of actions under certain
circumstances to make this prototype actually useful.

Change-Id: Ide8bbef4e2ab82e2f152d32b143876ed309a8f21
2015-03-09 18:31:58 +01:00