Commit Graph

5161 Commits

Author SHA1 Message Date
Raph Levien
8cf6d865cf am d202d15d: am cf2d44be: am 855a862f: am c98a786c: am beabcb92: Merge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev
* commit 'd202d15d9e4845537c4409c9880eb269b2b59129':
  Fix Insertion ActionMode not showing on RTL languages
2015-08-12 21:40:58 +00:00
Raph Levien
d202d15d9e am cf2d44be: am 855a862f: am c98a786c: am beabcb92: Merge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev
* commit 'cf2d44bee50dc2950181bbf5974c32eacea6f0a7':
  Fix Insertion ActionMode not showing on RTL languages
2015-08-12 21:31:07 +00:00
Raph Levien
855a862f6d am c98a786c: am beabcb92: Merge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev
* commit 'c98a786c693bf0bb617348e858ffe720db4d96d8':
  Fix Insertion ActionMode not showing on RTL languages
2015-08-12 21:13:32 +00:00
Raph Levien
beabcb92cb Merge "Fix Insertion ActionMode not showing on RTL languages" into mnc-dev 2015-08-12 21:00:07 +00:00
Clara Bayarri
f95ed10d9d Fix Insertion ActionMode not showing on RTL languages
When long pressing on an empty Text field with the system language set
to RTL, the "paste" popup was not showing up.

The Floating Toolbar requires a content rect to determine where the
text is and place itself close to it. In the case of an empty field,
we create a "fake" content rect by taking the placement of the cursor
+1 pixel to the right. In RTL languages, this +1 causes the content
rect to be considered off the bounds of the view, as the cursor is
aligned to the right, and hence the Floating Toolbar is hidden.

After making the rect a 0 width rect, we ran into the issue that
it was considered out of bounds due to the calculation ignoring rects
that simply touch the edge of the view's bounds.

BUG: 22540083
Change-Id: I29c79b701f586970b2611178233eff082b802ec1
2015-08-12 21:03:28 +01:00
Adrian Roos
96165f4396 am e77660d7: am ea73528c: am afdfc2c0: am 192ca56d: am c0a4883d: Merge "Prevent overlap of color views in landscape" into mnc-dev
* commit 'e77660d7f4e261f21e9d8d2098c451d55ccbc533':
  Prevent overlap of color views in landscape
2015-08-12 19:48:49 +00:00
Alan Viverette
961cdbf10f Add change type to ExploreByTouchHelper
Bug: 22095062
Change-Id: I9816af56f03f2b8551642ef202a0465dee00ec15
2015-08-12 15:22:01 -04:00
Adrian Roos
e77660d7f4 am ea73528c: am afdfc2c0: am 192ca56d: am c0a4883d: Merge "Prevent overlap of color views in landscape" into mnc-dev
* commit 'ea73528c66fda8e70b7672a2cbac7f80ea3686f2':
  Prevent overlap of color views in landscape
2015-08-12 18:43:02 +00:00
Adrian Roos
afdfc2c04d am 192ca56d: am c0a4883d: Merge "Prevent overlap of color views in landscape" into mnc-dev
* commit '192ca56d7a0c8a1a776bd8f9539c49f4b8ce3372':
  Prevent overlap of color views in landscape
2015-08-12 18:26:49 +00:00
Todd Kennedy
47c8244e4e Merge "Override package storage constraint" 2015-08-12 16:53:32 +00:00
Adrian Roos
fe836fabd9 Prevent overlap of color views in landscape
Removes overlap from the color views which resulted in subotimal looks
when both color views were translucent and the nav bar was on the right
edge.

Also fixes a bug introduced in I2df7092a91eceeb815367ef917dd7289f4f2b27e
where the navigation-bar-on-right-side case got forgotten and caused
flickering in landscape when IMMERSIVE_STICKY was set but the navigation bar
was visible.

Bug: 22876533
Change-Id: I449a82eb3dc3f7b5051f26b37b362a196b4ff63a
2015-08-11 17:36:43 -07:00
Yohei Yukawa
59bc6e03a4 Delete unused code from IMMS and its utility library.
This CL changes nothing except for deleting unused code and
methods from InputMethodManagerService and InputMethodUtils.

