Commit Graph

7358 Commits

Author SHA1 Message Date
Xiaohui Chen
e2796c216e Merge "Cleanup USER_OWNER in a11y manager and tests" 2015-09-03 17:24:47 +00:00
Alan Viverette
102d45209c Actually fix docs build breakage this time
Change-Id: I980544b65342cc37cdc1cfcb589f32eae6b1b354
2015-09-02 16:50:42 -04:00
Alan Viverette
ed63b3a504 Fix docs build breakage
Change-Id: Ibea95d06443f5bf42bd62b649bd02a3b9b644910
2015-09-02 16:16:54 -04:00
Xiaohui Chen
9daa916a4d Cleanup USER_OWNER in a11y manager and tests
Bug: 19913735
Change-Id: Icc2b55e685e7f9c212326bf2317ea9a7afce0359
2015-09-02 13:15:33 -07:00
Alan Viverette
458e7589dd Merge "Add note that getContentDescription() should not be overridden" 2015-09-02 17:32: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
Filip Gruszczynski
ebcc875f10 Move Configuration creation from Window Manager to Activity Manager.
Currently the construction of configuration is split between thease
two entities. This poses two problems: it's harder to follow the
construction logic and more importantly we can't determine if
configuration changes significantly before delegating work to the
Window Manager. This CL moves the configuration override logic to
the Activity Manager, since it both detects configuration changes and
informs clients about them. Window Manager becomes purely a recipient
of the information.

Change-Id: I075570ee055cce9c5665772fa8d4fe8ccb5c6313
2015-09-01 08:14:51 -07:00
Alan Viverette
8bc022a244 Add note that getContentDescription() should not be overridden
Also adds an explanation to the setter of how content descriptions
should be used.

Bug: 22630335
Change-Id: I6e46828a20a0592cd3b7f90f7d2a2050811d9833
2015-08-31 16:55:59 -04:00
Jorim Jaggi
762320e7d1 am f757bed7: am 7b933895: am e3238e53: am b774e554: Optimize fp touch to wake: Shortcut for report next draw
* commit 'f757bed7f7fa72528ab2d7225139d9d6f3b1021a':
  Optimize fp touch to wake: Shortcut for report next draw
2015-08-28 20:48:51 +00:00
Jorim Jaggi
f757bed7f7 am 7b933895: am e3238e53: am b774e554: Optimize fp touch to wake: Shortcut for report next draw
* commit '7b933895481813425358bcfe56e0c1afa902a6d2':
  Optimize fp touch to wake: Shortcut for report next draw
2015-08-28 20:37:52 +00:00
Jorim Jaggi
e3238e53de am b774e554: Optimize fp touch to wake: Shortcut for report next draw
* commit 'b774e554f32fd65cac30b43d1cf679403ef4af82':
  Optimize fp touch to wake: Shortcut for report next draw
2015-08-28 20:19:31 +00:00
Jorim Jaggi
b774e554f3 Optimize fp touch to wake: Shortcut for report next draw
When telling window manager that Keyguard window is in the correct
state for a fp-touch-to-wake sequence, it takes more than 1 frame at
the moment because the signal that WM is waiting for the next draw
is delayed by one frame because it is posted at the end of the
runnable queue.

To correctly fix this, we should post it at the beginning at the
queue, but this is way too risky this late. Instead, add a isolated
SysUI hack to report it faster.

Bug: 23401557
Change-Id: Icf64101e27611c7c01d108123021b22186f1e70c
2015-08-28 20:07:35 +00:00
Stefan Kuhne
400f29c37f Merge "Bring an activity to the front upon click & drag" 2015-08-28 15:28:37 +00:00
Skuhne
f36bb0ca99 Bring an activity to the front upon click & drag
Clicking on the control area of a window should bring it to
the top and set the focus since it might be used as a drag
operation which would move / resize it.

Bug: 23179116
Change-Id: I672bfefa42dd85e962fe343aeb89167ce125f168
2015-08-28 08:26:15 -07:00
John Reck
43c2091a65 Merge "Serializing display lists" 2015-08-28 15:09:55 +00:00
John Reck
e248bd1b2c Serializing display lists
This is a WIP prototype

