20121 Commits

Author SHA1 Message Date
Filip Gruszczynski
6b614433f6 Merge "Freeform to recents app transition." 2015-10-28 23:34:57 +00:00
Winson Chung
7f1a576f59 Merge "Moving static RecentsConfiguration instance to Recents." 2015-10-28 23:00:04 +00:00
Winson
53ec42cb17 Moving static RecentsConfiguration instance to Recents.
- Matches the other static instances

Change-Id: I25bf474ceb0b8d6cc52c22e83273ffb2fb64cc9d
2015-10-28 15:58:10 -07:00
Winson Chung
5dd803c938 Merge "Fixing touch handling on resized tasks." 2015-10-28 22:34:37 +00:00
Winson
23afcae844 Fixing touch handling on resized tasks.
- Simplify touch handling just by keeping everything in screen space, 
  and just map to the curve proportionally to the arc length.  This
  makes the movement much closer to that of other lists, and prevents 
  the issue of touches at the top of the stack scrolling along the 
  curve faster than at other places (and when Recents is resized, this
  becomes more of an issue).
- Add basic functionality (disabled) for freeform task workspaces.


Change-Id: Ib3a8ce2caa1437cfc09eaa5b36aff310e29e35f5
2015-10-28 14:55:47 -07:00
Jason Monk
7917546d0e Merge "Some header layout cleanup and alignment" 2015-10-28 19:13:58 +00:00
Winson Chung
91068127c5 Merge "Re-enabling docking on left/right on tablets in landscape." 2015-10-28 16:50:46 +00:00
Winson
e92440ee5f Re-enabling docking on left/right on tablets in landscape.
Change-Id: I3b02f5bbd653ea79a0d148e5454bd5755c85aba7
2015-10-28 09:48:47 -07:00
Filip Gruszczynski
d64ef3ef33 Freeform to recents app transition.
Bug: 24913782

Change-Id: I54fcbe38c51e5d75fa5ad2cb38de89d371b47bed
2015-10-28 09:39:45 -07:00
Geoff Mendal
d0d316049d Merge "Import translations. DO NOT MERGE" 2015-10-28 13:03:57 +00:00
Geoff Mendal
52dfbe95c1 Import translations. DO NOT MERGE
Change-Id: I9cadfa4b07bca2d001bef84944b1b7a226b2d3aa
Auto-generated-cl: translation import
2015-10-28 06:02:30 -07:00
Geoff Mendal
78210c34ab Import translations. DO NOT MERGE
Change-Id: I9971ad4dba7f72bb883288a49020eb115e2fb34f
Auto-generated-cl: translation import
2015-10-28 05:38:36 -07:00
Winson
38c96cb834 Fixing build breakage.
Change-Id: I0a0ef36b9724fc2e51c545a405b23d261cc85c4f
2015-10-27 18:25:02 -07:00
Filip Gruszczynski
ab253faa47 Merge "Fix wrong task bounds when docking from recents." 2015-10-28 00:01:28 +00:00
Daichi Hirono
decb832094 Merge "Show MTP roots at the bottom of root list." 2015-10-27 22:46:51 +00:00
Winson Chung
0f6cb2d7d1 Merge "Passing stack id with RunningTaskInfo." 2015-10-27 21:42:57 +00:00
Winson
5510f6c1b9 Passing stack id with RunningTaskInfo.
- This allows us to remove an extraneous system call when starting 
  overview, and also allows us to easily check for freeform windows.

Change-Id: I4449dad7bf870f528f671f6e7cb1f9b5f1bc9c1c
2015-10-27 21:42:37 +00:00
Julia Reynolds
7fef1888d1 Merge "Stop populating RemoteViews in Notifications." 2015-10-27 20:36:31 +00:00
Winson
463ba436d2 Fixing minor regression with system bar scrims.
Change-Id: I0cf508c26b3a71c604a3061b05abb47cac5a9bb2
2015-10-27 19:51:47 +00:00
Jason Monk
c133d26b38 Some header layout cleanup and alignment
Change-Id: I3fec1708fb410f8f2f75af39b73646d97a39ff34
2015-10-27 19:05:54 +00:00
Winson Chung
b6489e11da Merge "Fixing regression with launch target task." 2015-10-27 18:41:20 +00:00
Winson
0983e02b92 Fixing regression with launch target task.
Change-Id: I7e3ed55081a90309290aba290b4acbadb172283d
2015-10-27 11:39:44 -07:00
Filip Gruszczynski
90186c6d6e Fix wrong task bounds when docking from recents.
When docking from recents we would move the task to the docked stack,
but we wouldn't run the resizing code that forces the task to be within
the stack bounds. We need to perform both operations and we can achieve
that using a more general method of moving tasks.

