Commit Graph

3796 Commits

Author SHA1 Message Date
Hongwei Wang
ede9b8a1e5 Merge "Use FixedAspectRatioImageView to demo auto-enter-pip" into sc-dev am: 0e4d25a19e am: c87def1edb
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/15055021

Change-Id: I8892827e3e9566c57edae397a4ce13c4ef408d57
2021-07-15 00:19:46 +00:00
Hongwei Wang
31c5071a72 Use FixedAspectRatioImageView to demo auto-enter-pip
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manually auto-enter-pip from landscape, see video
Change-Id: I30a728331f0ffa48c537be7b2611dba0b2df053a
2021-07-12 16:07:23 -07:00
Yuntao Xu
61c260b138 Merge "Convert Android.mk to Android.bp" into sc-dev-plus-aosp am: 7a80636fa6 am: 49fb313b62
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/14637455

Change-Id: I7b34fc06ae4ab62a3f2e2299bb47e407b3013705
2021-06-23 18:49:14 +00:00
Yuntao Xu
7a80636fa6 Merge "Convert Android.mk to Android.bp" into sc-dev-plus-aosp 2021-06-23 18:06:36 +00:00
Wilson Wu
16c483359a Merge "Remove sample multi-client IME" 2021-06-16 06:08:56 +00:00
Yuntao Xu
e6ce052eaa Merge "Convert UiAutomator/Android.mk to Android.bp" am: 34c918d55b am: 68c0d71fb3
Original change: https://android-review.googlesource.com/c/platform/development/+/1715514

Change-Id: I6bc54933df1488e030603a25139953b85ef29e7c
2021-05-26 00:44:58 +00:00
Yuntao Xu
34c918d55b Merge "Convert UiAutomator/Android.mk to Android.bp" 2021-05-26 00:10:23 +00:00
Colin Cross
86786ee8ae Update lint baseline for AutofillKeyboard
An androidx update triggered some NewApi errors.

Bug: 189179560
Test: m out/soong/.intermediates/development/samples/AutofillKeyboard/AutofillKeyboard/android_common/lint/lint-report.html
Change-Id: I219130d6f8ee791566ddeb4542a52225f124500d
2021-05-25 08:11:26 -07:00
Nikita Dubrovsky
0eac02491d Merge "Update ReceiveContentDemo to follow the API docs for URI permissions" into sc-dev 2021-05-22 05:06:06 +00:00
Yuntao Xu
d690d16db5 Convert UiAutomator/Android.mk to Android.bp
Convert the Make file to a Soong one

Bug: 188694412
Test: compared the two jar files built by Make and Soong
Test: TreeHugger
Change-Id: I84b6e1311d0e35d4bce1c86d9c6eff1ce051c7f8
2021-05-20 17:41:05 -07:00
Nikita Dubrovsky
522bfd9e79 Update ReceiveContentDemo to follow the API docs for URI permissions
Bug: 186122267
Test: Manual
Change-Id: I2720a5856222220849502ccc017a9c8c22f23fd4
2021-05-19 22:30:25 -07:00
Yuntao Xu
aba34f50cc Convert Android.mk to Android.bp
1. Convert ApiDemos/Android.mk to ApiDemos/Android.bp;
2. Convert ApiDemos/tests/Android.mk to ApiDemos/tests/Android.bp

Bug: 186778349
Test: compared the apk files built by Make and Soong
Test: TreeHugger
Change-Id: I7b72a998b56804e647d0908be5a118f9bf2cd896
2021-05-18 23:08:25 -07:00
Hongwei Wang
d1cc26450c Fix flicker in ApiDemos when auto enter PiP from landscape
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/cNwi8qI0qukRlaIwutzclD
Bug: 179720719
Test: auto enter PiP from landscape using ApiDemos app, see video
Change-Id: Ic421b3766fbc15bf699885863710a14c3178867f
2021-05-12 19:39:23 -07:00
Wilson Wu
a2c938f437 Remove sample multi-client IME
We have CL[1] to remove the multi-client IME mechanism,
remove the corresponding sample app as well.

[1]: I0bdc8fe3d32ccabc8ea7996fc689543c3f99331a

Bug: 173341412
Test: Build
Change-Id: I355d4309dca1ee712de729921a184f5e40e1730c
2021-05-11 15:57:56 +08:00
TreeHugger Robot
77261d6571 Merge "Adding singleInstancePerTask type activity in IntentPlayground" into sc-dev 2021-05-04 05:43:55 +00:00
Jeff Chang
193d1ded11 Adding singleInstancePerTask type activity in IntentPlayground
Bug: 187124445
Test: build
Change-Id: I684a9327267273efd7a19df0f0897e597c10543d
2021-05-04 11:38:16 +08:00
Nikita Dubrovsky
7bbcbefdda Merge "Update demo app for content insertion to save & display images" into sc-dev 2021-05-03 23:09:10 +00:00
Nikita Dubrovsky
132d5ebd30 Update demo app for content insertion to save & display images
Bug: 186892438
Test: Manual
Change-Id: I8aed85cfeaabdfa5558d11822d156fb84388b1cf
2021-04-30 16:16:39 -07:00
Yuntao Xu
59dd88d490 Merge "Convert MultiDisplay/Android.mk to Android.bp" am: 9e504cc4c5 am: 45950f4fc4 am: 7dfe30b1ae
Original change: https://android-review.googlesource.com/c/platform/development/+/1689115

