Clara Bayarri
399b51397b
Floating toolbars: Encapsulate StandaloneActionMode view creation.
...
This CL defines a new interface to be used by ActionModeWrapper.
This allows each client to inject a different primary ActionMode to
the wrapper and keep view creation code next to ActionMode
creation.
The interface method is only called when the wrapper actually
knows that will be the used type, avoinding unnecessary view
creations.
Things pending after this CL:
- Correct handling of ActionModes created by
callback.onWindowStartingActionMode(). This includes all current usages
in an existing ActionBar, as it is handled by Activity. In the current
state, we do not intercept these ActionModes and hence cannot change the
representation.
- Representing the floating type
- Supporting two ActionModes in parallel in DecorView, one of each type
Change-Id: Ic38e209877c3876161d8dd56902e25b51fbe40b6
2015-02-19 22:42:20 +00:00
Clara Bayarri
ed2a54cfd3
Floating Toolbars: Wrap the ActionMode creation in DecorView
...
This change will allow us to create ActionMode representations on the
fly after onCreateActionMode by using the Decorator pattern. The new
ActionModeWrapper will be responsible for the creating the
appropriate ActionMode depending on the type chosen by the client,
and setting it up.
Things pending that are NOT addressed by this CL:
- ActionModes created by callback.onWindowStartingActionMode(). This
includes all current usages in an existing ActionBar, as it is
handled by Activity. This requires some additional refactoring.
- Representing the floating type
- Moving the view creation code specific to StandaloneActionMode
from DecorView to ActionModeWrapper, decoupling DecorView from
StandaloneActionMode completely
- Supporting two ActionModes in parallel in DecorView, one of each type
Change-Id: I1a8db711f53b771eac74f0e6496106acf1ca2727
2015-02-19 22:40:31 +00:00
Bill Yi
4fecab570d
Merge commit '32acf753e8989766f67fd5300d3eb467f707cc79' into HEAD
2015-02-19 14:31:36 -08:00
kmccormick
96fb6d811f
am f077f476: am c808f6a6: am a8dbdb1c: am bb1c03e9: am a4fce24d: am e16f4393: am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.
...
* commit 'f077f476898e16623df4cb39d4cf0739c5e3efd2':
Doc Update: fixed unescaped angle brackets in code snippets.
2015-02-19 22:30:51 +00:00
kmccormick
f077f47689
am c808f6a6: am a8dbdb1c: am bb1c03e9: am a4fce24d: am e16f4393: am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.
...
* commit 'c808f6a6a24a979b1301692352a5649767328f2a':
Doc Update: fixed unescaped angle brackets in code snippets.
2015-02-19 22:24:01 +00:00
kmccormick
c808f6a6a2
am a8dbdb1c: am bb1c03e9: am a4fce24d: am e16f4393: am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.
...
* commit 'a8dbdb1c5a019ac6fbcd8c20d7837d80fc9e41b7':
Doc Update: fixed unescaped angle brackets in code snippets.
2015-02-19 22:16:52 +00:00
kmccormick
a8dbdb1c5a
am bb1c03e9: am a4fce24d: am e16f4393: am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.
...
* commit 'bb1c03e9500e2a13044925c78a11d3c48a3a47ef':
Doc Update: fixed unescaped angle brackets in code snippets.
2015-02-19 22:11:29 +00:00
kmccormick
bb1c03e950
am a4fce24d: am e16f4393: am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.
...
* commit 'a4fce24d6652e3869f70ca9f549ef45661608114':
Doc Update: fixed unescaped angle brackets in code snippets.
2015-02-19 22:04:51 +00:00
kmccormick
a4fce24d66
am e16f4393: am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.
...
* commit 'e16f439310b784bf46d033634e4a9e59a6a35c98':
Doc Update: fixed unescaped angle brackets in code snippets.
2015-02-19 21:58:53 +00:00
kmccormick
e16f439310
am 506cba8b: Doc Update: fixed unescaped angle brackets in code snippets.
...
* commit '506cba8b51474e5dc5cdcf381d0a25dc118c2aca':
Doc Update: fixed unescaped angle brackets in code snippets.
2015-02-19 21:51:30 +00:00
Andrew Lee
7870433c65
Merge "Add intent for configuring RespondViaSms."
2015-02-19 21:27:08 +00:00
Rich Slogar
56725501fe
am 925be07b: am 87ea3f79: am cdd5ebec: am 7319ea27: am cc883a1f: am 1e0face2: am b87aa6cb: Merge "docs: mipmap link updates" into lmp-docs
...
* commit '925be07b26d10a902507931a4371335cb6cf44a9':
docs: mipmap link updates
2015-02-19 20:53:56 +00:00
Rich Slogar
c315f08a3d
am d4eadffd: am 6a9e48ac: am 3a0483e2: am 73cd35f2: am f213a8c9: am 14bb9188: am f4f059d4: docs: studio 1.1 downloads
...
* commit 'd4eadffd991e2e25cc666e8cc570b7f20eb3e120':
docs: studio 1.1 downloads
2015-02-19 20:27:39 +00:00
Narayan Kamath
01b50bb06b
am 907bcd96: am 644ebc88: am 0a7936b7: Merge "Fix a couple of issues with system_server forking."
...
* commit '907bcd96d7f54adaf3b3df6f476e09c636c646cf':
Fix a couple of issues with system_server forking.
2015-02-19 20:27:11 +00:00
Jim Miller
ec3f3cdfb2
am 9853ae6b: am 3f711044: am 9c6c8df4: am 3dfd6389: Merge "Fix accessibility focus bug in statusbar" into lmp-mr1-dev
...
* commit '9853ae6b88eac952733d01f629e61e0210768c61':
Fix accessibility focus bug in statusbar
2015-02-19 20:26:48 +00:00
Winson Chung
4e3409718f
Merge "Fixing Recents regressions."
2015-02-19 20:25:12 +00:00
kmccormick
506cba8b51
Doc Update: fixed unescaped angle brackets in code snippets.
...
Change-Id: Ie265dd58fb3a5fcffe955992dea7a1f9417a27d7
2015-02-19 12:17:18 -08:00
Andrew Lee
866080f28a
Add intent for configuring RespondViaSms.
...
Bug: 19372734
Change-Id: I8dcead3281b42d38c2b2f40aa70ad8fbf5b2d8fb
2015-02-19 12:05:33 -08:00
Rich Slogar
925be07b26
am 87ea3f79: am cdd5ebec: am 7319ea27: am cc883a1f: am 1e0face2: am b87aa6cb: Merge "docs: mipmap link updates" into lmp-docs
...
* commit '87ea3f796cd8c7edff41bbfc7660e837a4366333':
docs: mipmap link updates
2015-02-19 19:32:52 +00:00
Rich Slogar
87ea3f796c
am cdd5ebec: am 7319ea27: am cc883a1f: am 1e0face2: am b87aa6cb: Merge "docs: mipmap link updates" into lmp-docs
...
* commit 'cdd5ebec38fbc246e446b27d50c27456416ab95c':
docs: mipmap link updates
2015-02-19 19:26:46 +00:00
Rich Slogar
cdd5ebec38
am 7319ea27: am cc883a1f: am 1e0face2: am b87aa6cb: Merge "docs: mipmap link updates" into lmp-docs
...
* commit '7319ea278cf96c12b3945eee0c6387244887c32a':
docs: mipmap link updates
2015-02-19 19:20:32 +00:00
Rich Slogar
7319ea278c
am cc883a1f: am 1e0face2: am b87aa6cb: Merge "docs: mipmap link updates" into lmp-docs
...
* commit 'cc883a1ff3d46ffc3cb59915d6d292f91bd984a2':
docs: mipmap link updates
2015-02-19 19:12:48 +00:00
Rich Slogar
cc883a1ff3
am 1e0face2: am b87aa6cb: Merge "docs: mipmap link updates" into lmp-docs
...
* commit '1e0face2f77ddc7d9eb8fe6708386bfbfc167ec9':
docs: mipmap link updates
2015-02-19 19:06:32 +00:00
Rich Slogar
1e0face2f7
am b87aa6cb: Merge "docs: mipmap link updates" into lmp-docs
...
* commit 'b87aa6cb96341ab32d21f5340f1064fcaa607920':
docs: mipmap link updates
2015-02-19 18:59:21 +00:00
Wale Ogunwale
aa8a9b711d
Fixed issue with focused stack frame not displaying in multi-window.
...
Problem was caused by getting the canvas from the surface while
within a transaction.
Also, cleaned up code a little so it is clearer what is happening.
Bug: 19249857
Change-Id: I9ff1f612bc8a58a0e0c7939dbb400d083d8a7039
2015-02-19 10:57:02 -08:00
Rich Slogar
b87aa6cb96
Merge "docs: mipmap link updates" into lmp-docs
2015-02-19 18:55:26 +00:00
Rich Slogar
0f44b94d5d
docs: mipmap link updates
...
Change-Id: I345d4dc29e094a6835e04eec237d1b8b8a540eaa
2015-02-19 10:48:37 -08:00
James Cook
c20f54aff6
Merge "Add basic support for Ctrl-Z to editable TextViews"
2015-02-19 18:36:19 +00:00
Scott Kennedy
6cd132fef2
Annotate the parameter in TextUtils#isEmpty() as @Nullable
...
Change-Id: Iaccf7f568952399d5eb48c15a5428317dd75052a
2015-02-19 10:36:12 -08:00
James Cook
9201e79783
Add basic support for Ctrl-Z to editable TextViews
...
* Add an UndoManager to the Editor for each editable TextView
* Record operations as being owned by that Editor
* Parcel the undo state
* Wire hardware keyboard shortcuts Ctrl-Z for undo and Ctrl-Shift-Z
for redo into TextView shortcut handling.
* Expose IDs for "undo" and "redo" for symmetry with cut/copy/paste.
Tests in CTS TextViewTest will land separately in ag/635321
Bug: 19332904
Change-Id: Ibd23843f86b4cd556751faa0b3ad1f35d6d49785
2015-02-19 10:32:14 -08:00
John Spurlock
0a7269bbaf
Merge "AudioAttributes: introduce new flags to bypass audio restrictions."
2015-02-19 18:24:24 +00:00
John Spurlock
0dfc90157d
Merge "AudioService: Fire volume-changed intents for all streams."
2015-02-19 17:56:40 +00:00
John Spurlock
c16442c515
Merge "AudioService: Fire the mute-changed intent for all changes."
2015-02-19 17:50:03 +00:00
Rich Slogar
d4eadffd99
am 6a9e48ac: am 3a0483e2: am 73cd35f2: am f213a8c9: am 14bb9188: am f4f059d4: docs: studio 1.1 downloads
...
* commit '6a9e48ace0253bbeeb389f7ec9d0d27c42674444':
docs: studio 1.1 downloads
2015-02-19 17:27:52 +00:00
Adrian Roos
4a00263191
Fix change IME content description
...
Bug: 19434845
Change-Id: I28be1d8efb61d47abdce168b07a0846056eb650d
2015-02-19 18:21:52 +01:00
Rich Slogar
6a9e48ace0
am 3a0483e2: am 73cd35f2: am f213a8c9: am 14bb9188: am f4f059d4: docs: studio 1.1 downloads
...
* commit '3a0483e2c12ca3bc97f050f03b674fca65d57b90':
docs: studio 1.1 downloads
2015-02-19 17:21:11 +00:00
Rich Slogar
3a0483e2c1
am 73cd35f2: am f213a8c9: am 14bb9188: am f4f059d4: docs: studio 1.1 downloads
...
* commit '73cd35f253e7c2efe8bef45d7eb7948011fdcae6':
docs: studio 1.1 downloads
2015-02-19 17:11:58 +00:00
John Spurlock
f63860cd80
AudioService: Fire volume-changed intents for all streams.
...
Allow observing all stream changed events, including streams
that are bound to another stream via aliasing.
Change-Id: I2c1717ce632c4cb045c06785cb1ecc531a221ff8
2015-02-19 12:10:01 -05:00
Rich Slogar
73cd35f253
am f213a8c9: am 14bb9188: am f4f059d4: docs: studio 1.1 downloads
...
* commit 'f213a8c980109f9be940236f19a5b79b9be2b007':
docs: studio 1.1 downloads
2015-02-19 17:05:34 +00:00
John Spurlock
22b9ee1298
AudioService: Fire the mute-changed intent for all changes.
...
Not merely those coming from explicit mute adjustments.
Change-Id: I79ad7e5800eb0602fd10d966441973800a1c318b
2015-02-19 12:02:02 -05:00
John Spurlock
d3cfc504d5
Merge "AudioService: easier forced camera sound debugging."
2015-02-19 16:59:38 +00:00
Rich Slogar
f213a8c980
am 14bb9188: am f4f059d4: docs: studio 1.1 downloads
...
* commit '14bb9188bfd001bbb96749e51b8d5edc242c89e7':
docs: studio 1.1 downloads
2015-02-19 16:58:49 +00:00
Rich Slogar
14bb9188bf
am f4f059d4: docs: studio 1.1 downloads
...
* commit 'f4f059d423add55516a8ea4bb1522f1329039e47':
docs: studio 1.1 downloads
2015-02-19 16:52:35 +00:00
Rich Slogar
f4f059d423
docs: studio 1.1 downloads
...
Change-Id: I663a91baba3b0a1e51aa8e3dbc991f067d0c255c
2015-02-19 08:45:23 -08:00
John Spurlock
5e783732b6
AudioService: easier forced camera sound debugging.
...
- Add mCameraSoundForced to the service state dumpsys output.
- Add a sysprop to opt-in to this behavior for testing. Does
not replace the configuration check.
- Centralize the configuration read in one place.
Change-Id: I83f84394b616f0788029412233ae1412b3cdedf2
2015-02-19 10:34:41 -05:00
Nicolas Prevot
3558752ec7
Merge "Improve the documentation of DISALLOW_CONFIG_BLUETOOTH."
2015-02-19 11:19:32 +00:00
Narayan Kamath
907bcd96d7
am 644ebc88: am 0a7936b7: Merge "Fix a couple of issues with system_server forking."
...
* commit '644ebc8800ad5e2fa1c239bd65a2cf6a88e6556b':
Fix a couple of issues with system_server forking.
2015-02-19 10:30:46 +00:00
Narayan Kamath
644ebc8800
am 0a7936b7: Merge "Fix a couple of issues with system_server forking."
...
* commit '0a7936b7c54fb7dff0406a40452cb0242f66a067':
Fix a couple of issues with system_server forking.
2015-02-19 10:23:57 +00:00
Narayan Kamath
0a7936b7c5
Merge "Fix a couple of issues with system_server forking."
2015-02-19 10:17:32 +00:00
Jim Miller
9853ae6b88
am 3f711044: am 9c6c8df4: am 3dfd6389: Merge "Fix accessibility focus bug in statusbar" into lmp-mr1-dev
...
* commit '3f711044a4a6cefa006a63052d785d3e1fb37576':
Fix accessibility focus bug in statusbar
2015-02-19 03:30:53 +00:00