Age | Commit message (Collapse) | Author |
|
The directory is being moved to its own project in frameworks/layoutlib
Bug: 36889565
Test: Built manually
Change-Id: I69a1a826d0bac8ede1f9a337c9c1d930bbcd04f3
|
|
|
|
On Android, font metrics top and bottom seem 15% larger than ascent and
descent. Paint_Delegate is modified to reflect this fact.
Test: layoutlib tests updated
Bug: 38117115
Change-Id: I4e9995ccbc991fbb857c8e3af45a908ad55db99e
|
|
Test: layoutlib tests
Change-Id: I86ef9794751c6adb3f304ae6e00c5e24428da5dd
|
|
65d65ec14b am: a3460f2bb1" into oc-dev-plus-aosp
am: 939ba35913
Change-Id: Ib427f57b4a505b1622758773f24c44e1bd69db6d
|
|
am: a3460f2bb1
Change-Id: Iccb6dc6a7758abffe2d25bcc8b5dfbb1f600b05c
|
|
|
|
When the elevation is not high, the shadow is similar
to just add some dark lines on the edges and corners of
rectangle views. Using simple algorithm can also improve
the performance and save more memory.
Test: The render result of unit test is updated.
Bug: 37906145
Change-Id: I28758f868ee6e24e4552368bddfb7ac10fe0a205
|
|
|
|
Test: N/A
Bug: 37906145
Change-Id: Ib8dc3f781767271388eb3e6f886267e9d98d67f8
|
|
|
|
|
|
|
|
4d09adcef1
am: ba1cc4bb42
Change-Id: I6d0a0c6dc87bac1470eb4cfccee61c878bed9ee3
|
|
PackageManager#registerDexModule() allows apps which can call
system apis to register a dex module with the Package Manager.
The PM may optimize the modules on the spot if needed. This is
particular useful for shared dex modules (e.g. chimera modules)
which are loaded in multiple processes.
Test: adb shell am instrument -e class
'android.content.pm.PackageManagerTests' -w
'com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner'
Bug: 37290820
Change-Id: I9ea8f937a76d2549a29e90a6c84c53c2e44a1ee4
|
|
tldr; Have the phone check when it reboots if it last shut
down due to heat. If so, we should show the user an
notification and dialog giving them more details.
- Added hidden api to allow apps to query system_server
for the reason the phone last rebooted
- Added notification that is shown when the phone is
booted if the last shutdown was due to excessive
heat.
- Added dialog to provide more details about the
shutdown if the notification is tapped.
- Added tests to verify that file is read and
as expected.
- Updated code for high temperature warning that
is shown while the phone is running to avoid
mixups in the future.
Test: FrameworksServiceTests
Bug: 30994946
Change-Id: Ic25f42539911c89ba7f1834e206f7931d65c2865
|
|
Do not attempt to draw outline when outline provider is null.
Test: manually follow the steps in https://b.corp.google.com/issues/37139123#comment1
Bug: https://issuetracker.google.com/37139123
Change-Id: I6e09c187d5a8e1364e2ecbe12bbb5a17ad057965
Signed-off-by: Sergey Prigogin <sprigogin@google.com>
|
|
This was introduced in Change Iaa9a5592.
Test: layoutlib tests
Change-Id: Id4c9f3e75de174106aa086b29cd7d12fa36b0e61
|
|
Test: layoutlib tests
Change-Id: I279754532db1097a65a8683057f8f3893b84af84
|
|
1f4e053aef
am: 46f7f1c245
Change-Id: If4167d8458b144a73deeaceeaa51b1f8d482d6d7
|
|
|
|
am: 375d615b30
Change-Id: Ibba72870f4d4da53ab411b5e279a967a86584e19
|
|
am: 97eecf8d09
Change-Id: Ibbea27ef27bfaa43649d0ff86e23f0ffd559d7f6
|
|
|
|
Bug: 37465538
Test: manual; Verified that Instant Apps can send broadcasts to
receivers still via the changed API.
Change-Id: Ib0f3d0c8ee71234288ccecd07e621554eb9b70ac
|
|
ANDROID_ID for Instant Apps now has the following properties:
1) per-app scoped
2) reset if the user clears the Instant App
3) remains the same if the Instant App gets upgraded to an installed
app.
Note that if the user goes instant -> installed_1 -> uninstall ->
installed_2 the ANDROID_ID at installed_1 will not be the same as
installed_2. This was deemed better than the id changing on the upgrade
step.
Test: manual
Change-Id: I532975c50049c94ff80902a897e001dd35a69f9f
|
|
Test: cookie CTS tests pass
bug:37327624
bug:37325276
bug:37323696
Change-Id: I52b10470759e471629ec6772e115df94482eb341
|
|
Test: layoutlib tests
Change-Id: I605a75d23e49d59a50362bbcf575561a613d4156
|
|
00ed0baca8
am: 663de998e7
Change-Id: I1c70471deaa3991945d2950d1c6e0f5bc90805b4
|
|
The NotificationManager.startServiceInForeground() experiment is over,
and will not ship as API, so it's time to tidy up and get rid of it.
Bug 36130212
Test: manual
Change-Id: I834d1ce059aa464ff27f69f5e5d3625cc5e61d8a
|
|
am: 8d0dacb5b1
Change-Id: Id1df099740c6e108878c8f10aacceb59b42b0041
|
|
Bug: 35873804
Test: TreeHugger
Change-Id: I4d962927587bb10833bfe3c3db27fdceab668fc3
|
|
1e924df63e
am: fa4b862518
Change-Id: I0aa32f46d20a5d46454f2a6057db2ca0e70f1d84
|
|
- Stop pooling and remove reset method.
- Introduce overloaded constructors instead of setSource methods.
- Make italic parameter boolean and treat "not called" as
RESOLVE_BY_FONT_TABLE.
- Remove constants and move them to Typeface with private static
constant.
- Fix JavaDoc.
Bug: 37082657
Test: android.graphics.cts.TypefaceTest passed
Change-Id: I0c50cf3e2d50c0021f7e12bbb7ed7ae89fa1c2a1
|
|
Test: Layoutlib tests
Change-Id: I3b1cfb460a6b7ccd6b63bd53194383154a68591c
|
|
am: de5fa6b3d8
Change-Id: I72a02f3f681b3b5f82cffc317fe0668e842464fe
|
|
When PreferenceScreen contains the Intent tag with
the extra tag, the parsing of xml file is failed and
causes the render problem on Layout editor.
Test: N/A
Bug: http://b.android.com/233302
Change-Id: I987de7aa125299d46fc1b7670f07f3dd4427ee21
|
|
This CL cleans up APIs around font variation settings.
- Remove FontConfig and FontManager public API.
- Remove FontManagerService from system service.
- Extract inner class FontConfig.Axis as top-level class FontVariationAxis.
This is used by Typeface.Builder public API to create new Typeface.
- Introduce and expose FontVariationAxis utility functions from/to string.
- Throws if the invalid font variation settings is passed.
Test: android.text.cts.FontVariationAxisTest passes
Test: android.graphics.cts.TypefaceTest passes
Test: android.graphics.cts.PaintTest passes
Change-Id: I9ccafe7a53935960566243e2856e166878ca59ae
|
|
|
|
JobInfo" into oc-dev am: 2d161b1d3f
am: 666fe849e3
Change-Id: I61afc96a01bc8bc5d637d65a3f9a84452babd3ed
|
|
oc-dev am: 2af994ec03
am: da7ef8060d
Change-Id: I715e2e79b729d28b856a8eda42b099db56cb0184
|
|
JobInfo" into oc-dev
|
|
Bug: 36687605
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testWindowButtonEntersPip
Change-Id: I0bb35fd666eb6a438e4676267f6726b44bffb3db
|
|
Yum!
Also needed to have a Context.revokeUriPermission() variant that is sane,
so reasonable CTS tests can be written.
Test: new ClipDataJobTest added.
Change-Id: Ia3135ea788a6e32c971bae7dab3a844d0ef4139c
|
|
This reverts commit 9fb4d6876a78fb336cb3650aca84bce723f96ecb.
Test: N/A
Change-Id: I57a09c6f011b8d8c9c2d054b03536e0a6fcc5688
(cherry picked from commit a4e82144b26ee50fca2739abc4f6c7111dc2f3cb)
|
|
Rather than require an a-priori Notification be supplied in order to
start a service directly into the foreground state, we adopt a two-stage
compound operation for undertaking ongoing service work even from a
background execution state. Context#startForegroundService() is not
subject to background restrictions, with the requirement that the
service formally enter the foreground state via startForeground() within
5 seconds. If the service does not do so, it is stopped by the OS and
the app is blamed with a service ANR.
We also introduce a new flavor of PendingIntent that starts a service
into this two-stage "promises to call startForeground()" sequence, so
that deferred and second-party launches can take advantage of it.
Bug 36130212
Test: CTS
Change-Id: I96d6b23fcfc27d8fa606827b7d48a093611b2345
(cherry picked from commit 79047c62b58fb0a0ddf28e2b90fe4d17e05bc528)
|
|
|
|
Test: Fixes broken tests
Change-Id: I62d001c6d0ed84fe1d1d9865b1027be0e1cad8b4
(cherry picked from commit de5a95d42c9e5f4fbcf0064ae8eaa33ab5747637)
|
|
am: cd190037af
Change-Id: Ic5271f342f90b5b4d5057bffe38def7a4a107b96
|
|
|