Commit Graph

1718 Commits

Author SHA1 Message Date
Keisuke Kuroyanagi
cabc670d2c Merge "Improve selection handle behavior for bidi text." into nyc-dev am: 1e632ba
am: 7c90769

* commit '7c90769e94bca613488fae23623bb3ec1a8e92a1':
  Improve selection handle behavior for bidi text.
2016-03-28 06:17:24 +00:00
Keisuke Kuroyanagi
7c90769e94 Merge "Improve selection handle behavior for bidi text." into nyc-dev
am: 1e632ba

* commit '1e632ba426ac3e07b82299505aa32495ebb3c709':
  Improve selection handle behavior for bidi text.
2016-03-28 06:13:56 +00:00
Keisuke Kuroyanagi
1e632ba426 Merge "Improve selection handle behavior for bidi text." into nyc-dev 2016-03-28 06:06:02 +00:00
Jeff Sharkey
3c664a9b39 Update PRE_BOOT_COMPLETED for FBE. am: bd91e2f
am: bef5aad

* commit 'bef5aad065fd2f5f222ac14a8d063d12348c7c34':
  Update PRE_BOOT_COMPLETED for FBE.
2016-03-27 17:50:04 +00:00
Jeff Sharkey
bef5aad065 Update PRE_BOOT_COMPLETED for FBE.
am: bd91e2f

* commit 'bd91e2f3f6aca512a02be645b2515b5e3331e177':
  Update PRE_BOOT_COMPLETED for FBE.
2016-03-27 17:47:15 +00:00
Jeff Sharkey
bd91e2f3f6 Update PRE_BOOT_COMPLETED for FBE.
Now that CE data isn't available until after a user is unlocked, we
need to delay the PRE_BOOT_COMPLETED broadcasts.  This is done by
adding a new RUNNING_UNLOCKING user state to the UserController
lifecycle.

We now track the last fingerprint a user was logged in under, and we
dispatch PRE_BOOT receivers when that fingerprint changes.  To work
around battery pull issues, we only persist the updated fingerprint
once all PRE_BOOT receivers have finished.  This is less granular
than the original solution, but it's still correct.  We only consider
a user as "logged in" once it transitions into the RUNNING_UNLOCKED
state.

When starting a process, track if the user was "unlocked" when
started, so that we only spin up unaware providers in processes
started before user unlock.

Add generic IProgressListener to communicate PRE_BOOT progress and
strings up to lock screen.  For now, LockSettingsService just blocks
until finished, but it could display these strings in the future.

Bug: 27220885
Change-Id: I349439776b885acd32f6a578d8951ffd95640be2
2016-03-27 10:56:48 -06:00
Clara Bayarri
cc80281911 Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev am: 3e5bf78
am: c84e36b

* commit 'c84e36b7ec77e52ab184c1328c55ee71f8ba4aa5':
  Keyboard Shortcuts: plumb deviceId through
2016-03-24 13:41:42 +00:00
Clara Bayarri
c84e36b7ec Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev
am: 3e5bf78

* commit '3e5bf786b7ca36fa0cc150fcd8d0e7a69ecb9db0':
  Keyboard Shortcuts: plumb deviceId through
2016-03-24 13:37:26 +00:00
Clara Bayarri
3e5bf786b7 Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev 2016-03-24 13:30:48 +00:00
Clara Bayarri
fcd7e80b21 Keyboard Shortcuts: plumb deviceId through
Bug: 27673736
Change-Id: Ie72807aa8c2bfd142b081a6a915e101c16d31473
2016-03-24 11:47:32 +00:00
sergeyv
1b981baed5 Merge "Add offset() to Path\'s fast-case mode" into nyc-dev am: ab852f2
am: 78779de

* commit '78779de36936b792372cab8036750184cee8def8':
  Add offset() to Path's fast-case mode
2016-03-24 05:11:14 +00:00
sergeyv
78779de369 Merge "Add offset() to Path\'s fast-case mode" into nyc-dev
am: ab852f2