Change-Id: I626f0bc2b8410b0276f5aa204e8b13e26c7c2236
2021-04-30 17:50:00 +00:00
Yuntao Xu
6d94d1116b Merge "Convert Android.mk to Android.bp" am: 64b8511941 am: 880a6ba188 am: 859f63e840
Original change: https://android-review.googlesource.com/c/platform/development/+/1689112

Change-Id: I713c1a354f33d6fc9e6d140d309c4b8e728c50a2
2021-04-30 17:49:56 +00:00
Yuntao Xu
8ce6b456d6 Merge "Convert IntentPlayground/Android.mk to Android.bp" am: e281d79cff am: c84d747f03 am: bc9b86f776
Original change: https://android-review.googlesource.com/c/platform/development/+/1691912

Change-Id: I5dd79d72b5f412f6c1b62e258520b20706342a0a
2021-04-30 17:49:47 +00:00
Yuntao Xu
b0c776c35d Merge "Convert ShortcutSample/Android.mk to Android.bp" am: 16d4d75ae6 am: 4472cf6306 am: 825c1c2b43
Original change: https://android-review.googlesource.com/c/platform/development/+/1691910

Change-Id: I7db13780c88857d0197d71d4d36aa2bbc9fd4910
2021-04-30 17:47:01 +00:00
Yuntao Xu
9e504cc4c5 Merge "Convert MultiDisplay/Android.mk to Android.bp" 2021-04-30 17:04:08 +00:00
Yuntao Xu
64b8511941 Merge "Convert Android.mk to Android.bp" 2021-04-30 17:03:49 +00:00
Yuntao Xu
e281d79cff Merge "Convert IntentPlayground/Android.mk to Android.bp" 2021-04-30 16:58:56 +00:00
Yuntao Xu
414db426ae Convert IntentPlayground/Android.mk to Android.bp
Convert the Make file to a Soong one

Bug: 186778349
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: I92d9b412fb3c0ae85dd1a76497cb6cdb359eaae3
2021-04-29 23:41:40 -07:00
Yuntao Xu
3f434c4083 Convert ShortcutSample/Android.mk to Android.bp
Convert the Make file to a Soong one

Bug: 186778349
Test: compared the results built by Make and Soong
Test: TreeHugger
Change-Id: I8613fbebc139dcf0f398f048e5716f126e987707
2021-04-29 22:47:32 -07:00
Yuntao Xu
10ed0f4b9c Convert MultiDisplay/Android.mk to Android.bp
Convert the Make file to a Soong one

Bug: 186677673
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: I8cbfa4980e3757af5a27a35c255f301b9b5b5be4
2021-04-28 15:51:52 -07:00
Yuntao Xu
8d78ee5666 Convert Android.mk to Android.bp
Convert the Make file to a Soong one

Bug: 186677673
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: I4b92172ce1370aebd28c11aaeee8c75f5529a570
2021-04-28 14:58:02 -07:00
Ming-Shin Lu
2ccdb18d20 Merge "Remove onToggleSoftInput" into sc-dev 2021-04-27 02:32:35 +00:00
Ming-Shin Lu
9b36e56849 Remove onToggleSoftInput
As CL[1] removed InputMethodService#onToggleSoftInput since framework
side changed internal protocal to simplify the toggle logic without
this method callback.

Also remove ClientCallbackImpl#onToggleSoftInput for
MultiClientInputMethod sample app part to sync this change.

[1]: I390dc029e7bcc30c200926a9bfbbbd0268a1f714

Bug: 182071625
Test: build MultiClientInputMethod
Change-Id: I25568d9d0a963562fdc1d4a021f7016689b9ca54
2021-04-26 15:09:09 +08:00
Bob Badour
4d6df6aead [LSC] Add LOCAL_LICENSE_KINDS to development
Added SPDX-license-identifier-Apache-2.0 to:
  apps/OBJViewer/Android.bp
  samples/HeavyWeight/Android.bp
  samples/MySampleRss/Android.bp
  samples/StartingWindow/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I2ba67154534591f4362b6133b440904ffdfd3bde
2021-04-21 14:43:00 -07:00
Treehugger Robot
3291dd14f1 Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" am: e748063d28 am: 347249060a am: dafb7fc537
Original change: https://android-review.googlesource.com/c/platform/development/+/1682225

