Commit Graph

8479 Commits

Author SHA1 Message Date
Yohei Yukawa
045de3f08c Merge \\"API Rename: IC#inputContent to IC#commitContent.\\" into nyc-mr1-dev am: 01e7c10d37
am: 0d7dcf7bc3

Change-Id: I5c4209a79e7426192da082100ac2a7517de36b81
2016-06-17 23:38:28 +00:00
Yohei Yukawa
0d7dcf7bc3 Merge \"API Rename: IC#inputContent to IC#commitContent.\" into nyc-mr1-dev
am: 01e7c10d37

Change-Id: I5aa903ee453a3945d3f2710d2b6734443fcbd972
2016-06-17 23:31:12 +00:00
Yohei Yukawa
01e7c10d37 Merge "API Rename: IC#inputContent to IC#commitContent." into nyc-mr1-dev 2016-06-17 23:23:59 +00:00
John Reck
29d562fa01 Merge \\"Move SurfaceView offscreen if the app stops drawing it\\" into nyc-mr1-dev am: e66dedf35b
am: 61513724f0

Change-Id: Ic02576c35007d6aaaa8807c529ab54717d2740a7
2016-06-17 21:51:20 +00:00
Chong Zhang
a87c74d7e1 Merge \\\"Do a forceLayout if pending insets is changed after relayout window\\\" into nyc-dev am: 2756d0707f am: dba235d91a
am: 788f4309ac

Change-Id: I3de76ea399768aa9f9cc504bdcb25208e60c579d
2016-06-17 21:48:58 +00:00
Yorke Lee
0933cf3f15 Merge \\\"Limit global drags to apps targeting SDK 24 and above\\\" into nyc-dev am: f33af2285b am: 3d80871032
am: 11e3bf5d30

Change-Id: I6a99d04fd3f9fb229f532838350313169cec502a
2016-06-17 20:42:14 +00:00
John Reck
61513724f0 Merge \"Move SurfaceView offscreen if the app stops drawing it\" into nyc-mr1-dev
am: e66dedf35b

Change-Id: I3d070161a4bdacd0cdcf2e61f026f9fffe15890e
2016-06-17 20:20:38 +00:00
John Reck
e66dedf35b Merge "Move SurfaceView offscreen if the app stops drawing it" into nyc-mr1-dev 2016-06-17 20:13:20 +00:00
Chong Zhang
788f4309ac Merge \\"Do a forceLayout if pending insets is changed after relayout window\\" into nyc-dev am: 2756d0707f
am: dba235d91a

Change-Id: I1a9758b62322aecaea79c879f82b1793bae67061
2016-06-17 18:32:31 +00:00
Chong Zhang
dba235d91a Merge \"Do a forceLayout if pending insets is changed after relayout window\" into nyc-dev
am: 2756d0707f

Change-Id: Ia95dd424c118b962a9a10ac074d508758b49ea90
2016-06-17 18:26:45 +00:00
John Reck
aa6e84f21d Move SurfaceView offscreen if the app stops drawing it
Bug: 29360411
Change-Id: Iefb9d7a9dafb34a2b4f79130a2a8b5a7cf7de906
2016-06-17 10:23:54 -07:00
Yohei Yukawa
adebb52588 API Rename: IC#inputContent to IC#commitContent.
As shown in below, we have already used commit* naming convention in
InputConnection.

 - InputConnection#commitCompletion(CompletionInfo);
 - InputConnection#commitCorrection(CorrectionInfo);
 - InputConnection#commitText(CharSequence, int);

Hence renaming IC#inputContent() to IC#commitContent() would make the
new method more consistent.

Bug: 29450024
Change-Id: Ica1ba3154795c1bf44e140dfe639b299f83cd8af
2016-06-17 10:10:39 -07:00
Chong Zhang
71f2c31469 Do a forceLayout if pending insets is changed after relayout window
We might have a pending MSG_RESIZED_REPORT, but if it's executed after
relayoutWindow, mPendingInsets will already be the new value and it'll
not forceLayout. So we need to forceLayout here to make sure the measure
cache is cleared.

bug: 29391054

Change-Id: I73793b1427b89e75700369ec3b37053a6a732f0d
2016-06-17 01:11:49 +00:00
Yorke Lee
11e3bf5d30 Merge \\"Limit global drags to apps targeting SDK 24 and above\\" into nyc-dev am: f33af2285b
am: 3d80871032

Change-Id: I2f7745317f6ae0932d7c16469b500847e465a912
2016-06-16 21:27:50 +00:00
Yorke Lee
3d80871032 Merge \"Limit global drags to apps targeting SDK 24 and above\" into nyc-dev
am: f33af2285b

Change-Id: I539f39cfea50f34dade2141829b21d422809b09f
2016-06-16 21:22:22 +00:00
Yorke Lee
599cf6bc4a Merge \"Limit global drags to apps targeting SDK 24 and above\" into nyc-dev
am: f33af2285b