* commit 'ab852f2972550d1ff6d6b9ec9ec85a9add16409c':
  Add offset() to Path's fast-case mode
2016-03-24 05:07:10 +00:00
Sergei Vasilinetc
ab852f2972 Merge "Add offset() to Path's fast-case mode" into nyc-dev 2016-03-24 05:02:02 +00:00
Seigo Nonaka
20f16538d9 Merge "Add cursor positioning tests for emoji." into nyc-dev am: 6ef4a1c
am: ecab398

* commit 'ecab3980e7eae1d9bb0285dcea476cf7a78cb9c5':
  Add cursor positioning tests for emoji.
2016-03-24 03:55:25 +00:00
Seigo Nonaka
ecab3980e7 Merge "Add cursor positioning tests for emoji." into nyc-dev
am: 6ef4a1c

* commit '6ef4a1c9cccfe667624a4e274ed306102c194dea':
  Add cursor positioning tests for emoji.
2016-03-24 03:51:27 +00:00
sergeyv
ecbcdd384c Add offset() to Path's fast-case mode
bug:22510833
Change-Id: I417ed13ff450aa7f6c72370b4c5de8e8a53a0235
2016-03-23 16:45:55 -07:00
Dan Willemsen
cceedf75c4 resolve merge conflicts of 8416096 to nyc-dev-plus-aosp
am: dc3b852

* commit 'dc3b8521256eaec189e8dd6335df40fd2493adb1':
  Remove custom copy rules, stop using ACP
2016-03-23 22:40:16 +00:00
Dan Willemsen
dc3b852125 resolve merge conflicts of 8416096 to nyc-dev-plus-aosp
Change-Id: I1638601fe84dda01bf52c59eb6c976bc1fe37498
2016-03-23 15:31:32 -07:00
Dan Willemsen
98ff0b72f0 Remove custom copy rules, stop using ACP
Replace some custom rules with BUILD_PREBUILT.

Move tools from ALL_PREBUILTS to BUILD_PREBUILT. All of them are already
in PRODUCT_PACKAGES in build/target/product/base.mk.

Remove uses of ACP and replace with core build system macros or 'cp'

Change-Id: I529e7c6c50fc64ad36b75bb47142f6bde909d141
2016-03-23 13:42:52 -07:00
Seigo Nonaka
f4afb095a0 Add cursor positioning tests for emoji.
Bug: 25375561
Change-Id: Id8e467bc13fc69560ea3d238765760e006c8ced5
2016-03-23 23:10:19 +09:00
Jed Estep
6cf4652701 Merge "Disable TextViewActivityMouseTest#testContextMenu" into nyc-dev am: e9b5fc2
am: 676e973

* commit '676e973321e794c7c0764ab9660e48482a8f301b':
  Disable TextViewActivityMouseTest#testContextMenu
2016-03-22 20:50:02 +00:00
Jed Estep
e9b5fc29dc Merge "Disable TextViewActivityMouseTest#testContextMenu" into nyc-dev 2016-03-22 20:39:10 +00:00
Jed Estep
66c4e57f24 Disable TextViewActivityMouseTest#testContextMenu
This test is causing failures which are blocking other test results.
Disabled until a fix can be submitted.

Bug: 27765262
Change-Id: I459f1ab1c6d2d3119fc50166e8de0d1259801e2a
2016-03-22 12:39:55 -07:00
Adrian Roos
f2aec548c3 Merge "Don\'t copy Bitmaps when cloning RemoteViews" into nyc-dev am: 6f54b22
am: a335e0a

* commit 'a335e0a6aace0eaa6ee46589d33f60f43e8f1f34':
  Don't copy Bitmaps when cloning RemoteViews
2016-03-21 19:14:01 +00:00
Adrian Roos
6f54b224af Merge "Don't copy Bitmaps when cloning RemoteViews" into nyc-dev 2016-03-21 19:03:51 +00:00
Adrian Roos
7da889d81d Don't copy Bitmaps when cloning RemoteViews
Bug: 27385859
Fixes: 27385859

