216875 Commits

Author SHA1 Message Date
Ben Kwa
860f98467f Merge "Implement undo deletion." 2015-09-02 21:09:22 +00:00
Ben Kwa
304895a8bf Implement undo deletion.
Add a snackbar that pops up upon deleting files, giving the user a chance to
undo the operation.  If the user takes no action, the files are deleted.

This feature basically hides the files temporarily and pops up the said
snackbar, and if the user doesn' hit "undo", the files will be actually
deleted when the snackbar times out.

BUG=23518578

Change-Id: I181395aff967e62ca9287ed6fea2c7c8b8c09a71
2015-09-02 14:07:32 -07:00
Alan Viverette
102d45209c Actually fix docs build breakage this time
Change-Id: I980544b65342cc37cdc1cfcb589f32eae6b1b354
2015-09-02 16:50:42 -04:00
Filip Gruszczynski
dfef6b5d06 Merge "Unhide resizeableActivity attribute." 2015-09-02 20:37:15 +00:00
Alan Viverette
735eeb2cd2 Merge "Fix docs build breakage" 2015-09-02 20:18:46 +00:00
Alan Viverette
ed63b3a504 Fix docs build breakage
Change-Id: Ibea95d06443f5bf42bd62b649bd02a3b9b644910
2015-09-02 16:16:54 -04:00
Chris Craik
89935b38ca Merge "Add CanvasState tests" 2015-09-02 20:04:45 +00:00
Chris Craik
9557106c6f Add CanvasState tests
Change-Id: Idcd022f6e4015e074d8e73b4c116e0788fd4f045
2015-09-02 12:55:52 -07:00
Thanh Hai Mai
7e50eba9f7 Merge "Disable recents in car mode" 2015-09-02 19:52:25 +00:00
Oren Blasberg
c2dde0ae78 Merge "MenuPopupHelper: Factor out a MenuPopup interface." 2015-09-02 19:25:30 +00:00
Filip Gruszczynski
7d3350dd50 Unhide resizeableActivity attribute.
Change-Id: I9fd5e02d890abc3cc08885a3c1540a321220f234
2015-09-02 12:04:03 -07:00
Oren Blasberg
b23976efdd MenuPopupHelper: Factor out a MenuPopup interface.
Move much of the responsibility into implementations of this interface.
Delegate functionality to it where appropriate.
Provide a standard (non-cascading) implementation for this interface.

This CL should have NO BEHAVIOR CHANGES.

A follow-up CL will provide a cascading implementation, whereby a
config variable will enable submenus to open side by side with their
parent menus. That CL will be the first with functional/ actual behavior
changes.

Bug: 20127825
Change-Id: Iecac2d340dd8750ebe4e99162d447c9411f09227
2015-09-02 11:52:24 -07:00
Ying Wang
8a4a6153d6 Merge "Add android.support.v7.recyclerview resource" 2015-09-02 18:38:50 +00:00
Makoto Onuki
1ad0c3bf74 Merge "Add unit tests for file persisting in Onwers." 2015-09-02 18:23:02 +00:00
Ying Wang
94252de384 Add android.support.v7.recyclerview resource
Change-Id: I74b8eba475205fae5a9bb51f35d70daed37cc475
2015-09-02 11:17:04 -07:00
Chris Craik
a05ee0435e Merge "Add tests for text layout cache" 2015-09-02 17:35:12 +00:00
Daniel Estrada Alva
3dabfe593a Merge "Add required null-checks while handling network intents." 2015-09-02 17:33:47 +00:00
Alan Viverette
458e7589dd Merge "Add note that getContentDescription() should not be overridden" 2015-09-02 17:32:30 +00:00
Christopher Wiley
a2a3acbb27 am 1ed4f0f1: am d494b8c0: am f37947cb: Merge "aidl: Don\'t link librt on Mac"
* commit '1ed4f0f1080246dfee6df22221bb863b46c8ff7e':
  aidl: Don't link librt on Mac
