Commit Graph

7096 Commits

Author SHA1 Message Date
Wale Ogunwale
92839dfe61 am 152b03e8: am 549ac692: am d8b9b642: Merge "Use DisplayAdjustments when creating display in ResourceManager" into mnc-dev
* commit '152b03e85260463fe00c1157a172f6e068261012':
  Use DisplayAdjustments when creating display in ResourceManager
2015-06-08 20:46:23 +00:00
Wale Ogunwale
d8b9b642fe Merge "Use DisplayAdjustments when creating display in ResourceManager" into mnc-dev 2015-06-08 20:17:23 +00:00
Tim Kilbourn
6b051cfe1b am 2f7d4b5f: am 59a1dd78: am 72285e56: API review: Update hasMic to hasMicrophone.
* commit '2f7d4b5fb2e5df8396c20ff039bc2fbe58d3e39c':
  API review: Update hasMic to hasMicrophone.
2015-06-08 18:38:41 +00:00
Mady Mellor
3b3fd00bf1 resolved conflicts for merge of 1612c73a to master
Change-Id: Iffbd707f14fa42c12c35e18ff6826cebd00c7bf8
2015-06-08 11:33:41 -07:00
Mady Mellor
bbd2453555 am 0d2365e2: am 0820c666: am a54a8626: Merge "Change stylus button press to context click in GD - API review feedback" into mnc-dev
* commit '0d2365e27896e622d57bc8d0248fe0f28c750af6':
  Change stylus button press to context click in GD - API review feedback
2015-06-08 17:23:51 +00:00
George Mount
32c9721ec8 am 72e3b747: am d00a76ea: am 7c79c82b: Merge "Don\'t cause requestLayout when transition changes Visibility." into mnc-dev
* commit '72e3b7475cffc86eccc43e372c8299765c313dcd':
  Don't cause requestLayout when transition changes Visibility.
2015-06-08 17:23:34 +00:00
Abodunrinwa Toki
6f8029494d am f70aa841: am 6bbacb53: am 7d3b8833: Merge "Fix ActionMode.snooze API" into mnc-dev
* commit 'f70aa84170584eb7efcc048c55bb3a1aebe6d89d':
  Fix ActionMode.snooze API
2015-06-08 17:22:42 +00:00
Tim Kilbourn
72285e5600 API review: Update hasMic to hasMicrophone.
Also make the SearchEvent constructor available for testing.

Bug: 21572283
Bug: 21572676
Change-Id: I35cfd88b45aeb97b6ccf83aeb46b0ecc4bbc0947
2015-06-08 16:52:36 +00:00
Mady Mellor
e1f3214e72 Merge "Change stylus button press to context click in View - API review feedback" into mnc-dev 2015-06-08 15:11:32 +00:00
Mady Mellor
a54a8626ed Merge "Change stylus button press to context click in GD - API review feedback" into mnc-dev 2015-06-08 15:11:10 +00:00
George Mount
7c79c82b97 Merge "Don't cause requestLayout when transition changes Visibility." into mnc-dev 2015-06-08 14:18:13 +00:00
Abodunrinwa Toki
7d3b8833df Merge "Fix ActionMode.snooze API" into mnc-dev 2015-06-08 11:36:19 +00:00
Wale Ogunwale
26698514fb Use DisplayAdjustments when creating display in ResourceManager
We were previous only taking the Configuration into account when
creating Display objects in the ResourceManager. This led to the
Display object not containing critical CompatibilityInfo. We now
take the entire DisplayAdjustment into account.

Bug: 21637615
Change-Id: Ide5ff49bfa12791ad17993764f312836216b1dd8
2015-06-06 11:26:33 -07:00
George Mount
e5a93aa81c Don't cause requestLayout when transition changes Visibility.
Bug 21400515

When a Visibility transition temporarily changes a View's
visibility, it should not cause a requestLayout or any other
action, such as focus change. This adds a hidden method to
View to allow it to tweak the visibility without causing
other side-effects.

Change-Id: I5a06149983051319080130e5b5e7cc7edda8dd3e
2015-06-05 17:21:40 -07:00
Mady Mellor
015020eb3a Change stylus button press to context click in GD - API review feedback
Based on API review feedback we should use onContextClick instead of
onStylusButtonPress. This CL updates associated methods and usage
in GestureDetector.

Additionally listens for mouse right clicks and calls the
onContextClick method for these as well.

Bug: 21572278
Change-Id: I4fa01997bff7265d5d2713353a93e07417a148e5
2015-06-05 14:41:22 -07:00
Mady Mellor
74bf927e5f am f65aa46c: am 854a2899: am 0f2f9f7a: Merge "Stylus scale - API review feedback" into mnc-dev
* commit 'f65aa46c503d9f0ca837203004782aa64971bd69':
  Stylus scale - API review feedback
2015-06-05 16:25:23 +00:00
Mady Mellor
e860891b1a Change stylus button press to context click in View - API review feedback
Updates all references in View's onStylusButtonPress to onContextClick
as per API review feedback.

