Seigo Nonaka
f47561320f
Update language to comply with Android’s inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
Bug: 161896447
Test: atest TextViewTest
Change-Id: I83f253f6edfb2724972793b3495835540b7b52e4
2020-07-22 22:54:14 -07:00
Victor Chang
55a6efbfd9
Remove @CorePlatformApi LocaleData usage in frameworks
...
They can be replaced by the public API provided by ICU4J instead.
No extra layer of caching equivalent to the LocaleData cache is
added because ICU4J has caches instances, e.g. DateFormatSymbols,
etc.
Bug: 160606356
Test: atest FrameworksCoreTests:android.text.format
Change-Id: I07048e0e1a4835d2744b7fce6a5ed79a112e456b
2020-07-20 21:09:40 +01:00
Victor Chang
c744bd5f64
Use DateFormatSymbols directly instead of using LocaleData
...
Bug: 160606356
Test: atest FrameworksCoreTests:android.text.format
Change-Id: Id5d70328ab146d439ed45135e0fa9d1b9cc95257
2020-07-20 21:09:40 +01:00
vichang
ec71624f22
Merge "Remove libcore.icu.ICU usage in android.text.format.DateFormat"
2020-07-10 10:47:38 +00:00
Victor Chang
a0d05f4fdc
Remove libcore.icu.ICU usage in android.text.format.DateFormat
...
The methods can be implemented with ICU4J directly.
Bug: 160606356
Test: atest android.text.format.DateFormatTest
Test: atest CtsTextTestCases:android.text.format.cts.DateFormatTest
Change-Id: I3d5f639a94026c599b487563c95bf9d165adfeec
2020-07-06 21:30:24 +01:00
Wang Han
11bd793f2c
Fix typos related to sortSelectionIndices
...
Bug: 160555160
Change-Id: I2710e10776a4f6f633abc14d6898c186b5a01124
2020-07-06 13:21:57 +00:00
Joanne Chung
6dfbe8316c
Fix app crash if the selection is from reverse direction.
...
When user types some text and then long presses on end of empty area
to open context menu, if user opens Gboard and selects text from the
reverse direction, SelectionEnd will be less than SelectionStart. The
IllegalArgumentException occurred because TextClassification does not
allow SelectionEnd is less than SelectionStart. We swap the start and
end index if end index is less than start index.
Bug: 150916165
Bug: 157452302
Test: Manual. No crash occurs.
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
(cherry picked from commit cb3c97db0c )
Merged-In: I8dbc92f0f31e64b7e3a45ae91762e1b741629a8e
Change-Id: Ie0e2b5840e147f98174cae4521eb777e1a080706
2020-07-06 17:41:55 +08:00
jiajia tang
3dfd84718d
Remove reduntant variable
...
Magnifier#mDestroyLock was introduced by below change:
Idf0373ab0d5033d56da0f6f45d7d953f7e796813
Then related code was removed by below change:
Ia4c75b5b997e0ed94d5a3814dd4507a8fffa124d
With this change, Magnifier#mDestroyLock becomes redundant,
useless lock.
This change intends to remove this redundant lock.
Change-Id: Ifa3f83f8953a3d992e26a952d9ac2f3343b0dc9e
Signed-off-by: jiajia tang <tangjiajia@xiaomi.com >
2020-05-28 16:45:40 +08:00
Tetsutoki Shiozawa
2e2664fa50
[ProgressBar] Fix: Media volume bar indicates a wrong value
...
Symptom:
Media volume bar shows non-zero value even during the mute state.
Root cause:
A request for updating progress of ProgressBar has 2 kind of updating
ways, animated and non-animated. If a non-animated request is invoked
before completing an animated request, the visual progress can be
overwritten by the old animated request. As a result, the visual
progress value becomes different from the actual value.
Solution:
A running animation on the primary progress should be canceled
before handling a new non-animated request.
Bug: 148759348
Test: atest CtsWidgetTestCases:ProgressBarTest
Change-Id: I569dbea4c6346ecfff8141d8378b4952fb1fa530
Merged-In: I569dbea4c6346ecfff8141d8378b4952fb1fa530
2020-05-18 18:29:40 +00:00
Xin Li
e13851556b
DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master
...
Bug: 146167222
Change-Id: Ifeb003ec9b3bf824f04d31a117aea65d517241fb
2020-01-15 16:15:41 -08:00
Treehugger Robot
70a89435e7
Merge "Use new UnsupportedAppUsage annotation."
2020-01-13 13:04:48 +00:00
Automerger Merge Worker
bd4e71148a
Merge "Use new UnsupportedAppUsage annotation." am: 39f329c52a am: 62169a75cc
...
Change-Id: Ib94ae7e9f19c543d0180e3a547fc02f55c055ca7
2020-01-10 15:16:49 +00:00
Artur Satayev
ae5bcf23b5
Use new UnsupportedAppUsage annotation.
...
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I41e12e425284e74561c6b61663241df364ae54a1
Merged-In: I41e12e425284e74561c6b61663241df364ae54a1
2020-01-09 15:15:51 +00:00
Artur Satayev
a900cb533f
Use new UnsupportedAppUsage annotation.
...
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I5be7335b23a92b8ac80d2fd890198273b66ad644
Merged-In: I5be7335b23a92b8ac80d2fd890198273b66ad644
2020-01-09 14:59:34 +00:00
Automerger Merge Worker
c294d8131a
DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from am: 483da5385f am: 4314a0ca65
...
Change-Id: I2ede64f2853e854dc1bd7d6f0d8b16a96b6f1d12
2020-01-08 01:54:57 +00:00
Automerger Merge Worker
4314a0ca65
DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from am: 483da5385f
...
Change-Id: Ia144921ee6ad424c565ca14713a275b9383e52cb
2020-01-08 01:35:27 +00:00
Adam He
483da5385f
DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from
...
password fields.
Bug: 141703197
Test: atest android.autofillservice.cts.augmented
Change-Id: I09a75ad5674a0cfdb169b49461bfec2a129e781f
2019-12-16 16:39:28 -08:00
Automerger Merge Worker
6afb28c9c8
Merge "RESTRICT AUTOMERGE TextClassifier cross-user vulnerability in direct-reply" into qt-dev am: aced288d66 am: 62a0566244 am: be2826e8dc
...
Change-Id: I18e07c3ae09432469b8a3a8804b40c76676b64c0
2019-12-11 22:34:14 +00:00
Automerger Merge Worker
bae05149de
RESTRICT AUTOMERGE TextClassifier cross-user vulnerability in direct-reply am: 34e380cdd6 am: bccb8bec0a
...
Change-Id: Id6995c02dc69230eab7cd1d312c4c4d569e44a25
2019-12-11 21:45:33 +00:00
Automerger Merge Worker
bccb8bec0a
RESTRICT AUTOMERGE TextClassifier cross-user vulnerability in direct-reply am: 34e380cdd6
...
Change-Id: I43130453f6b576679c52be643344589ac624dadd
2019-12-11 21:14:16 +00:00
TreeHugger Robot
aced288d66
Merge "RESTRICT AUTOMERGE TextClassifier cross-user vulnerability in direct-reply" into qt-dev
2019-12-11 20:55:34 +00:00
David Castro
1294b8b570
Merge "Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList ." into qt-dev am: 3b74a86752 am: 3a6d5555cd
...
am: 56be7c0b58
Change-Id: I8ee35a24fc7fe2549e7a7a2c0875c0ea24e32476
2019-11-22 09:09:15 -08:00
David Castro
56be7c0b58
Merge "Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList ." into qt-dev am: 3b74a86752
...
am: 3a6d5555cd
Change-Id: I7684da1e104dac4f62ed3a7ef3f928c1598509aa
2019-11-22 09:02:02 -08:00
David Castro
3a6d5555cd
Merge "Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList ." into qt-dev
...
am: 3b74a86752
Change-Id: I2b5e70ef834a0d0f4ccc3689d036321094a24170
2019-11-22 08:55:24 -08:00
David Castro
2ec0df7dfc
Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList .
...
BUG:140947822
Change-Id: I77b9e3a5b466afea51467418f25ffe7f1b921c7d
2019-11-20 23:06:01 +00:00
Joshua Baxter
87256ee062
Merge "docs: fix typos" into qt-dev am: 748dd651f4 am: fcf4eace37
...
am: 2612ee2d6d
Change-Id: I621be1458f5e642615b671a428114e8436d15b0b
2019-11-12 15:38:02 -08:00
Joshua Baxter
2612ee2d6d
Merge "docs: fix typos" into qt-dev am: 748dd651f4
...
am: fcf4eace37
Change-Id: I7644a7262bf0ac26870c5c106d94832015f3bff2
2019-11-12 15:33:33 -08:00
Joshua Baxter
fcf4eace37
Merge "docs: fix typos" into qt-dev
...
am: 748dd651f4
Change-Id: I795c039941adfb8d6743d7af3224231f864efd57
2019-11-12 15:29:04 -08:00
Joshua Baxter
5f005c9eb7
docs: fix typos
...
bug: 119075364
Change-Id: I452fc3bb80ffc7466d096b7eaf5becd18bc1fb45
test: make ds-docs
2019-11-11 21:56:38 +00:00
Artur Satayev
756d3b447a
Merge "Add @UnsupportedAppUsage annotations for greylist." am: 423c3a32d6
...
am: 7a565c45b1
Change-Id: I48075ef4296e0b55c0055f7364c5129bbd60e9ed
2019-11-11 09:33:13 -08:00
Artur Satayev
7a565c45b1
Merge "Add @UnsupportedAppUsage annotations for greylist."
...
am: 423c3a32d6
Change-Id: I5387b4742fdaf67ad3189356f2361f73969b53a8
2019-11-11 09:13:24 -08:00
Artur Satayev
fc46be7dbd
Add @UnsupportedAppUsage annotations for greylist.
...
go/cleanup-greylist-txt
These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.
Bug: 137350495
Test: m
Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
Merged-In: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
2019-11-08 16:17:13 +00:00
Joshua Baxter
b5ac0fcb80
Merge "docs: remove old broken link" into qt-dev am: 2dc61fc4f4 am: 101f294b58
...
am: 2947a87032
Change-Id: I8dab46c3abe2702156eefd500b74b0ed66426c55
2019-11-06 14:25:37 -08:00
Joshua Baxter
83e9f58ddb
Merge "docs: fix typo" into qt-dev am: 74ff8a0bbd am: 6b70c7893d
...
am: ebfb71dcde
Change-Id: I11c4688e4023c72ec8beafa16e4ac5195f79714f
2019-11-06 14:13:05 -08:00
Joshua Baxter
2947a87032
Merge "docs: remove old broken link" into qt-dev am: 2dc61fc4f4
...
am: 101f294b58
Change-Id: Id655af3e092e125cc80cdb0d792e56a4adb93100
2019-11-06 14:09:20 -08:00
Joshua Baxter
ebfb71dcde
Merge "docs: fix typo" into qt-dev am: 74ff8a0bbd
...
am: 6b70c7893d
Change-Id: I930b4b473f697499857eac19cfa6eb4d6d290cef
2019-11-06 13:57:01 -08:00
Joshua Baxter
101f294b58
Merge "docs: remove old broken link" into qt-dev
...
am: 2dc61fc4f4
Change-Id: Ib025e4553835807c5c44496c992fb3a79827bf6b
2019-11-06 13:49:15 -08:00
Joshua Baxter
6b70c7893d
Merge "docs: fix typo" into qt-dev
...
am: 74ff8a0bbd
Change-Id: If59dc047a0e4d8095b3a22f4609ce125af6acfe5
2019-11-06 13:38:58 -08:00
Joshua Baxter
2dc61fc4f4
Merge "docs: remove old broken link" into qt-dev
2019-11-06 21:22:59 +00:00
Joshua Baxter
a51a9b7e96
docs: fix typo
...
Change-Id: I2e8f28a917d0b09c0bf0a11f0db863ae7bf03ac8
test: make ds-docs
bug: 79156293
2019-11-06 21:14:54 +00:00
Joshua Baxter
5e3b85b46d
docs: remove old broken link
...
Change-Id: If39d214fde055c412dd881c282e543975a7cbc49
test: make ds-docs
bug: 120135854
2019-11-06 21:09:08 +00:00
Kevin Hufnagle
fe98a0d3bf
Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a am: 71f8040c3b
...
am: 379b87531b
Change-Id: Ia2422002d2f4b654c75116003501a248b65bf07d
2019-09-20 15:54:00 -07:00
Kevin Hufnagle
379b87531b
Merge "docs: Fixed link to material design for ScrollView" into qt-dev am: 80b543b45a
...
am: 71f8040c3b
Change-Id: I317e75554f4741551e8221bfacb447ad0e914f4e
2019-09-20 15:47:23 -07:00
Kevin Hufnagle
71f8040c3b
Merge "docs: Fixed link to material design for ScrollView" into qt-dev
...
am: 80b543b45a
Change-Id: Ic7cc4494a88e6feaedf85626270ed1e8057189f5
2019-09-20 15:39:50 -07:00
Kevin Hufnagle
926edfeb0c
docs: Fixed link to material design for ScrollView
...
Test: make ds-docs -j32
Bug: 141024886
Change-Id: I69d05cdf99d91f74143454c78c000128d1da42ce
2019-09-19 23:50:47 +00:00
Mady Mellor
a5813e0e3d
qt-r1-bubbles-dev @ build 5835883
...
Test: presubmit setup on source branch
Bug: 126945401
Bug: 128932906
Bug: 129158983
Bug: 130237686
Bug: 130250809
Bug: 130442248
Bug: 131267438
Bug: 131609280
Bug: 131692350
Bug: 131849856
Bug: 133444037
Bug: 134064116
Bug: 134064858
Bug: 134070807
Bug: 134077101
Bug: 134090085
Bug: 134155107
Bug: 134423445
Bug: 134512898
Bug: 134514210
Bug: 134514227
Bug: 134734945
Bug: 134960381
Bug: 134989736
Bug: 135214687
Bug: 135280077
Bug: 135472021
Bug: 135475155
Bug: 135487618
Bug: 135488406
Bug: 135518045
Bug: 135633218
Bug: 136034310
Bug: 136150954
Bug: 136199542
Bug: 136538998
Bug: 137201711
Bug: 137213469
Bug: 137214359
Bug: 137214536
Bug: 137233453
Bug: 137876221
Bug: 138301618
Bug: 138445026
Bug: 138659213
Bug: 138749133
Bug: 138799651
Bug: 138801505
Bug: 138941969
Bug: 139002444
Bug: 139025304
Bug: 139816141
Change-Id: Ia7364529ea58070c8d45ecd726ab6ac7d34f2abe
Merged-In: Ic271a6a0f0803941dd5a84124dabf4d8c5fcc755
Merged-In: Ic3a4ba793db7f1361678ef51c411d9eab85d9b85
2019-09-11 22:42:54 +00:00
Mady Mellor
8e10394ccc
qt-r1-bubbles-dev @ build 5835883
...
Test: presubmit setup on source branch
Bug: 126945401
Bug: 128932906
Bug: 129158983
Bug: 130237686
Bug: 130250809
Bug: 130442248
Bug: 131267438
Bug: 131609280
Bug: 131692350
Bug: 131849856
Bug: 133444037
Bug: 134064116
Bug: 134064858
Bug: 134070807
Bug: 134077101
Bug: 134090085
Bug: 134155107
Bug: 134423445
Bug: 134512898
Bug: 134514210
Bug: 134514227
Bug: 134734945
Bug: 134960381
Bug: 134989736
Bug: 135214687
Bug: 135280077
Bug: 135472021
Bug: 135475155
Bug: 135487618
Bug: 135488406
Bug: 135518045
Bug: 135633218
Bug: 136034310
Bug: 136150954
Bug: 136199542
Bug: 136538998
Bug: 137201711
Bug: 137213469
Bug: 137214359
Bug: 137214536
Bug: 137233453
Bug: 137876221
Bug: 138301618
Bug: 138445026
Bug: 138659213
Bug: 138749133
Bug: 138799651
Bug: 138801505
Bug: 138941969
Bug: 139002444
Bug: 139025304
Bug: 139816141
Change-Id: Ic3a4ba793db7f1361678ef51c411d9eab85d9b85
Merged-In: Ic271a6a0f0803941dd5a84124dabf4d8c5fcc755
2019-09-09 21:48:30 +00:00
Kevin Hufnagle
db1bad4ab9
Merge "docs: Added content desc in ImageView example." into qt-dev am: eba5156095
...
am: 230a23e8d2
Change-Id: Ibf9c2193db824ffd49022d9139b520a6d0986c52
2019-08-27 02:13:09 -07:00
Kevin Hufnagle
9c463f3133
Merge "docs: Added content desc in ImageView example." into qt-dev am: eba5156095 am: f1e24288bb
...
am: 37f493ca26
Change-Id: Iec84b01b73fc9eceed77aa885811070fcc1e7f29
2019-08-26 17:15:07 -07:00
Kevin Hufnagle
73ca522b5f
Merge "docs: Added content desc in ImageView example." into qt-dev am: eba5156095
...
am: 230a23e8d2
Change-Id: I4b267e50e8553b1e7c0e0371ad0bf100a442ee1d
2019-08-26 16:07:03 -07:00