Change-Id: If4d9abfb81929f8366fc9acc7978816d55117fbc
2016-06-16 21:21:57 +00:00
Yorke Lee
0e85247195 Limit global drags to apps targeting SDK 24 and above
Bug: 29127791

Change-Id: Ib5f85a207bdb79eeac0418fda78e452d225761bc
2016-06-16 09:35:40 -07:00
Selim Cinek
e6ec63ffa6 Merge \\\"Added dismiss, expand, and collapse accessibility actions\\\" into nyc-dev am: c1720dce1b am: 0630d92064
am: 7a0051b68f

Change-Id: Ia1052c236a6dd85e694992db4f7515bab6c78764
2016-06-16 04:35:48 +00:00
Selim Cinek
7a0051b68f Merge \\"Added dismiss, expand, and collapse accessibility actions\\" into nyc-dev am: c1720dce1b
am: 0630d92064

Change-Id: I01afc02fe75b0ae7223e9deba6355ed00961faaa
2016-06-16 04:30:32 +00:00
Selim Cinek
0630d92064 Merge \"Added dismiss, expand, and collapse accessibility actions\" into nyc-dev
am: c1720dce1b

Change-Id: I25bd41f1307233bba14067952086ca7be3118505
2016-06-16 04:25:26 +00:00
Selim Cinek
447ee99755 Merge \"Added dismiss, expand, and collapse accessibility actions\" into nyc-dev
am: c1720dce1b

Change-Id: I14674254eb79fef58e4dcb1a8d7ecaab24831691
2016-06-16 04:25:26 +00:00
Selim Cinek
e9bad242f3 Added dismiss, expand, and collapse accessibility actions
Fixes: 20343017
Fixes: 29368014
Change-Id: Ib571242aac04c67aea2f3c3ce76139eaedc1f3f1
2016-06-15 16:30:09 -07:00
Yohei Yukawa
e3d3740f1c Merge \\"Add InputConnection#insertContent().\\" into nyc-mr1-dev am: 03f759e87e
am: 176642ec2c

Change-Id: I96395b6e883aa7dd462d1281b6859afa7b324937
2016-06-14 00:52:36 +00:00
Yohei Yukawa
176642ec2c Merge \"Add InputConnection#insertContent().\" into nyc-mr1-dev
am: 03f759e87e

Change-Id: I7ed048eb980a5b6fa5379756cf4679710c8ce358
2016-06-14 00:38:47 +00:00
Yohei Yukawa
03f759e87e Merge "Add InputConnection#insertContent()." into nyc-mr1-dev 2016-06-14 00:26:39 +00:00
Yorke Lee
c516cde56d Merge \\\"Check for detached view in drag-related APIs\\\" into nyc-dev am: cdc9d7bed9 am: 71ab239765
am: 23b3de425a

Change-Id: I01b319fc237737ee1f5c323795bc6dc7228a56cc
2016-06-13 22:36:04 +00:00
Yorke Lee
23b3de425a Merge \\"Check for detached view in drag-related APIs\\" into nyc-dev am: cdc9d7bed9
am: 71ab239765

Change-Id: Ie46aaaa63dc9fe9232f6c9fe661b88765f1dd7c8
2016-06-13 22:27:20 +00:00
Yorke Lee
71ab239765 Merge \"Check for detached view in drag-related APIs\" into nyc-dev
am: cdc9d7bed9

Change-Id: I95d551726913c95d2806fe22ee93fcc24d1862c2
2016-06-13 22:14:24 +00:00
Yorke Lee
fead52ebf4 Merge \"Check for detached view in drag-related APIs\" into nyc-dev
am: cdc9d7bed9

Change-Id: Id1c2228d081e63e86278072654c4c611bdb10d1a
2016-06-13 20:15:15 +00:00
TreeHugger Robot
cdc9d7bed9 Merge "Check for detached view in drag-related APIs" into nyc-dev 2016-06-13 20:09:43 +00:00
Yorke Lee
07452c37ab Check for detached view in drag-related APIs
Bug: 29253539
Change-Id: I26285404ee15bb17e87ac23c67f7c3c6aaa2d968
2016-06-13 11:32:23 -07:00
Yohei Yukawa
152944f490 Add InputConnection#insertContent().
Providing an official protocol for IMEs to insert an image to the
application is something that has been requested from many IME
developers to Android OS.  With this CL, IMEs are able to ask
applications to insert a content including image files as follows.

 1. An application that opts in to this protocol specifies a list of
    supported content MIME types in EditorInfo#contentMimeTypes.
 2. When an IME is actively interacting with such an application, the
    IME can call InputConnection#insertContent() with a InputContentInfo
    that contains content URI, metadata (ClipDescription), and an
    optional link URI.
 3. The application can read the stream data from the given content URI
    to insert the content into somewhere in the application.

Detailed design background can be found in the JavaDoc of
InputConnection#insertContent().