Additionally listens for mouse right clicks and calls the onContextClick
method for these as well for the stylus button press.

Bug: 21572278
Change-Id: I5c1ee8c8f23a77d7c677b86356e89d0e4fc40056
2015-06-05 09:02:55 -07:00
Mady Mellor
0f2f9f7a51 Merge "Stylus scale - API review feedback" into mnc-dev 2015-06-05 15:50:52 +00:00
Chet Haase
0490163d45 am e5b5dda1: am aa365cc5: am e790c977: Hide View.getBackgroundColor() prior to removal
* commit 'e5b5dda19e90b81a31f0b1800e58aafb3c6665e4':
  Hide View.getBackgroundColor() prior to removal
2015-06-05 15:18:58 +00:00
Chet Haase
e790c97787 Hide View.getBackgroundColor() prior to removal
Issue #21572678  API Review: android.view.View.getBackgroundColor()

Change-Id: Ia4fa9e207db3af6e076581bf23747eba6e56bb69
2015-06-05 14:41:51 +00:00
Abodunrinwa Toki
9e211282d3 Fix ActionMode.snooze API
Bug: 21572677
Change-Id: If9fdb8ace3773b983418b0148082712644fd1fa5
2015-06-05 03:35:15 +01:00
Mady Mellor
d9ff4df850 Stylus scale - API review feedback
Fixed typo and javadoc error.

Bug: 21572278
Change-Id: Ia710971f1f4a97df7ed8e898d972f617465900b9
2015-06-04 18:03:49 -07:00
Yohei Yukawa
42c0ef452f am c225c81b: am 8d38afdd: am 4493017a: Merge "Report EditorInfo#packageName based on the actual uid." into mnc-dev
* commit 'c225c81b13e700fd96c5c0a128931de46c421c27':
  Report EditorInfo#packageName based on the actual uid.
2015-06-05 00:48:49 +00:00
Yohei Yukawa
4493017abb Merge "Report EditorInfo#packageName based on the actual uid." into mnc-dev 2015-06-04 23:12:45 +00:00
Adam Powell
7404c99683 am be899a3c: am cce32a82: am 1da56b51: Merge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev
* commit 'be899a3cde7576feb975ddf5f860f21fd60e5f3a':
  Make WindowInsets#hasInsets check for stable insets as well
2015-06-04 20:39:32 +00:00
Adam Powell
05e967820d Make WindowInsets#hasInsets check for stable insets as well
Bug 20091509

Change-Id: Ia7dda5ab94a0904277c1078f3f73a59a735860d8
2015-06-04 12:38:13 -07:00
Dianne Hackborn
a3601ad430 am 4752d671: am 7771406d: am b0a5e78f: Merge "More API changes." into mnc-dev
* commit '4752d671f2789cb0a369a6bd4d9a1188fb46f042':
  More API changes.
2015-06-04 19:33:01 +00:00
Dianne Hackborn
b0a5e78fc0 Merge "More API changes." into mnc-dev 2015-06-04 16:56:52 +00:00
Svetoslav Ganov
6ec35804a9 am ff843a2c: am 060981e4: am b3876474: Merge "Make node retrieval methods in AccessibilityManagerService use separate Region instances to make them thread safe." into mnc-dev
* commit 'ff843a2c50096288a8258b3b2e2847848fe53cc7':
  Make node retrieval methods in AccessibilityManagerService use separate Region instances to make them thread safe.
2015-06-04 02:53:30 +00:00
Svetoslav Ganov
b387647439 Merge "Make node retrieval methods in AccessibilityManagerService use separate Region instances to make them thread safe." into mnc-dev 2015-06-04 02:21:09 +00:00
Nirmal Patel
386a824384 Make node retrieval methods in AccessibilityManagerService use separate Region instances to make them thread safe.
b/21087793

Change-Id: Ice690e3d7494788fb9e1e234a54f14831bd4e0d3
(cherry picked from commit ebd8eb4610d6bb9322a374f8965a78ba1c39ee63)
2015-06-03 19:18:00 -07:00
Adrian Roos
4875e599b0 am b14d3586: am 39c5b3eb: am 461829d6: Prevent windows below the keyguard from showing
* commit 'b14d35862d1abd88ee3db2aa021661912e436216':
  Prevent windows below the keyguard from showing
2015-06-04 00:25:30 +00:00
Alan Viverette
ea95b729e7 am bc0631b0: am ccb342c4: am d3c9df1a: Merge "Update number picker styling for Material" into mnc-dev
* commit 'bc0631b04b32fc547b8a9cc7a916380549013c84':
  Update number picker styling for Material
2015-06-04 00:11:32 +00:00
Adrian Roos
461829d607 Prevent windows below the keyguard from showing
Fixes a bug where windows below the lock screen
could become visible if a SHOW_WHEN_LOCKED activity
hides the status bar.