Change-Id: Id4bfcf2b7bf905221c3734b7b6887c9b2efd37e6
2015-08-26 16:29:15 -07:00
Alan Viverette
b2d48bc5cc Merge "Revert "Revert "View measurement optimization""" 2015-08-26 16:53:19 +00:00
Alan Viverette
e2acc5e283 Revert "Revert "View measurement optimization""
Refactors for readability and adds an API >M check to be compatible with
the LinearLayout fix that also targets API >M.

This revert commit reverts revert commit
9d8a230fbd
which originally reverted commit
9cefbda11e.

Change-Id: I587d733abef0b35a1bb14b6272054322494a7cdd
2015-08-26 11:17:17 -04:00
Alan Viverette
9fb7c022b5 Merge "Add documentation on View for android:theme and <tag> element" 2015-08-26 14:33:00 +00:00
Seigo Nonaka
e3e7b52324 Merge "Leverage WindowManagerInternal for private communication." 2015-08-25 20:42:25 +00:00
Seigo Nonaka
7309b123c4 Leverage WindowManagerInternal for private communication.
This CL changes following four methods from direct calling of
WindowManagerService to calling via WindowManagerInternal.
- getInputMethodWindowVisibleHeight
  (introduced by I0e920ee79c526c3aea6872b063cf294e2ab081c8)
- saveLastInputMethodWindowForTransition
  (introduced by Idf7700271cf882dfbf35c9d16f0f173a791221bc)
- isHardKeyboardAvailable
  (introduced by I8a6a4a7efce50bfaec114117e33f97f27b1ef950)
- setOnHardKeyboardStatusChangeListener
  (introduced by Ica768083f95c33dc1e494a28ba7d8b6eb989b0ef)

This CL does mechanical code moving and does not change any behaviors.

Bug: 22285167
Change-Id: I08e506050a0e495d62236b46e487848c967d185d
2015-08-25 13:29:04 -07:00
Alan Viverette
0c8623c631 Add documentation on View for android:theme and <tag> element
The android:theme attribute itself is already documented in attrs.xml.

Bug: 23028410
Change-Id: I0543952395b5bf099d57d0799f814f38f74ae7b0
2015-08-25 14:50:20 -04:00
Alan Viverette
04067f33c8 Clean up ContextThemeWrapper
Fix trailing white space, use of final, comments.

Change-Id: Iacc034acd46a651c35c32f2efbc0fe5fb58e1209
2015-08-25 14:07:02 -04:00
Alan Viverette
99bf63fdaf Return asset manager with correct config from ContextThemeWrapper
Bug: 23416037
Change-Id: Ia87bebbe6f23214c892bc2ca19d4112853023235
2015-08-25 13:45:38 -04:00
Chris Craik
3aadd60521 Revert "Revert "Simplify TextureView draw path""
Fixed build breakage

This reverts commit d35dcb1311.

Change-Id: Id3a103fbaac15a05f558bce2161ce17b6e8d2ea3
2015-08-21 10:33:02 -07:00
Bart Sears
3b1c32eb5d Merge "Revert "Simplify TextureView draw path"" 2015-08-20 02:25:30 +00:00
Bart Sears
d35dcb1311 Revert "Simplify TextureView draw path"
This reverts commit 20a248934c.

Change-Id: Iaa3ebb1d868acbe184080087aec312b43e87e3c7
2015-08-20 02:23:39 +00:00
Chris Craik
87f9c42f54 Merge "Simplify TextureView draw path" 2015-08-20 00:02:09 +00:00
Chris Craik
20a248934c Simplify TextureView draw path
bug:20461288

Change-Id: I239fbd26ab2177481c84feb62a1da68faeb634ac
2015-08-19 16:59:45 -07:00
Chris Craik
571663bfd6 Merge "Throw exception when setting a fg/bg on TextureView" 2015-08-19 23:26:54 +00:00
Chris Craik
2e931eae35 Throw exception when setting a fg/bg on TextureView
Change-Id: Iead53e0947d941ebc1331f77fc478c475e24c812
2015-08-19 16:13:04 -07:00
Filip Gruszczynski
170192ab55 Improve animating from recents to multi window state.
Previously all windows would start animating from a single thumbnail
that was clicked. Now each animates from its thumbnail, including
properly animating the thumbnail header. This involves System UI
providing information about the thumbnail setup and app transition code
using it to setup each individual animation.