No behavior change is expected.

Bug: 22285167
Change-Id: I3bd814c8b5892b4ef28d6d5622014463df8f1c2b
2015-08-11 13:02:20 -07:00
Yohei Yukawa
012d014c43 Merge "Use Java7 diamond operator in IMMS/IMS." 2015-08-11 19:16:55 +00:00
Skuhne
624262cc40 Disallowing decor on the home workspace/stack
Bug: 23038659
Change-Id: Iee0b9fb3bd0b3f5d6759441485ef5edc514e8669
2015-08-11 08:25:02 -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
Todd Kennedy
f39ca8f5e5 Override package storage constraint
We want to be able to move arbitrary packages to external storage,
regardless what they specify in their manifest. This is a developer
option and should be used with care. Trouble may ensue if an
application is moved when it really doesn't want to be moved

Bug: 22282121
Change-Id: I7664816a7fd122e6cdf3070fe50ce5464f325380
2015-08-10 09:50:48 -07:00
Bryce Lee
a82e59a9a6 am 08e09f96: am ef56bfb2: am 3e96e06f: Merge "Make sure that changes to UI in SwipeDismissLayout are on UI thread." into cw-e-dev
* commit '08e09f9617c1674f722e8dcd72b125b7c51be1fd':
  Make sure that changes to UI in SwipeDismissLayout are on UI thread.
2015-08-08 02:50:02 +00:00
Bryce Lee
08e09f9617 am ef56bfb2: am 3e96e06f: Merge "Make sure that changes to UI in SwipeDismissLayout are on UI thread." into cw-e-dev
* commit 'ef56bfb27ae259116fe41fa4b6157828fc67f344':
  Make sure that changes to UI in SwipeDismissLayout are on UI thread.
2015-08-07 22:49:58 +00:00
Stefan Kuhne
f4dd71a265 Using workspace to dertermine decor to use
This patch uses the assigned stack to determine if
a non client decor needs to be added or not.

Since the visibility of the non client decor is
dependent on the used workspace, and an application
can transfer to a different workspace at any time,
the visibility might also change at any time.
As such this patch will also create the nc decor
for every window which might need it later in time.

BUG: 22984908
Change-Id: Ic7c0b3fd93d021bce882a5345738ceb3f608a3b9
2015-08-07 15:48:16 -07:00
Bryce Lee
3e96e06f12 Merge "Make sure that changes to UI in SwipeDismissLayout are on UI thread." into cw-e-dev 2015-08-07 22:37:11 +00:00
Bryce Lee
8a148a3b1d Make sure that changes to UI in SwipeDismissLayout are on UI thread.
Bug: 23036658
Change-Id: I2f51f7275c24f32c5f291f58b0dd331e608d8beb
2015-08-07 15:15:56 -07: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
Chris Wren
a285871699 am 212157e3: am fd18fc86: am 8a38babb: am 062130d9: am 93f3fc87: Merge "add metrics to assistant" into mnc-dev
* commit '212157e3cdbf4d685927fe8bfc2e5c99bcb8f390':
  add metrics to assistant
2015-08-06 19:53:05 +00:00
Chris Wren
212157e3cd am fd18fc86: am 8a38babb: am 062130d9: am 93f3fc87: Merge "add metrics to assistant" into mnc-dev
* commit 'fd18fc86866d7887a6a22622e6618362beecae4c':
  add metrics to assistant
2015-08-06 19:41:52 +00:00
Chris Wren
a35c96eb90 add metrics to assistant
long press
  screenshot enabled
  context enabled

Bug: 22949579
Change-Id: Iac178207fa7149cda03c9a817a0d1450e46e1c59
2015-08-06 15:11:42 -04:00
Stefan Kuhne
ed9f69d2b6 Merge "Adding the 'non client decor view' to free floating windows" 2015-08-05 20:00:16 +00:00
Stefan Kuhne
61b47bb267 Adding the 'non client decor view' to free floating windows
This patch adds a new free floating window non client decor view which
has:
- Two buttons (maximize and close) as it meets our current UX design
- A Shadow which changes size with focus
- It's own view as preparation for the thread distributed drawing and
  user interaction handling (resize handles, etc)