Change-Id: I8f5e6007cd6803d4dcbfd498045366761be718a2
2021-04-21 20:01:08 +00:00
Bob Badour
40a7447daa [LSC] Add LOCAL_LICENSE_KINDS to development
Added SPDX-license-identifier-Apache-2.0 to:
  apps/Development/Android.mk
  apps/DumpViewer/app/src/main/Android.mk
  apps/OBJViewer/Android.bp
  samples/ApiDemos/Android.mk
  samples/ApiDemos/tests/Android.mk
  samples/HeavyWeight/Android.bp
  samples/IntentPlayground/Android.mk
  samples/MultiClientInputMethod/Android.mk
  samples/MultiDisplay/Android.mk
  samples/MySampleRss/Android.bp
  samples/RenderScript/HelloCompute/Android.mk
  samples/RenderScript/Levels/Android.mk
  samples/ShortcutDemo/launcher/Android.mk
  samples/ShortcutDemo/publisher/Android.mk
  samples/ShortcutSample/Android.mk
  testrunner/tests/Android_java.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I535f73ffa885f723b9dca745f199ce3a3fd409ea
2021-04-20 14:03:26 -07:00
Vadim Caen
b709ae7e83 Merge "Demo application for new SplashScreen" into sc-dev 2021-04-15 11:58:35 +00:00
Pedro Loureiro
2dc09c2150 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: I994630133d86cedb7f10eb51282dad0071df0d87
Merged-In: I994630133d86cedb7f10eb51282dad0071df0d87
2021-04-14 10:30:53 +00:00
Vadim Caen
b5ee3a6e76 Demo application for new SplashScreen
Bug: 181841992
Test: N/A

Change-Id: I82da62a1b8cd399b92c8270d994aaabc7ab3691c
2021-04-13 10:06:29 +02:00
Pedro Loureiro
6955c51641 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: I994630133d86cedb7f10eb51282dad0071df0d87
2021-04-09 13:35:22 +00:00
TreeHugger Robot
e3a6e4b4e9 Merge "InlineFillService: Randomize the saved password count." into sc-dev 2021-04-06 03:28:03 +00:00
Ahaan Ugale
d1150f619f InlineFillService: Randomize the saved password count.
Makes it easy to test the plurality of the displayed text in settings.

Bug: 169455298
Test: manual
Change-Id: Ieaab97de874afeb4ed10f2867cd39348ba701954
2021-04-06 02:07:58 +00:00
Chris Tate
905c7cea0c Merge "Update to track FGS API development" into sc-dev 2021-03-25 23:50:38 +00:00
Christopher Tate
6075c16c08 Update to track FGS API development
FGS notification deferral control is now a tri-state.

Bug: 171499612
Bug: 179290175
Test: ApiDemos foreground service paths
Change-Id: Ie426fb64b998ba452ff92f0231811679946500ff
2021-03-23 17:52:14 +00:00
Ahaan Ugale
38ff291ca0 InlineFillService: Implement onSavedDatasetsInfoRequest.
Bug: 169455298
Test: manual
Change-Id: I8a2d15350b08fc7fb8673114160cc14f6380c7f4
2021-03-23 08:35:03 -07:00
Nikita Dubrovsky
d95bef6186 Update ReceiveContentDemo to include demo of listener on LinearLayout
Bug: 182617122
Test: Manual
Change-Id: I1c62e029d9092a3a5360d5adcaef1c75659d977c
2021-03-15 15:54:44 -07:00
Hongwei Wang
6e9ec81b3c Merge "Fixed the aspect ratio in PictureInPictureAutoEnter" into sc-dev 2021-03-05 23:26:50 +00:00
Ahaan Ugale
aa968eb290 Merge "InlineFillService: Add a passwords settings activity." into sc-dev 2021-03-05 20:16:53 +00:00
Hongwei Wang
511635184c Fixed the aspect ratio in PictureInPictureAutoEnter
Since the actual aspect ratio is defined in layout file, measuring the
value in layout change listener can only cause irrelevant
onTaskInfoChanged callbacks sent to SysUI due to 1px difference.

Bug: 180630127
Test: enter PiP w/ autoEnter from landscape in button navigation
Change-Id: I25dcf82bfbebde017c2c938d745c23d615a7015b
2021-03-04 16:39:21 -08:00
TreeHugger Robot
e6b1eb0f96 Merge "Use a single TextView to demonstrate seamlessResize" into sc-dev 2021-03-03 21:39:52 +00:00
Bob Badour
2106ef99ad [LSC] Add LOCAL_LICENSE_KINDS to development
Added SPDX-license-identifier-Apache-2.0 to:
  apps/OBJViewer/Android.bp
  samples/HeavyWeight/Android.bp
  samples/MySampleRss/Android.bp
  samples/ReceiveContentDemo/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I63b4ea6e5cf008920c1aae5d8e06cc1f4df3edbf
2021-03-01 22:53:18 -08:00
Hongwei Wang
5e8ce64de0 Use a single TextView to demonstrate seamlessResize
For easy side-by-side comparison turning on/off seamlessResizeEnabled
flag. Adjusted also the wording to emphasize the recommended usage.

Bug: 152554547
Test: use the ApiDemos app
Change-Id: I1fbeee2479d9e93614d040d10e01f9fe2fb4c8d4
2021-03-01 11:24:28 -08:00