Change-Id: I6f45c94af6bcbf6898b8ed757d83505af99ed6b1
2015-08-19 12:20:46 -07:00
Derek Sollenberger
4c5efe9290 Add ninePatch support to Canvas.h
Change-Id: Ic095291fe55911c6501c1bdefa4b8da973c77319
2015-08-18 15:32:57 -04:00
John Reck
773bbe0357 Revert "Add ninePatch support to Canvas.h"
This reverts commit edca320a2b.

Change-Id: I30ee93cfc1cac391ce152f03e9e13a1ad24dc91b
2015-08-17 15:24:09 -07:00
Derek Sollenberger
edca320a2b Add ninePatch support to Canvas.h
Change-Id: Ib3202fd7c5b9f35853f286abe84b3ed009df1a81
2015-08-14 14:59:37 -04:00
Michael Wright
df10f498b9 Merge "Add new media navigation keys." 2015-08-13 15:55:41 +00:00
Michael Wright
962c9532a1 Add new media navigation keys.
Bug: 22059484
Change-Id: Idfe7fc5dd12acafc9f05c815d8aa7911cfcc7e4b
2015-08-13 16:44:27 +01:00
Skuhne
ce2faa5871 Adding API to access / change the task bounds
Bug: 21738328
Change-Id: I3aabcbe1dcc5caa70f66554157f41fbfacf4c50f
2015-08-13 08:31:43 -07:00
Alan Viverette
c6f220a503 Pass handling context when invoking resolved click handler
Bug: 23101112
Change-Id: I7d09487ad2c751cd9133fc39ea814f18424b8519
2015-08-11 20:48:51 +00:00
Yohei Yukawa
012d014c43 Merge "Use Java7 diamond operator in IMMS/IMS." 2015-08-11 19:16:55 +00:00
Yohei Yukawa
7c0832cb1c Remove unnecessary import lines from IMM and IMMS.
This CL changes nothing except for deleting unnecessary import
lines from IMM and IMMS.

Bug: 22285167
Change-Id: I86d250299fa1a8dc8f78343d6c141248c047255e
2015-08-10 21:37:17 -07:00
Yohei Yukawa
b0377bbf4e Use Java7 diamond operator in IMMS/IMS.
This CL changes nothing except for deleting redundant type
parameters thanks to diamond operator.

Bug: 22285167
Change-Id: I12807f147bd0ca72c243e6fff87250d8f32d556b
2015-08-10 21:06:30 -07:00
Dianne Hackborn
f9ec671d39 am c42545fb: am 4e47ff8d: am 1dd818db: am eed29a71: am 53d6cddb: Merge "Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today" into mnc-dev
* commit 'c42545fbd733617e88dbdacfc188e830698273c4':
  Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today
2015-08-07 23:06:25 +00:00
Stefan Kuhne
c6feec0453 Merge "Adding actions to non client decor buttons" 2015-08-07 22:11:30 +00:00
Stefan Kuhne
1b42057707 Adding actions to non client decor buttons
This patch requires CL 744205 to be landed first.

Bug: 22881983
Change-Id: I1bbce52e18719adcd09c7e70e09c37ec33387b04
2015-08-07 12:26:51 -07:00
Dianne Hackborn
c42545fbd7 am 4e47ff8d: am 1dd818db: am eed29a71: am 53d6cddb: Merge "Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today" into mnc-dev
* commit '4e47ff8d276d25193fe5506b6a6ad4a3367b2f41':
  Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today
2015-08-07 18:50:01 +00:00
Dianne Hackborn
1dd818dbb2 am eed29a71: am 53d6cddb: Merge "Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today" into mnc-dev
* commit 'eed29a71098284dbcd5bbbd2041c692eb3eb6a1d':
  Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today
2015-08-07 18:35:50 +00:00
Michael Wright
773c2238f3 am 1c4c740d: am 97e77627: Merge commit \'9dd2663d\' into mm
* commit '1c4c740d7f70e4924a76924d4a007da3c9316a0a':
  DO NOT MERGE. Add new media navigation keys.
2015-08-07 18:30:38 +00:00
Michael Wright
97e7762782 Merge commit '9dd2663d' into mm
Change-Id: Idf37dbc3bba970817e6620fe0129e54e86f553d5
2015-08-07 19:13:34 +01:00
Stefan Kuhne
9bad7410e5 Adding missing WindowStackCallback to Window
Bug: 22984908
Change-Id: I0efe210c2e1d2efba3e3ca20e6db393a904f28b9
2015-08-07 10:59:05 -07:00