This also adds the passing of creation mode in the activity options, so
the task will be docked in the right spot.

Change-Id: Ia7f94a7e3677ed60ca2f4d889e548d80a3bc3df1
2015-10-27 10:04:20 -07:00
Steve McKay
f0e209ca09 Merge "Delete TestDocumentsProvider." 2015-10-27 16:51:43 +00:00
Winson Chung
980606d01b Merge "Refactoring the focus state to be independent of view focus." 2015-10-27 16:33:37 +00:00
Jorim Jaggi
8ccdf3ac49 Add development option to force everything resizable
Add a development setting to force all activites to be
resizable. Currently, a restart is required after changing
this setting. Also remove all the code that forced a single
task to be resizable, as we have a global option now.

Bug: 24815256
Change-Id: I3237c9b6ce96ff9aa9819592ab0c2807fde88dc4
2015-10-27 08:18:36 -07:00
Jorim Jaggi
75b2597e58 Add long press on recents to dock top most task
- Change the gesture to unpin a locked task into long pressing
the back button.
- When long pressing recents, dock top most task.

Change-Id: I1386151e781f4034cfb97d3c8d46c709d19fe779
2015-10-27 08:17:03 -07:00
Julia Reynolds
d9228f1135 Stop populating RemoteViews in Notifications.
Builder now stores its parameters directly in the
Notification object itself, reducing the amount of copying
needed to construct the final Notification as well as
converging the two data structures. All Builder data is now
captured in Notification, so it is easy to reconstruct
a Builder for any Notification object.

This obviates all stripping/unstripping operations because
all Notification objects start life "stripped" of their
RemoteViews, which must be constructed explicitly by clients
(presumably listeners wishing to show the notification to
the user in its conventional form).

Note: While contentView, bigContentView, and
headsUpContentView are being @Deprecated in this CL,
specifying custom RemoteViews is definitely still supported!
You just have to use Builder methods to do so.

Bug: 20153922
Change-Id: I81f8ffed0eb76084b2f2b25b97e325858f0a1d05
2015-10-27 10:19:34 -04:00
Daichi Hirono
85a808bf96 Let MtpDatabase add device name to storage root.
We have added device name to storage root by ag/790395.
But the change was not added to MtpDatabase class.

BUG=25162822

Change-Id: I019a9cf770a91c43b4e2f4e81e74b40175fd4872
2015-10-27 17:27:16 +09:00
Daichi Hirono
88d2f781f0 Remove fullpath from MtpDatabase.
If the remote MTP device is backed by typical file system, the file name
is unique among files in a directory. However, MTP protocol itself does
not guarantee the uniqueness of name so we cannot use fullpath as ID.

Instead of fullpath, we use artifical ID generated by MtpDatabase
itself. So we don't need to store fullpath in the database.

BUG=25162822

Change-Id: I06598ce631a3221ed72e11734dbdaefef4c6349c
2015-10-27 17:14:50 +09:00
Daichi Hirono
b999b0cb0f Move TestResources class to the outside of MtpDocumentProviderTest.
TestResources class will be used in MtpDatabaseTest.

BUG=25162822

Change-Id: I4f51b517532bbc111e95e7ebd96787a2e6f0f87a
2015-10-27 17:08:20 +09:00
Winson
0d14d4da91 Refactoring the focus state to be independent of view focus.
- This allows us to ensure that a task is always focused in the stack,
  which simplified focus logic, and allows us to unify the accessibility
  focus and normal view focus handling.
- Refactoring some focus actions to events
- Adding flags to experiment with fast-toggle.

