Commit Graph

7342 Commits

Author SHA1 Message Date
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
Dianne Hackborn
53d6cddb41 Merge "Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today" into mnc-dev 2015-08-07 17:18:11 +00:00
Michael Wright
600b984760 DO NOT MERGE. Add new media navigation keys.
Bug: 22059484
Change-Id: Ifd8fd18178fed45ead2980b957dd1d177e40f165
2015-08-07 14:46:05 +01:00
Dianne Hackborn
6ff55fcb85 Fix issue #22846750: Starting Screenie Now On Tap crashes USA Today
Try to deal well with badly behaving old apps.

Change-Id: Ibc41e5867869463fbf91f3e411c69677909fedad
2015-08-06 22:54:46 -07:00
David Stevens
456c7a766c Merge "Add keycodes for diagonal dpad inputs" 2015-08-06 18:19:18 +00:00
Wale Ogunwale
868a5e16c3 Support for an activity to change and/or query it's associated stack
Change-Id: I4fc1b47e5d6196a56a6e40f10fae97219554722c
2015-08-06 09:59:32 -07:00
Wale Ogunwale
706ed79340 Support creating/launching a task with non-fullscreen bounds
Change-Id: Icc6d6b25b5f6f236030e654a3eb3ec7f00287d2f
2015-08-06 09:59:32 -07:00
Wale Ogunwale
ba7881c89e Support finishing a task with any finishing activity in the task.
Change-Id: I8c6bb864de6dc135e0fedb16ee424d7816ee3cfa
2015-08-06 09:59:32 -07:00
Yohei Yukawa
932cc25416 am 94381db0: am f4b8c343: am 9aebdb4c: am d7d14033: am 2d34a8b7: Merge "Revert "Do not forceLayout when window is resized"" into mnc-dev
* commit '94381db0dd29bcb7d6bf1f266644c7032b2bffcb':
  Revert "Do not forceLayout when window is resized"
2015-08-04 21:29:28 +00:00
Yohei Yukawa
94381db0dd am f4b8c343: am 9aebdb4c: am d7d14033: am 2d34a8b7: Merge "Revert "Do not forceLayout when window is resized"" into mnc-dev
* commit 'f4b8c343219f14f56c2c1b86ee9e84e0b7487ece':
  Revert "Do not forceLayout when window is resized"
2015-08-04 21:18:50 +00:00
Yohei Yukawa
9aebdb4c39 am d7d14033: am 2d34a8b7: Merge "Revert "Do not forceLayout when window is resized"" into mnc-dev
* commit 'd7d14033af438b88053454e7d73c1689eaa77c35':
  Revert "Do not forceLayout when window is resized"
2015-08-04 20:54:48 +00:00
Yohei Yukawa
2d34a8b718 Merge "Revert "Do not forceLayout when window is resized"" into mnc-dev 2015-08-04 19:51:20 +00:00
Doris Liu
396a482093 Merge "Refactor AnimatorSet in prep for adding more functionalities" 2015-08-03 20:24:55 +00:00
Alan Viverette
4ffb4f94db am ac13014e: am 41343c0f: am 6550e461: am 0568a230: am 9d8a230f: Revert "View measurement optimization"
* commit 'ac13014e5f4d92fa6c051e9821eb03c010008ffa':
  Revert "View measurement optimization"
2015-08-01 17:54:12 +00:00
Dianne Hackborn
f6f1a7ec99 am 628b4125: am bc2a8843: am b97c5ddd: am 9b36f526: am c1836bb0: Merge "Change MNC codename to just M." into mnc-dev
* commit '628b4125843b93dc7f3ed0c9bbea76ff470d2eed':
  Change MNC codename to just M.
2015-08-01 17:53:09 +00:00
Alan Viverette
ac13014e5f am 41343c0f: am 6550e461: am 0568a230: am 9d8a230f: Revert "View measurement optimization"
* commit '41343c0f287863488a10a429d88ec094e9183938':
  Revert "View measurement optimization"
2015-08-01 17:05:22 +00:00
Dianne Hackborn
628b412584 am bc2a8843: am b97c5ddd: am 9b36f526: am c1836bb0: Merge "Change MNC codename to just M." into mnc-dev
* commit 'bc2a88431e3dc51e2245cc28e327f11d0c78bd56':
  Change MNC codename to just M.
2015-08-01 17:04:28 +00:00