Change-Id: I9f0768b20e6e71d5366eb21df76c984bfe6989b1
2016-03-21 10:39:16 -07:00
Seigo Nonaka
33209889bb Merge "Revive some test cases in BackspaceTest/ForwardDeleteTest." into nyc-dev am: b898ce9
am: 23f8f05

* commit '23f8f050557e30d41b941e0b9f0938924138a44a':
  Revive some test cases in BackspaceTest/ForwardDeleteTest.
2016-03-18 08:09:26 +00:00
Seigo Nonaka
b898ce9511 Merge "Revive some test cases in BackspaceTest/ForwardDeleteTest." into nyc-dev 2016-03-18 07:58:48 +00:00
Keisuke Kuroyanagi
f0bb87b7c4 Improve selection handle behavior for bidi text.
A point on a direction boundary can be mapped to two offset and
one offset on a direction boundary can be mapped to two points.
Previously, paragraph's primary direction is always used for deciding
offset and coordinates; thus, handle movement around a direction
boundary is often nonintuitive.

With this CL:
1. For selection end handle, direction of character at offset - 1 is
used for deciding handle shape and position.
2. For getting offset from coordinates, previous offset is used to
minimize the offset delta and primary .
3. For getting coordinates form offset, new logic chooses primary or
secondary horizontal coordinate depending on the current run
direction and paragraph direction.
4. When a handle passes another one because it passes a direction
boundary, new logic keeps the handle at the run boundary instead of
minimizing the selection.

Bug: 19199637
Bug: 21480356
Bug: 21649994


Change-Id: I2a7e87ad08416f4bd01a5f68e006240f77d9036b
2016-03-18 14:39:09 +09:00
Siyamed Sinir
4bc3c9c100 resolve merge conflicts of 75bf818 to master
Change-Id: I351ef203a683d4c96f43dda26032d05b63726f57
2016-03-17 16:29:09 -07:00
Siyamed Sinir
e7a414e16d Merge "Do not use hint text for Editor cursor positioning" into nyc-dev 2016-03-17 22:58:35 +00:00
Philip P. Moltmann
75b4a1aec8 Merge "Add *Test marker to print manager parameter tests. This should help with automation of these tests." into nyc-dev am: 365de15
am: 0a0fa5d

* commit '0a0fa5d72e8e398768149f6f86e0ad93db95e33f':
  Add *Test marker to print manager parameter tests. This should help with automation of these tests.
2016-03-17 19:48:54 +00:00
Siyamed Sinir
987ec6588b Do not use hint text for Editor cursor positioning
When hint text is used for cursor positioning, the cursor may end up
in opposite direction when the locale and the hint text directions are
different. This CL uses the main text layout and discards the hint
layout while deciding on the position of those three views. The change
also includes fix for cursor and floating popup not displaying for
some cases after the change.

Bug: 22358087
Change-Id: I083d17b06273bc1d9b67656c5e12d4ff1231219c
2016-03-16 18:00:23 -07:00
Philip P. Moltmann
01527ee6d0 Add *Test marker to print manager parameter tests. This should help with automation of these tests.
Bug: 27599564
Change-Id: Iaeb24b36ca00bf7856c7e5badf250b61fa838ddf
2016-03-16 16:53:15 -07:00
Keisuke Kuroyanagi
9327e67705 Merge "Stop automatically creating selection action mode." into nyc-dev am: 126fdf1082
am: 6229859e06

* commit '6229859e0698738df30f284ec72c02aed101ec55':
  Stop automatically creating selection action mode.
2016-03-15 07:49:36 +00:00
Keisuke Kuroyanagi
126fdf1082 Merge "Stop automatically creating selection action mode." into nyc-dev 2016-03-15 07:41:07 +00:00
Keisuke Kuroyanagi
c477b5830a Stop automatically creating selection action mode.
With Ic025c109539c3b5963, selection action mode is created always
when selection is made. It causes distraction in some cases.
This CL fixes this issue. This CL stops starting selection action
mode when action mode is currently not active and not intended to
restart.