Bug: 22830793
Change-Id: Iaadf934a997ffcd6000a516cc3c1873db56e60ad
2016-06-10 19:04:34 -07:00
TreeHugger Robot
a2f61763d5 Merge "Docs: add missing default value to transition overlap." 2016-06-10 22:52:01 +00:00
George Mount
5d52d31693 Docs: add missing default value to transition overlap.
Bug 27263443

Change-Id: If72d444cb841060cca4b06478992916607b18230
2016-06-10 14:16:45 -07:00
John Reck
fdf4496658 Merge \\\"Don\\\'t call surfaceCreated for just changed surfaces\\\" into nyc-dev am: e4b1fb94e3 am: 93ff5124c6
am: b3b6d96ed4

Change-Id: I752fa4c18e6ebf3eacf2e1094394d761727ac86d
2016-06-10 18:13:19 +00:00
John Reck
b3b6d96ed4 Merge \\"Don\\'t call surfaceCreated for just changed surfaces\\" into nyc-dev am: e4b1fb94e3
am: 93ff5124c6

Change-Id: I7b53bc90c0f4edbf1482924d02fd6361884a7860
2016-06-10 18:07:11 +00:00
John Reck
b8dac11e5a Merge \"Don\'t call surfaceCreated for just changed surfaces\" into nyc-dev
am: e4b1fb94e3

Change-Id: I488da6f9f779ddf64beb6ac12d1481d2bfd69821
2016-06-10 18:02:57 +00:00
John Reck
93ff5124c6 Merge \"Don\'t call surfaceCreated for just changed surfaces\" into nyc-dev
am: e4b1fb94e3

Change-Id: I896ffb151a1b6625fe6b6c937dac9b54f1d5d252
2016-06-10 18:02:20 +00:00
John Reck
e4b1fb94e3 Merge "Don't call surfaceCreated for just changed surfaces" into nyc-dev 2016-06-10 17:46:54 +00:00
Phil Weaver
d388b6f218 Merge \\\"Improve accessibility window title behavior\\\" into nyc-dev am: f8af34365c am: d567ae1b87
am: 4b82db9d9c

Change-Id: I5c4b6947f7645dd9ec660635f4d24d436f2e6ef2
2016-06-10 00:10:48 +00:00
Phil Weaver
4b82db9d9c Merge \\"Improve accessibility window title behavior\\" into nyc-dev am: f8af34365c
am: d567ae1b87

Change-Id: I7ceecfc27a8980dddf18f0aea15799ef816ee0cf
2016-06-09 23:49:20 +00:00
Phil Weaver
e2b3248823 Merge \"Improve accessibility window title behavior\" into nyc-dev
am: f8af34365c

Change-Id: Id9d2de6b82f8e8062c0d66d759440b574b113a02
2016-06-09 23:42:47 +00:00
Phil Weaver
d567ae1b87 Merge \"Improve accessibility window title behavior\" into nyc-dev
am: f8af34365c

Change-Id: I620cb3dc270a8ad409ec1760cedd778821fd8d98
2016-06-09 23:41:45 +00:00
Phil Weaver
f8af34365c Merge "Improve accessibility window title behavior" into nyc-dev 2016-06-09 23:32:10 +00:00
John Reck
208c47cfb0 Don't call surfaceCreated for just changed surfaces
Fixes: 29223302

If the surface only changed we want to just call onSurfaceChanged,
not onSurfaceCreated.

Change-Id: I65c8b210a7e34eaa2862020335ee7f6ef56eeac2
2016-06-09 16:26:21 -07:00
Doris Liu
09087eaac9 Merge \"Handle hidden RT VectorDrawable animators\" into nyc-mr1-dev
am: 3f6a95283a

Change-Id: I909f3c33690fcb932f1b751def1837d82adb28f4
2016-06-09 21:44:01 +00:00
Doris Liu
3f6a95283a Merge "Handle hidden RT VectorDrawable animators" into nyc-mr1-dev 2016-06-09 21:30:03 +00:00
Phil Weaver
155edc693e Improve accessibility window title behavior
Un-reverts ag/1057448, but uses a version of Resources#getText
that returns null rather than throw an exception when no title
is available. This is the same call made before, so this change
should be safer.

Bug: 28744278
Change-Id: I8c123f4f6d74f796ab9e8ffcf955aaf881770da1
2016-06-09 13:45:46 -07:00
Robert Carr
5c4b14bb08 Merge \"Merge \\\"PiP animation: Move window with resize when ending animation.\\\" into nyc-dev am: 4624d687f7 am: c28647084e\" into nyc-mr1-dev-plus-aosp
am: 797f91b6ba

Change-Id: Iad874228fa8c90df5c2c5a8668880e695729d957
2016-06-09 19:40:38 +00:00
Robert Carr
446567d6c9 Merge \\"PiP animation: Move window with resize when ending animation.\\" into nyc-dev am: 4624d687f7
am: c28647084e

Change-Id: I8256a9db87dbd7ebc897422393f6743c4d4a5419
2016-06-09 19:36:56 +00:00