| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
the button specified, not just the positive button.
Change-Id: I181c2eb9db7aedd51a52beba92bd7cf843aa795b
Fixes: 149446677
Test: None
|
| |
|
|
|
|
|
|
| |
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: I8789f8499d4dca08580672e9e45ed9a7026dd686
|
| |
|
|
|
|
| |
Bug: 122967079
Test: make -j builds
Change-Id: I3e999044df02549e84208d38bb77d2ce1d1bd73b
|
| |\
| |
| |
| |
| |
| | |
am: 26bdd62ce5
Change-Id: I26f0b05b1bb2d2b1416fd664168c8be9ed3f558c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Test: make ds-docs
Bug: 36946449
Change-Id: I13d863e2cb0e94e51c3a274c8d27d58f7a7a78eb
Exempt-From-Owner-Approval: Docs-only change
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For packages:
android.app.usage
android.app.trust
android.app.timezonedetector
android.app.timezone
android.app.timedetector
android.app.job
android.app.backup
android.app.assist
android.app.admin
android.app
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: I5d15d50344d7178617418846917f693cfabf006b
Merged-In: I618c5dc4462ae990d9df45c3e9ed3f092cc5138c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't line-break in "Battery" (only in English)
- Add "Learn more" link.
Bug: 78261259
Test: Manual test with:
- adb shell dumpsys battery unplug
- adb shell settings delete secure low_power_warning_acknowledged
- Enable battery saver
- Make sure the link is clickable if a link is set.
- Make sure there's no "learn more" link if the link is not set in strings.xml
Change-Id: I83364f628dd596a4d50bf2aca4db7cbfe7cf4909
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
An invalid, 'null' resource ID is defined as 0. Apps often use -1.
Add a helper method that makes checking valid IDs easy and more
centralized.
Eventually make it public API.
Bug: 38393777
Test: manual
Change-Id: I969ec4a45e86bdab3d7f57d357d475b77c7f8a78
|
| |
|
|
|
|
|
|
|
|
| |
Package IDs greater than 0x7f are interpreted as negative
numbers in Java's signed integer. The proper check for existence of
a resource ID is that it is not 0.
Bug: 37498913
Test: none
Change-Id: I446fb6abb514bf7cf2d0dcbfbd81dd5718cd2cb4
|
| |
|
|
|
|
|
|
| |
Just frameworks/ this time. More paths to come.
Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
|
| |
|
|
|
| |
Bug: 17733928
Change-Id: I0264ee8ceee09dbc33da61365c424c74d2e3c3d6
|
| |
|
|
|
| |
Bug: 23038618
Change-Id: Iafe3a45096153d9fe656ad930cc3978d8fab1968
|
| |
|
|
|
|
|
| |
Cleans up lint annotations.
Bug: 20149703
Change-Id: I2ed4eb002b6679a55ea4d5fcc1ea958a4dcb08df
|
| |
|
|
|
|
|
| |
Some cleanup of comments and code.
Bug: 19924382
Change-Id: I7b1a339259cbaa66fea2ffec38d7dde2b1a9612e
|
| |
|
|
|
|
|
| |
Also cleans up CheckedTextView javadocs.
Bug: 19482450
Change-Id: I47559533784b19267e9381af10c456ce0d20d329
|
| |
|
|
| |
Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
|
| |
|
|
|
|
|
|
|
|
| |
Fixes a regression where Builder.setIcon(Drawable) would get overridden
even when Builder.setIcon(int) had never been called and was still 0.
Fixes attribute id to respect all valid resource IDs (e.g. non-zero).
Updates documentation to reflect the long-standing override behavior.
BUG: 18904762
Change-Id: I905703993a59910555d5a858e0aaecab63221a02
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Leanback themes override AlertDialog styles from other themes.
Makes system alert dialogs, and alert dialogs from games running on ATV,
have a style more appropriate to television.
Final visuals pending.
Side button layout fixes DatePickerDialog and TimePickerDialog with
dpad navigation.
TODO: consider using side button layout for other AlertDialog cases
(long messages and lists).
Change-Id: I74e4e04d16d6854377580be95a87684a0385b04b
|
| |
|
|
| |
Change-Id: Ib833cc23f4ae39b5d729db3d425faa7dfd5b3c4c
|
| |
|
|
| |
Change-Id: If0737ff53f3e500c2a946a18a753e279882965a2
|
| |
|
|
|
|
|
|
|
| |
Adds APIs to set a layout resource ID as an AlertDialog's custom view. To
make this useful for developers, also ensures that Dialog content is set
up when calls are made to Dialog.findViewById() before show().
BUG: 11136748
Change-Id: I29747a28d7e30f4e31fe474424109ff29e1eaa98
|
| |
|
|
| |
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
External tracker 42609
External tracker 42607
External tracker 42604
External tracker 42600
External tracker 42574
External tracker 42450
External tracker 41050
External tracker 40995
External tracker 40970
External tracker 40935
External tracker 40507
External tracker 40481
External tracker 40435
External tracker 40406
External tracker 40297
External tracker 40281
External tracker 39978
External tracker 39929
External tracker 39803
External tracker 39715
External tracker 39441
Change-Id: If4215cef850ba8e4e8df356a68192566806e7914
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces the ability to create a Context that
is bound to a Display. The context gets its configuration and
metrics from that display and is able to provide a WindowManager
that is bound to the display.
To make it easier to use, we also add a new kind of Dialog
called a Presentation. Presentation takes care of setting
up the context as needed and watches for significant changes
in the display configuration. If the display is removed,
then the presentation simply dismisses itself.
Change-Id: Idc54b4ec84b1ff91505cfb78910cf8cd09696d7d
|
| |
|
|
|
|
|
|
|
|
| |
Add documentation to setOnCancelListener to clarify that the cancel
event plus the events for the various choice buttons are not the
exhaustive set of ways the dialog can be dismissed, and that a dismiss
listener should be used if the app needs to cover all cases of
dismissal.
Change-Id: I9e9d6f90f6f9ccaeb2c697474ab353e2d78f37b9
|
| |
|
|
| |
Change-Id: I39a534ae3a2a34b4dabc333a09961012ef911d3e
|
| |
|
|
|
|
|
| |
Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.
Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
|
| |
|
|
| |
Change-Id: I659201124c4c6730046be55a918c64ca57a9f4db
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
New styling for Holo dialogs. Now 76% easier for apps to create
dialog-based layouts! (Less tricky padding and margin rules)
Cancelable AlertDialogs now are canceled when the user touches
outside.
Dialogs in landscape mode will try not to fill the width of the
screen.
Change-Id: I621b5a19780883ee703a8492510451b480a0b8cc
|
| |
|
|
| |
Change-Id: I2ce87798ff58315cb96968ab06e5a52da9f35ef8
|
| |
|
|
| |
Change-Id: Idc2fe5a86c61e8f94fe9d902a0087a05f6f7918e
|
| |
|
|
|
|
|
|
|
| |
Added light/dark versions of holo dialog icons. Apps using
AlertDialogs that wish to use the system dialog icon should use
setIconAttribute(android.R.attr.alertDialogIcon) instead of
setIcon(android.R.drawable.ic_alert_dialog).
Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
|
| |\
| |
| |
| | |
Change-Id: I1963d8fc391bb84de1054f2b20ce4e082d764cbe
|
| | |\
| | |
| | |
| | |
| | | |
* commit '69ea4e15e52c456537575d21443ac1efdb03a902':
Documentation fixes found over vacation hacking.
|
| | | |
| | |
| | |
| | | |
Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
|
| | | |
| | |
| | |
| | | |
Change-Id: I20d0cca3b78af9db80854a57c88d6cab3b00f555
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Issue #3169193: com.google.android.youtube: java.lang.NullPointerException
at com.google.android.youtube.async.UserAuthorizer$3.onCancel(UserAuthorizer.java:324)
A little protection against calling onCancel() after a dialog has been
dismissed.
Change-Id: I7a64c94703da012ce303308563e4a8ed3cb125d3
|
| | | |
| | |
| | |
| | |
| | |
| | | |
outside.
Change-Id: I061f09bd79a5f2b627fb0f01aba36f37449b849d
|
| | | |
| | |
| | |
| | | |
Change-Id: Ib6d80e5e1a79b7a4ff208df8dbc097e7b9228d13
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix Holo.Light dialog text color for system-created dialogs
* Use the correct text anchor assets for selection mode
* Temp fix for small holo light button metrics
Change-Id: I974528418b69354961ea43abf8249c8caada8e17
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Light and dark dialogs
* Checkboxes and radio buttons
* Toggle buttons
Warning! This is still a work in progress. This does not include final metrics.
Some assets (specifically dialogs) are currently misaligned.
|
| | | |
| | |
| | |
| | | |
Change-Id: Ic3033a4eff67f507aa39dacfc4c8984a9ee142c1
|
| |/ /
| |
| |
| | |
Change-Id: Ic10480dc1c771d0ccd10f1d4014c945480fd6c0d
|
| |\ \
| |/
|/|
| | |
Change-Id: I05e4c26c902f3cfe0dd99107f518768b246562f7
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add a constructor to AlertDialog.Builder with a 'theme' parameter so
that e.g. the buttons in a dialog built with AlertDialog.Builder can
be themed.
Change-Id: Ie1b1c9706ad2146c8b64dd91fe249c6855c6ac65
|
| | |
| |
| |
| |
| |
| |
| |
| | |
AlertDialog's docs now refer to the id android.R.id.custom, the
correct method addView, and android.R.id.custom has been exported as a
public id.
Change-Id: Ide43a03b702f0b36326130909f9a864872ec93fb
|
| |/
|
|
| |
Bug: #2361749.
|
| |
|
|
| |
Automated import of CL 145994
|
| | |
|
| | |
|