Bug: 21450145
Change-Id: Ie660394cb96d7e6839bd4fb7c2729133bac2dfc5
2015-06-03 23:44:52 +00:00
Alan Viverette
d3c9df1a34 Merge "Update number picker styling for Material" into mnc-dev 2015-06-03 23:35:02 +00:00
Adam Powell
7241d8d931 am a115bffa: am 93d3a94b: am cd45913f: Merge "Fix view foreground tinting" into mnc-dev
* commit 'a115bffa1ecdd2ccacb3612c048c06fd9a5b6463':
  Fix view foreground tinting
2015-06-03 23:31:57 +00:00
Yohei Yukawa
02df328f0c Report EditorInfo#packageName based on the actual uid.
This is a follow up CL for Ib871141e3381e45c2623c5f4d692da7a7e78fcc5,
which introduced a verification mechanism between the applicaiton uid
and EditorInfo#packageName reported from the application by using
AppOpsManager#checkPackage.

Regression Bug 21408239 caused by above change is really similar to
the situation we saw in Bug 10688644.  As well explained in the CL
description of Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25, the
system has a special ability to run in the processes of other uids.
Hence we need to use Context#getOpPackageName() instead of
Context#getPackageName() in case components declared by the system
is loaded into another process.

Bug: 18931038
Bug: 21408239
Change-Id: I78510a2ea6ac06cfd5813a23c42f09f70c468493
2015-06-03 15:58:59 -07:00
Adam Powell
cec5f733f5 Fix view foreground tinting
Copy and paste is bad, mmkay?

Bug 21209639

Change-Id: I6c17e8a30fad6d5110f18e4723a5f5e6ddb814b8
2015-06-03 15:26:51 -07:00
Dmitriy Ivanov
0f9c945c4e am ba429fc6: am d04af00b: am 77f55c5c: Merge "Fix build" into mnc-dev
* commit 'ba429fc6e9c161464d9301a405b93b7c0559bc68':
  Fix build
2015-06-03 22:24:23 +00:00
Svetoslav
eb3b1c9b20 am c61aa888: am 68631f0a: am afa9e99c: Merge "Fix finding views by accessibility id." into mnc-dev
* commit 'c61aa888b96dc604a072b20863067d80aafb981d':
  Fix finding views by accessibility id.
2015-06-03 22:24:03 +00:00
Filip Gruszczynski
e31aba5ec4 am 3dc18c57: am da992dee: am 844fbff8: Merge "Fix NPE when requesting outsets for detached view." into mnc-dev
* commit '3dc18c57882af97689248450500c30b969ca81cc':
  Fix NPE when requesting outsets for detached view.
2015-06-03 22:22:43 +00:00
Yohei Yukawa
3adf706c2c am fd417eb4: am 5acad932: am 168d38aa: Merge "Convert subtypes whose locale is "tl" to "fil"." into mnc-dev
* commit 'fd417eb40557be9e780e4739d35fb5b2ec62a705':
  Convert subtypes whose locale is "tl" to "fil".
2015-06-03 22:22:31 +00:00
Yoshiki Iguchi
bce3ea3617 am c4c59bc8: am 54da4c98: am 0d8513ad: Merge "Add a permission annotation to IMM#setCurrentInputMethodSubtype." into mnc-dev
* commit 'c4c59bc894f1f1b268072c8387e1faa71b3ff1b1':
  Add a permission annotation to IMM#setCurrentInputMethodSubtype.
2015-06-03 19:23:00 +00:00
Dmitriy Ivanov
bac9576928 Fix build
Bug: 21602590
Change-Id: Iffb9a7b74dc97bf30aea2014b0e3d2a96097291b
2015-06-03 19:18:59 +00:00
Svetoslav
afa9e99c88 Merge "Fix finding views by accessibility id." into mnc-dev 2015-06-03 18:46:07 +00:00
Svetoslav
6cc4627d88 Fix finding views by accessibility id.
1. If a view has a node provider, then the latter takes over
   representation of the view tree. Hence, find by accessibility
   id should not return children of a view with a provider.

2. Views can change their importantce for accessibility, so an
   accessibility service may get a node and try to act on it
   but the node became not important in the meantime. Hence,
   find by accessibility id should respect importance.

Change-Id: Ib4d738c00f46c91300605a2928550f40705ea47b
2015-06-03 11:44:47 -07:00
Filip Gruszczynski
844fbff80c Merge "Fix NPE when requesting outsets for detached view." into mnc-dev 2015-06-03 17:50:44 +00:00
Filip Gruszczynski
e660d4e96a Fix NPE when requesting outsets for detached view.
Outsets are used during measure/layout pass, but this can be called on a
view that is not currently attached.

Bug: 21602590
Change-Id: I23e3acc45ca4bf7684d8913f839e29e8e9e94d78
2015-06-03 10:43:48 -07:00
Yohei Yukawa
168d38aa3c Merge "Convert subtypes whose locale is "tl" to "fil"." into mnc-dev 2015-06-03 17:41:18 +00:00
Seigo Nonaka
0e96884382 am 12eaf366: am 031aead1: am 2752a149: Merge "Use final in favor of initialization safety." into mnc-dev
* commit '12eaf366f963f883d89d0713b458c698c514ab96':
  Use final in favor of initialization safety.
2015-06-03 17:36:30 +00:00