Bug: 27536744
Bug: 27551819
Change-Id: I94ee66864000934a21ef0d18c1d71429c67114fa
2016-03-15 15:38:40 +09:00
Keisuke Kuroyanagi
f7c49ef6f5 Merge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev am: e675665afa
am: 75d6ec5885

* commit '75d6ec5885739dcd95dbaab3c1344042311e7953':
  Show SuggestionsPopup when there is a misspelled span.
2016-03-15 05:43:09 +00:00
Keisuke Kuroyanagi
e675665afa Merge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev 2016-03-15 05:35:21 +00:00
Seigo Nonaka
328251a1d7 Revive some test cases in BackspaceTest/ForwardDeleteTest.
Implementation can choose the support of ZWJ and Emoji modifier, so move
them back to CoreTests.

Bug: 27553165
Change-Id: Ief9ae64c8c731b927295f54d09512256449b5a88
2016-03-15 00:09:07 +00:00
Jeff Davidson
941b85793d Merge "NetworkStats.Bucket API polish." into nyc-dev am: 1c0c14febf
am: cb4ad1548e

* commit 'cb4ad1548ec10019760bbfd76268805809301fd6':
  NetworkStats.Bucket API polish.
2016-03-14 19:37:56 +00:00
Jeff Davidson
1c0c14febf Merge "NetworkStats.Bucket API polish." into nyc-dev 2016-03-14 19:30:23 +00:00
Jeff Davidson
1f7e05eda6 NetworkStats.Bucket API polish.
-Add @IntDef constants for STATE_ and ROAMING_.
-Expand docs for ROAMING_ constants.
-Use ROAMING_NO/YES instead of ROAMING_DEFAULT/ROAMING.

Bug: 27531260
Change-Id: I54ecfb4148caa549214df0bee9983036ffa4cb55
2016-03-14 11:24:12 -07:00
George Mount
fbb352e588 Merge "Added internal test for AutoTransition." into nyc-dev am: 6387cd2849
am: 6f40674c19

* commit '6f40674c196404c92d4bc0bb1f188e482a300112':
  Added internal test for AutoTransition.
2016-03-14 16:58:07 +00:00
George Mount
6387cd2849 Merge "Added internal test for AutoTransition." into nyc-dev 2016-03-14 16:49:24 +00:00
Keisuke Kuroyanagi
f8e0da2624 Show SuggestionsPopup when there is a misspelled span.
Due to I20a86c1bdeb361686, SuggestionsPopup was not shown when there
is a suggestion span that has misspelled flag and doesn't has any
suggestions. This CL makes SuggestionHelper#getSuggestionInfo return
misspelled span info separately.

Bug: 27534987

Change-Id: Ib76588f9388287a04f1f6c9d9067ae439e493a95
2016-03-14 15:48:18 +09:00
Seigo Nonaka
081b3e507e Merge "Remove duplicated test cases." into nyc-dev am: 62006a72a6
am: 43e4cd958c

* commit '43e4cd958cd1e452d38782cbb263506ee4cb5b2d':
  Remove duplicated test cases.
2016-03-14 04:17:51 +00:00
Seigo Nonaka
62006a72a6 Merge "Remove duplicated test cases." into nyc-dev 2016-03-14 04:11:01 +00:00
George Mount
ca11a73cb1 Added internal test for AutoTransition.
Change-Id: Ieee0f4ed8a418293043f19f6edfc1c8302fec7f2
2016-03-11 18:23:17 -08:00
Doris Liu
ba3a72fa8b Merge "Testing initial value for 0-duration animations" into nyc-dev am: 0304ac862e
am: 866ad0c31f

* commit '866ad0c31ffa41845c7060447dcae867fd5ebfa4':
  Testing initial value for 0-duration animations
2016-03-11 23:58:30 +00:00