Missing is at this point:
- The button functionality itself.
- Changing/removing decors based on window type (once the needed
  patches land.

bug: 21738666
bug: 21739152
Change-Id: I6e41f2a7470256cee7bae35029d7e8c43fb235dd
2015-08-05 12:53:54 -07:00
Mitchell Wills
4f574285d4 am ebcf99d3: am c439c236: am bf026e68: am b0e9e731: am bce3eb22: Merge "Fix incorrect default wifi power draw values" into mnc-dev
* commit 'ebcf99d310f4121d0cb5edb18cb7c7eddd6e1f6b':
  Fix incorrect default wifi power draw values
2015-08-05 18:04:21 +00:00
Mitchell Wills
ebcf99d310 am c439c236: am bf026e68: am b0e9e731: am bce3eb22: Merge "Fix incorrect default wifi power draw values" into mnc-dev
* commit 'c439c236f1f98e0ba0d4472b2422b078af03e782':
  Fix incorrect default wifi power draw values
2015-08-05 17:55:11 +00:00
Mitchell Wills
bce3eb22af Merge "Fix incorrect default wifi power draw values" into mnc-dev 2015-08-05 16:59:23 +00:00
Mitchell Wills
008cde4da5 am c1d02417: am d9b729c7: am 992ae880: am e8c888c4: am 385dfd34: Merge "Charge apps for wifi tx time while scanning" into mnc-dev
* commit 'c1d02417bbd4df7b3b8273a1fdd4dc7aedfef441':
  Charge apps for wifi tx time while scanning
2015-08-04 22:40:07 +00:00
Mitchell Wills
c1d02417bb am d9b729c7: am 992ae880: am e8c888c4: am 385dfd34: Merge "Charge apps for wifi tx time while scanning" into mnc-dev
* commit 'd9b729c7c5ab7f9f348edc61ddec41fb54ba5730':
  Charge apps for wifi tx time while scanning
2015-08-04 22:31:57 +00:00
Mitchell Wills
385dfd349f Merge "Charge apps for wifi tx time while scanning" into mnc-dev 2015-08-04 21:55:46 +00:00
Mitchell Wills
f901649bd9 Charge apps for wifi tx time while scanning
Bug: 22955562
Change-Id: Ie2c6ab65e7b592272e1cad120ac606fcfd6ea677
2015-08-04 14:47:01 -07:00
Kevin Cernekee
1e0e22fdb6 Merge "Clean up javadoc in StateMachine" 2015-08-04 20:29:58 +00:00
Mitchell Wills
083e1d9e4b Fix incorrect default wifi power draw values
Bug: 22848679
Change-Id: Ief4e3e05b051b93efbe30fdc8903cce6765d2ed8
2015-08-04 10:28:16 -07:00
Adam Lesinski
d3821f3fe5 am 70593fb0: am 347c8850: am 4eb6c10d: am 7608f541: am 59d72c86: Merge "BatteryStats: Add debug logging to find source of b/22716723" into mnc-dev
* commit '70593fb065ad66e7fda971d3e3b70c6e0019bd3a':
  BatteryStats: Add debug logging to find source of b/22716723
2015-08-04 07:05:26 +00:00
Adam Lesinski
70593fb065 am 347c8850: am 4eb6c10d: am 7608f541: am 59d72c86: Merge "BatteryStats: Add debug logging to find source of b/22716723" into mnc-dev
* commit '347c8850b01adbd4bf310441678908aaea025f27':
  BatteryStats: Add debug logging to find source of b/22716723
2015-08-04 02:04:37 +00:00
Adam Lesinski
fbabe7dd6a BatteryStats: Add debug logging to find source of b/22716723
Bug:22716723
Change-Id: I97b940b702666b393555622d034e1c694b1e346a
2015-08-03 15:45:13 -07:00
Kevin Cernekee
e318d8c7d1 Clean up javadoc in StateMachine
Fix markup to use <pre> instead of <code> for multiline examples.  Fix
a couple of miscellaneous typos and run-on sentences.

Tested by running `javadoc -d /tmp/jd StateMachine.java` and then viewing
the result in Chrome.

Change-Id: I3d0eee4be4c39a77fa9415f457d3c53bc17d66f1
2015-08-03 15:18:48 -07:00
Alan Viverette
2a1e42e7af am 9bd3c31c: am 1d5837c6: am 5c8a5d0f: am ce337493: am ef3f58e5: Merge "Make ResolverDrawerLayout look like a ScrollView to accessibility" into mnc-dev
* commit '9bd3c31cce024c67641620d2e32f90982b8b0b6f':
  Make ResolverDrawerLayout look like a ScrollView to accessibility
2015-08-03 20:59:17 +00:00
Alan Viverette
858e0530f2 am 12e3c3c9: am 6851c613: am a2db7e68: am 42c9b35f: am e76bf46a: Merge "Add badge content description to TargetInfo, use in ResolverActivity" into mnc-dev
* commit '12e3c3c9946179cabbea413762226dec5c245560':
  Add badge content description to TargetInfo, use in ResolverActivity
2015-08-03 20:59:09 +00:00
Alan Viverette
9bd3c31cce am 1d5837c6: am 5c8a5d0f: am ce337493: am ef3f58e5: Merge "Make ResolverDrawerLayout look like a ScrollView to accessibility" into mnc-dev
* commit '1d5837c6b031d00202e4e0bba0278d9bb259c73d':
  Make ResolverDrawerLayout look like a ScrollView to accessibility
2015-08-03 20:50:54 +00:00
Alan Viverette
12e3c3c994 am 6851c613: am a2db7e68: am 42c9b35f: am e76bf46a: Merge "Add badge content description to TargetInfo, use in ResolverActivity" into mnc-dev
* commit '6851c61317c394cc78f53aa2385fffdcac8a4722':
  Add badge content description to TargetInfo, use in ResolverActivity
2015-08-03 20:50:48 +00:00
Alan Viverette
ef3f58e59b Merge "Make ResolverDrawerLayout look like a ScrollView to accessibility" into mnc-dev 2015-08-03 20:17:57 +00:00
Alan Viverette
e76bf46ab9 Merge "Add badge content description to TargetInfo, use in ResolverActivity" into mnc-dev 2015-08-03 20:17:31 +00:00
Yusuke Sato
22350a8c2c am 82e78074: am b98e2353: am 158560ad: Merge "Distinguish user-requested shutdown from power-related ones"
* commit '82e780743046e620b724c28023b580e0e624bb15':
  Distinguish user-requested shutdown from power-related ones
2015-08-03 18:14:37 +00:00
Yusuke Sato
82e7807430 am b98e2353: am 158560ad: Merge "Distinguish user-requested shutdown from power-related ones"
* commit 'b98e235364c2b221521f622c546733b2862e4677':
  Distinguish user-requested shutdown from power-related ones
2015-08-03 17:56:37 +00:00
Alan Viverette
1ff29f2d56 Make ResolverDrawerLayout look like a ScrollView to accessibility
Disable accessibility focus on the layout itself and expose the class
name as ScrollView so that we can get auto-scroll working until we have
first-class support for specifying automatic scrolling behavior.

Bug: 22667764
Change-Id: I9b97e40f16038046898e5b56b935a61db9073ac6
2015-08-03 10:01:23 -04:00
Svetoslav Ganov
5f2dc6f3e1 am 9a3d898a: am 4bdf81a0: am 4f3d5c75: am 1eb06eaa: am 8dbd4848: Merge "Add per UID control to app ops." into mnc-dev
* commit '9a3d898a5802b4d3eb398fe618a4c2f202f96753':
  Add per UID control to app ops.
2015-08-01 17:55:16 +00:00