Change-Id: I5623f2a5584994033f1ebf1760b55e8bd019944b
2015-10-26 17:38:29 -07:00
Daichi Hirono
abf397458d Show MTP roots at the bottom of root list.
MTP is removable device, so we should show it at the buttom of volume
list.

BUG=24813611

Change-Id: I0b78405ec169d576de4c709bbe21b5bb9b856b87
2015-10-27 09:12:04 +09:00
Steve McKay
bbbb644a2e Delete TestDocumentsProvider.
We can use StubProvider.

Change-Id: I8a38acd86e2ce57ff50f05710cb7f7f4c1fec63d
2015-10-26 16:09:06 -07:00
Steve McKay
44063d7559 Merge "Address followup comments from 793838." 2015-10-26 20:51:09 +00:00
Steve McKay
1eafb666c2 Address followup comments from 793838.
Change-Id: Ie77112ea38796f970a8f688c1c94aeb05f46ab78
2015-10-26 13:27:59 -07:00
Winson Chung
0b5c65a3e1 Merge "Adding flag for disabling search bar." 2015-10-26 19:20:30 +00:00
Winson
2364f26dc2 Adding flag for disabling search bar.
Change-Id: I988912c8209f1e49c71e4db2a7b926c808dbc975
2015-10-26 12:18:14 -07:00
Ben Kwa
9f06a2f10d Merge "Fix a DocsUI crash due to a misnamed xml reference." 2015-10-26 19:12:50 +00:00
Steve McKay
86040a82d5 Merge "Add functional tests for FilesActivity." 2015-10-26 19:11:18 +00:00
Steve McKay
01792570ba Add functional tests for FilesActivity.
Adds a bare bones test provider with dummy data.
This is basically just the bones of a test at this point.
Has just one simple test...switch list/grid modes.
Will add more tests (like manipulating the dummy data) in future CLs.

Bug: 24988170
Change-Id: Icc25718a416bc804874835c74a6d7862a52c9861
2015-10-26 12:10:40 -07:00
Ben Kwa
d7915d2ab2 Fix a DocsUI crash due to a misnamed xml reference.
BUG=25266394

Change-Id: I06bd3283e52467af3ebb43396d4166b3c25620a9
2015-10-26 11:54:41 -07:00
Tony Mantler
65cd70b7fb Merge "Move some app methods to AppUtils in SettingsLib" 2015-10-26 18:39:15 +00:00
Julia Reynolds
79017f52f8 Merge "SystemUI: Reload the EndNowButton label" am: 40b52bbe48 am: c7839bde7c
am: 537af1070b

* commit '537af1070b71919a76489881d3740bd55e1fb45a':
  SystemUI: Reload the EndNowButton label
2015-10-26 16:59:25 +00:00
Julia Reynolds
537af1070b Merge "SystemUI: Reload the EndNowButton label" am: 40b52bbe48
am: c7839bde7c

* commit 'c7839bde7cd8ed21326208b17030c87e8bf206c9':
  SystemUI: Reload the EndNowButton label
2015-10-26 15:15:24 +00:00
Julia Reynolds
c7839bde7c Merge "SystemUI: Reload the EndNowButton label"
am: 40b52bbe48

* commit '40b52bbe480436fbdc3bfb8a1a70c6144e71ff8f':
  SystemUI: Reload the EndNowButton label
2015-10-26 15:05:34 +00:00
Johan Redestig
f2d824fd56 SystemUI: Reload the EndNowButton label
Reload the EndNowButton label when configuration
changes.

Change-Id: I042d31f0bb011996aa8219c3c412e7b71987244c
2015-10-26 15:51:23 +01:00
Geoff Mendal
b1423ddee9 Merge "Import translations. DO NOT MERGE" 2015-10-26 13:09:24 +00:00
Geoff Mendal
4200c9c0bc Import translations. DO NOT MERGE
Change-Id: Ibfc65ba41159a6f46117aa5015533bdced91cd56
Auto-generated-cl: translation import
2015-10-26 06:08:45 -07:00
Geoff Mendal
968793f18f Merge "Import translations. DO NOT MERGE" 2015-10-26 12:57:14 +00:00