| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use DateFormatSymbols directly instead of using LocaleData | Victor Chang | 2020-07-20 | 1 | -11/+1 |
| | | | | | | | Bug: 160606356 Test: atest FrameworksCoreTests:android.text.format Change-Id: Id5d70328ab146d439ed45135e0fa9d1b9cc95257 | ||||
| * | Always use Context.getSystemService() to get IMM | Yohei Yukawa | 2018-09-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a preparation to deprecate the following two methods. * InputMethodManager#getInstance() * InputMethodManager#peekInstance() Since we soon need to stop relying on the current per-process InputMethodManager singleton model to fully support multi-display, those two methods really need to be deprecated. With this CL, framework code no longer depends on InputMethodManager#peekInstance(), which is also marked as deprecated in this CL. InputMethodManager#getInstance() is a bit tricky because it also works as a constructor of such a per-process singleton instance. Remaining two call-sites of this method will be migrated in a subsequent CL. This is a mechanical refactoring, which in theory should have no observable logical behavior difference. There could be a small performance regression, but it is basically not avoidable to correctly support multi-display scenarios. Bug: 115891476 Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases Test: atest CtsWidgetTestCases:android.widget.cts.EditTextTest Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest Test: atest FrameworksCoreTests:com.android.internal.inputmethod Test: atest FrameworksServicesTests:com.android.server.textservices Change-Id: I5db31491f3d47d3ad4a621e956995135c72e007b | ||||
| * | Improved autofill support on DatePicker and TimePicker: | Felipe Leme | 2017-08-15 | 1 | -1/+17 |
| | | | | | | | | | | | | | | - Save autofilled value so UI is properly highlighted. - Notify TimePicker listener just once. Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases Test: cts-tradefed run commandAndExit cts-dev -m CtsWidgetTestCases -t android.widget.cts.DatePickerTest Test: cts-tradefed run commandAndExit cts-dev -m CtsWidgetTestCases -t android.widget.cts.TimePickerTest Fixes: 37098837 Change-Id: I38d64c107f6059b94c92676ea37681006474f519 | ||||
| * | Disable state save/restore for inflated date/time picker views | Adam Powell | 2017-05-23 | 1 | -1/+2 |
| | | | | | | | | | | | | | Fix a bug where the internal date/time picker views reused view IDs causing state save/restore bugs when placed within AlertDialogs and other places. Since the pickers already save/restore their state at a higher level leaving this enabled was redundant. Bug 32654446 Test: manual Change-Id: I3df2fc932ac5296ab6eb0a5013dddef8d1117635 | ||||
| * | Added auto-fill support for DatePicker and TimePicker. | Felipe Leme | 2017-03-01 | 1 | -0/+3 |
| | | | | | | | | | | | | | Also fixed some getAutoFillType() implementations to return null when the view is disabled. Bug: 33550221 Bug: 35840787 Test: CtsAutoFillServiceTestCases (with new tests) pass Test: m update-api Change-Id: I46acc1fb106cf2153515cc1c9567b34cfabd1c62 | ||||
| * | Implicitly cast views obtained via View.findView methods | Alan Viverette | 2017-02-27 | 1 | -7/+7 |
| | | | | | | | | | | | Removes all explicit casts from android.widget classes. Also @removes methods on ListView that were overriding @hidden methods and should never have been exposed as public API. Bug: 24137209 Test: make Change-Id: I89f0e51258560987b3942251fd249210f825ac2a | ||||
| * | Adding text input mode to TimePicker. | Aurimas Liutikas | 2017-02-06 | 1 | -0/+5 |
| | | | | | | | | Test: Tests will have a follow up CL. Bug:30044800 Change-Id: I71a0fba97026da76251768016edf1b159617abb9 | ||||
| * | Revert "Implicitly cast views obtained via View.findView methods" | Alan Viverette | 2017-02-03 | 1 | -7/+7 |
| | | | | | | | | | This reverts commit 06c2fffdaa81544522de751846754f781a9970a9. Reason for revert: Java 8 doesn't support this magic. Change-Id: Iaa41f4e4d0072b9a97cff9cd3788403d4ab79d13 | ||||
| * | Implicitly cast views obtained via View.findView methods | Alan Viverette | 2017-01-27 | 1 | -7/+7 |
| | | | | | | | | | | | Removes all explicit casts from android.widget classes. Also @removes methods on ListView that were overriding @hidden methods and should never have been exposed as public API. Bug: 24137209 Test: make Change-Id: I6ccfc6f001b355c4880f2b54e1a5474df78d6228 | ||||
| * | Fix import statements in android.widget package. | Aurimas Liutikas | 2016-10-11 | 1 | -4/+5 |
| | | | | | | | | Additionally this CL removes spaces at the end of the line. Test: code still compiles. Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4 | ||||
| * | TimePicker - introduce hidden methods for CTS testing | Andrei Stingaceanu | 2016-07-07 | 1 | -0/+29 |
| | | | | | | | | | For assisting the TimePickerTest keyboard traversal and keyboard entries CTS tests. Bug: 26187903 Change-Id: Ie30a006d07b7e5f75b11645e84c5df8b470cb52b | ||||
| * | Add setOnDateChangedListener to DatePicker | Clara Bayarri | 2016-06-03 | 1 | -5/+0 |
| | | | | | | | | | | Also refactor slightly the hierarchy in TimePicker to use the common parent AbstractTimePickerDelegate in the same way as DatePicker. Bug: 28310875 Change-Id: Iecaf206ba1691e26d4496014dc1d13f070c4722a | ||||
| * | Use Holo date/time picker layouts on very small screens | Alan Viverette | 2016-03-01 | 1 | -52/+6 |
| | | | | | | | | | | | If the screen is smaller than "small" then use the Holo picker layouts. Unifies the SavedState between delegates so that we can seamlessly transition between them during configuration changes. Pushes the DatePickerSpinnerDelegate up to the same level as the calendar delegate. Bug: 27239893 Change-Id: Ida4dc2748d38bd766ae93d12aef15e963921939c | ||||
| * | Set mTempCalendar in TimePickerSpinnerDelegate | Alan Viverette | 2015-11-19 | 1 | -6/+7 |
| | | | | | | | | | | A previous CL removed setLocale(), which had been initializing the temp calendar. This CL also makes the calendar final, since the locale is only set once during construction. Bug: 25776094 Change-Id: If0af34df3120a7c4b1667129a553b9f8b7ec1999 | ||||
| * | Clean up TimePicker | Alan Viverette | 2015-11-16 | 1 | -52/+33 |
| | | | | | | | | | | No functional changes, only refactoring: - shorten method and variable names - remove unused validation callback - avoid using return in setters Change-Id: Ie7c19cfe3c5cb515695f943c534899d37ad032bb | ||||
| * | Reduce overly aggressive use of narrowAm / narrowPm. | Narayan Kamath | 2015-07-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increase threshold to 4 from 2. Given that this threshold is applied independently, we now have a few more languages where we use a mixture of narrow and regular AM/PM markers. Those languages are : Bodo (brx), Cherokee (chr), Ewe (ee), German Swiss (gsw, not de-CH) and Makonde (kde). I've included a full table of diffs in the commit message. bug: 22208502 1,5c1,5 < L= af AM= v , PM= n < L= af-NA AM= v , PM= n < L= af-ZA AM= v , PM= n < L= agq AM= a , PM= p < L= agq-CM AM= a , PM= p --- > L= af AM= vm. , PM= nm. > L= af-NA AM= vm. , PM= nm. > L= af-ZA AM= vm. , PM= nm. > L= agq AM= a.g , PM= a.k > L= agq-CM AM= a.g , PM= a.k 9,10c9,10 < L= am AM= ጠ , PM= ከ < L= am-ET AM= ጠ , PM= ከ --- > L= am AM= ጥዋት , PM= ከሰዓት > L= am-ET AM= ጥዋት , PM= ከሰዓት 68,71c68,71 < L= br AM= am , PM= gm < L= br-FR AM= am , PM= gm < L= brx AM= a , PM= p < L= brx-IN AM= a , PM= p --- > L= br AM= A.M. , PM= G.M. > L= br-FR AM= A.M. , PM= G.M. > L= brx AM= फुं , PM= p > L= brx-IN AM= फुं , PM= p 84,85c84,85 < L= chr AM= a , PM= p < L= chr-US AM= a , PM= p --- > L= chr AM= ᏌᎾᎴ , PM= p > L= chr-US AM= ᏌᎾᎴ , PM= p 114,119c114,119 < L= ee AM= a , PM= p < L= ee-GH AM= a , PM= p < L= ee-TG AM= a , PM= p < L= el AM= π , PM= μ < L= el-CY AM= π , PM= μ < L= el-GR AM= π , PM= μ --- > L= ee AM= ŋdi , PM= p > L= ee-GH AM= ŋdi , PM= p > L= ee-TG AM= ŋdi , PM= p > L= el AM= π.μ. , PM= μ.μ. > L= el-CY AM= π.μ. , PM= μ.μ. > L= el-GR AM= π.μ. , PM= μ.μ. 144c144 < L= en-GB AM= a , PM= p --- > L= en-GB AM= a.m. , PM= p.m. 153c153 < L= en-IE AM= a , PM= p --- > L= en-IE AM= a.m. , PM= p.m. 215c215 < L= eo AM= a , PM= p --- > L= eo AM= atm , PM= ptm 314,315c314,315 < L= ga AM= a , PM= p < L= ga-IE AM= a , PM= p --- > L= ga AM= a.m. , PM= p.m. > L= ga-IE AM= a.m. , PM= p.m. 318,323c318,323 < L= gl AM= a , PM= p < L= gl-ES AM= a , PM= p < L= gsw AM= a , PM= p < L= gsw-CH AM= a , PM= p < L= gsw-FR AM= a , PM= p < L= gsw-LI AM= a , PM= p --- > L= gl AM= a.m. , PM= p.m. > L= gl-ES AM= a.m. , PM= p.m. > L= gsw AM= a , PM= nam. > L= gsw-CH AM= a , PM= nam. > L= gsw-FR AM= a , PM= nam. > L= gsw-LI AM= a , PM= nam. 328,329c328,329 < L= gv AM= a , PM= p < L= gv-IM AM= a , PM= p --- > L= gv AM= a.m. , PM= p.m. > L= gv-IM AM= a.m. , PM= p.m. 352,353c352,353 < L= ig AM= a , PM= p < L= ig-NG AM= a , PM= p --- > L= ig AM= A.M. , PM= P.M. > L= ig-NG AM= A.M. , PM= P.M. 356,357c356,357 < L= is AM= f. , PM= e. < L= is-IS AM= f. , PM= e. --- > L= is AM= f.h. , PM= e.h. > L= is-IS AM= f.h. , PM= e.h. 374,375c374,375 < L= kde AM= a , PM= p < L= kde-TZ AM= a , PM= p --- > L= kde AM= Muhi , PM= p > L= kde-TZ AM= Muhi , PM= p 409,410c409,410 < L= kw AM= a , PM= p < L= kw-GB AM= a , PM= p --- > L= kw AM= a.m. , PM= p.m. > L= kw-GB AM= a.m. , PM= p.m. 414,415c414,415 < L= lag AM= a , PM= p < L= lag-TZ AM= a , PM= p --- > L= lag AM= TOO , PM= MUU > L= lag-TZ AM= TOO , PM= MUU 435,436c435,436 < L= luy AM= a , PM= p < L= luy-KE AM= a , PM= p --- > L= luy AM= a.m. , PM= p.m. > L= luy-KE AM= a.m. , PM= p.m. 459,465c459,465 < L= mr AM= स , PM= सं < L= mr-IN AM= स , PM= सं < L= ms AM= PG , PM= p < L= ms-Latn AM= PG , PM= p < L= ms-Latn-BN AM= PG , PM= p < L= ms-Latn-MY AM= PG , PM= p < L= ms-Latn-SG AM= PG , PM= p --- > L= mr AM= स , PM= म.उ. > L= mr-IN AM= स , PM= म.उ. > L= ms AM= PG , PM= PTG > L= ms-Latn AM= PG , PM= PTG > L= ms-Latn-BN AM= PG , PM= PTG > L= ms-Latn-MY AM= PG , PM= PTG > L= ms-Latn-SG AM= PG , PM= PTG 474,476c474,476 < L= nb AM= a , PM= p < L= nb-NO AM= a , PM= p < L= nb-SJ AM= a , PM= p --- > L= nb AM= a.m. , PM= p.m. > L= nb-NO AM= a.m. , PM= p.m. > L= nb-SJ AM= a.m. , PM= p.m. 490,491c490,491 < L= nmg AM= a , PM= p < L= nmg-CM AM= a , PM= p --- > L= nmg AM= maná , PM= kugú > L= nmg-CM AM= maná , PM= kugú 515,516c515,516 < L= ps AM= a , PM= p < L= ps-AF AM= a , PM= p --- > L= ps AM= غ.م. , PM= غ.و. > L= ps-AF AM= غ.م. , PM= غ.و. 527,530c527,530 < L= qu AM= a , PM= p < L= qu-BO AM= a , PM= p < L= qu-EC AM= a , PM= p < L= qu-PE AM= a , PM= p --- > L= qu AM= a.m. , PM= p.m. > L= qu-BO AM= a.m. , PM= p.m. > L= qu-EC AM= a.m. , PM= p.m. > L= qu-PE AM= a.m. , PM= p.m. 572,573c572,573 < L= si AM= පෙ , PM= ප < L= si-LK AM= පෙ , PM= ප --- > L= si AM= පෙ , PM= ප.ව. > L= si-LK AM= පෙ , PM= ප.ව. 576,577c576,577 < L= sl AM= d , PM= p < L= sl-SI AM= d , PM= p --- > L= sl AM= dop. , PM= pop. > L= sl-SI AM= dop. , PM= pop. 582,586c582,586 < L= so AM= a , PM= p < L= so-DJ AM= a , PM= p < L= so-ET AM= a , PM= p < L= so-KE AM= a , PM= p < L= so-SO AM= a , PM= p --- > L= so AM= sn. , PM= gn. > L= so-DJ AM= sn. , PM= gn. > L= so-ET AM= sn. , PM= gn. > L= so-KE AM= sn. , PM= gn. > L= so-SO AM= sn. , PM= gn. 616,617c616,617 < L= te AM= ఉ , PM= సా < L= te-IN AM= ఉ , PM= సా --- > L= te AM= [AM] , PM= [PM] > L= te-IN AM= [AM] , PM= [PM] Change-Id: Id87dd3a41b54f4d1e76535c80439e2436346a607 | ||||
| * | Deprecate AnalogClock widget, Integer methods on TimePickerView | Alan Viverette | 2015-03-18 | 1 | -7/+7 |
| | | | | | | Bug: 19754178 Change-Id: Ic51c40995ce841040d745070243e483d4d97ce5c | ||||
| * | Remove unused imports in frameworks/base. | John Spurlock | 2015-02-28 | 1 | -2/+0 |
| | | | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17 | ||||
| * | First quick implementation of auto assist data. | Dianne Hackborn | 2015-02-06 | 1 | -10/+0 |
| | | | | | | | | | | | | | | | Introduce new AssistData class that contains all data the framework automatically generates for assist. Currently populated with a very simple tree structure representing the app's view hierarchy. Reworked how we populate the class name for accessibility info, so this is provided through a new method call on View that subclasses can override. This method is also used to populate the class name in AssistData. Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc | ||||
| * | Swap names for clock delegates so they are correct | Alan Viverette | 2014-10-23 | 1 | -1062/+380 |
| | | | | | Change-Id: Ic11affae802f0afe4746f65f0b96979a7c5a9c0a | ||||
| * | Prevent excessive accessibility announcements in TimePicker | Alan Viverette | 2014-10-17 | 1 | -17/+30 |
| | | | | | | | | | | This is not a complete solution, and it's still awkward to use for actually setting the time using the radial time picker. Better software keyboard support and explore-by-touch CLs are still pending. BUG: 17994166 Change-Id: Ia2871840a13cb00c140f7f2ab07fe03371acab2f | ||||
| * | Update AM/PM selectors for clock face TimePicker | Alan Viverette | 2014-10-15 | 1 | -79/+101 |
| | | | | | | | | | The selectors are now CheckedTextViews, which makes more sense when using a screen reader. BUG: 17468036 Change-Id: I09c62a08172a710faa8fb7ed2bf99a66331e5701 | ||||
| * | Fix AM/PM text i18n and clean up keyboard support in time picker | Alan Viverette | 2014-09-03 | 1 | -43/+28 |
| | | | | | | | | | | | Also updates date picker to use drawable for the header background to match the implementation in time picker. The time picker background now supports showing a focused state ripple. BUG: 17344077 BUG: 16227517 Change-Id: Ida715badb4a151fc16edd91fd4a0dae32953c99e | ||||
| * | Update date and time picker styling | Alan Viverette | 2014-08-25 | 1 | -48/+7 |
| | | | | | | | | | | | | Change text sizes, fix year picker selected color, remove pulse animations, fix landscape layout centering. BUG: 17185948 BUG: 17187072 BUG: 14973897 BUG: 16938600 Change-Id: I11ad0abb217a950f4a96d1f781e08f09796c67bb | ||||
| * | Use CLDR narrow am/pm markers. | Elliott Hughes | 2014-08-21 | 1 | -2/+4 |
| | | | | | | | Bug: 16938600 Bug: 16842390 Change-Id: Ia1c6470e233966c0d8c399d7c1a22c640fbc40e9 | ||||
| * | Fix date and time picker styling | Alan Viverette | 2014-08-15 | 1 | -78/+11 |
| | | | | | | | | | | | | | | | Removes done buttons from widgets, fixes date picker day selection, fixes dialog layouts in landscape, updates colors. Adds API on AlertDialog for setting the view by resource ID, which is necessary to correctly inflate the view against the dialog's parent view. BUG: 16941550 BUG: 16852521 BUG: 16878697 BUG: 16838659 BUG: 17047435 Change-Id: I138858ce06cd4abf68a2c3361ec170370236b33b | ||||
| * | Use translatable strings for time picker AM/PM labels | Alan Viverette | 2014-08-07 | 1 | -4/+2 |
| | | | | | | BUG: 16842390 Change-Id: Ibdbe9cffb39373f200a09eb0d28b956a1eeb5d13 | ||||
| * | Allow TimePicker/DatePicker to use legacy layout style | Chet Haase | 2014-08-07 | 1 | -0/+1381 |
| In L, the TimePicker was rewritten to use a clock face and the DatePicker was rewritten to use a calendar. This change allows developers to opt into the old style instead (android:timePickerMode="spinner|clock" and android:datePickerMode="spinner|calendar").) Issue #16717952 Pre-L style android.widget.TimePicker on L Issue #16846963 Allow developer to use legacy DatePicker appearance Change-Id: I4ee071fcbc5bf25eab83d6a5cb6ff352a603f90a | |||||