2015-09-02 16:53:59 +00:00
Christopher Wiley
1ed4f0f108 am d494b8c0: am f37947cb: Merge "aidl: Don\'t link librt on Mac"
* commit 'd494b8c0cfaeedfb560f09355254c5fe397242be':
  aidl: Don't link librt on Mac
2015-09-02 16:43:08 +00:00
Christopher Wiley
d494b8c0cf am f37947cb: Merge "aidl: Don\'t link librt on Mac"
* commit 'f37947cb1a452b81f7b25cf961763c2ec3db5632':
  aidl: Don't link librt on Mac
2015-09-02 16:34:40 +00:00
Christopher Wiley
f37947cb1a Merge "aidl: Don't link librt on Mac" 2015-09-02 16:23:01 +00:00
Geoff Mendal
683675ea0e Merge "Import translations. DO NOT MERGE" 2015-09-02 16:22:24 +00:00
Geoff Mendal
986e396c1b Import translations. DO NOT MERGE
Change-Id: I9778a0a93da9856d5255233a94c2d0fd7b2007fa
Auto-generated-cl: translation import
2015-09-02 11:02:32 -05:00
Christopher Wiley
1ab54c12e3 aidl: Don't link librt on Mac
This fixes unittest build on Mac.

Change-Id: I5180f647d1b5b41f99c4d0423aaec9d05fee6355
2015-09-02 08:59:30 -07:00
Yasuhiro Matsuda
6d444185e5 resolved conflicts for merge of fcf9ab5a to master
Change-Id: I69ad6e525430c5c4fc3c274b8bf6ebf653716124
2015-09-03 00:12:30 +09:00
Yasuhiro Matsuda
fcf9ab5ab3 am ebf9465d: resolved conflicts for merge of ef57e5e0 to stage-aosp-master
* commit 'ebf9465d213336819b15e3b21d02afce64470d4f':
  Add trace code to system server.
2015-09-02 14:31:26 +00:00
Yasuhiro Matsuda
ebf9465d21 resolved conflicts for merge of ef57e5e0 to stage-aosp-master
Change-Id: I1c31b38936dc74619dea27f0d5eecab43360bb8c
2015-09-02 22:57:53 +09:00
Geoff Mendal
3d21421a44 Import translations. DO NOT MERGE
Change-Id: I691827434d1577df3df7f1c138872ca9ece099dc
Auto-generated-cl: translation import
2015-09-02 05:57:15 -07:00
Yasuhiro Matsuda
ef57e5e03b Merge "Add trace code to system server." 2015-09-02 12:54:23 +00:00
Nicolas Prévot
4c82053a76 Merge "Fix documentation of EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME" 2015-09-02 09:25:57 +00:00
Tomasz Mikolajewski
9d89dc40f1 Replace hardcoded numeric literals with those in MtpConstants.
Change-Id: Idbac906fefd6da060a88a256187f124359f2205c
2015-09-02 16:42:36 +09:00
Yury Khmel
9dbde7b09f SufaceComposition performance test.
Implement set of low-level tests to measure graphics performance.

Design and test result:
https://docs.google.com/a/google.com/document/d/1LYlUxjjmC2JBulAIIO8UVfvjeHWEALzgyUzqMMzwiGE/edit?usp=sharing

Change-Id: I48efbce5dcdac1b8caa2cd332777ce0b06d40ed2
2015-09-02 12:44:04 +09:00
Oren Blasberg
ddc453a342 Add a new submenu arrow for popup menu items.
This arrow is shown when the item corresponds to a submenu.

Bug: 20127825
Change-Id: Ida70d7707e00e1cda84ed6135333f09a511cd6c5
2015-09-01 16:38:06 -07:00
Chris Craik
4cbf5efdc2 Add tests for text layout cache
Change-Id: I605391de1e0772821dd2a5ad6f829aea1f63c25b
2015-09-01 16:33:15 -07:00
Thanh Hai Mai
6c009f5f08 Disable recents in car mode
BUG: 9946472
Change-Id: I1cfe1e0da3a6fa0c3b592d81e97d90dd17b528fb
2015-09-01 16:27:32 -07:00
Roozbeh Pournader
008d6d034e Merge "Add LocaleList support to Paint and TextView." 2015-09-01 21:14:11 +00:00
Roozbeh Pournader
a23748a9ff Add LocaleList support to Paint and TextView.
This keeps the existing single-locale APIs working (and adds
parameter annotations to them), while adding an API for setting and
getting the whole locale list.  At the moment, the implementation
ignores the actual data in the locale list except for its primary
locale.

Also add a method to LocaleList to return the system's default locale
list. (Currently a one-member list just containing the system
default locale.)

Change-Id: Icea9d164ddae51f50dd71e18b5d91c96f233b8b8
2015-09-01 14:12:40 -07:00
Oren Blasberg
6b49d30034 Merge "Pull out widget helpers into their own classes." 2015-09-01 21:11:04 +00:00
Alan Viverette
8056e41324 Merge "Reset class loader after updating instrumentation paths" 2015-09-01 21:00:15 +00:00
Alan Viverette
f31cced134 Merge "Refactor VectorDrawable to use VObject for paths and groups" 2015-09-01 20:54:07 +00:00
Chris Craik
3f349bb860 Merge "Add Dialog list, shadow, inflation tests" 2015-09-01 20:54:02 +00:00
Tim Kilbourn
62062cf0d1 Merge "Fix input device listener registration in InputManager" 2015-09-01 20:40:43 +00:00
Tim Kilbourn
9ddb864bab Fix input device listener registration in InputManager
If registerInputDeviceListener is called without enumerating input
devices, the InputManager will never register itself with the input
service.

Bug: 10415556
Change-Id: I0ae50bd1d4b8264ffe308b96e75c01cd47cf2387
2015-09-01 13:28:18 -07:00
Christopher Wiley
e89554a148 am 082fb1d8: am 96343073: am dd80a6cf: Merge "aidl: Stop using Bionic\'s test main"
* commit '082fb1d8cb70952cda4d5ee1e79af3ee4572271a':
  aidl: Stop using Bionic's test main
2015-09-01 20:21:36 +00:00
Christopher Wiley
082fb1d8cb am 96343073: am dd80a6cf: Merge "aidl: Stop using Bionic\'s test main"
* commit '96343073d63c72afa75057129abea4f0d4f8c103':
  aidl: Stop using Bionic's test main
2015-09-01 20:11:55 +00:00
Alan Viverette
d54e993924 Refactor VectorDrawable to use VObject for paths and groups
Cleans up collection typing and encapsulation. VObject encapsulates
inflation, theme application, and drawing. VFullPath is responsible
for rendering nodes to a Path.

Change-Id: Ic760576d8000c4844ec3cab1b4bbcecb4fa1b760
2015-09-01 16:10:03 -04:00
Alan Viverette
5bffbf2428 Merge "Keep local run queue in View to avoid posting to wrong thread" 2015-09-01 20:01:59 +00:00
Christopher Wiley
96343073d6 am dd80a6cf: Merge "aidl: Stop using Bionic\'s test main"
* commit 'dd80a6cf37799b41ae07c60137d312c5ea2db961':
  aidl: Stop using Bionic's test main
2015-09-01 20:01:30 +00:00
Alan Viverette
bea0c7daa6 Keep local run queue in View to avoid posting to wrong thread
Previously any call to post() while a view was detached would stash the
runnable on a thread-local RunQueue. If the post() call happened off the
UI thread to which the view would later be attached, this would result
in the runnable either failing to run or running on some other UI thread.

Bug: 22828132
Change-Id: I5289ee91ea4b56c45f003a387a9f7f0e6dc050f9
2015-09-01 16:00:20 -04:00