History log of /packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6d68b49aaf5b0fbcce89097ca4c02d73bcea4dd 02-Dec-2016 Justin Klaassen <justinklaassen@google.com> Refactor themes

- Created separate themes.xml file.
- Removed unnecessary styles and themes.
- Removed some colors that should be accessed via theme.

Bug: 25693255
Test: manually verified on N MR1 and KK devices.
Change-Id: Icd5ce5fcdf849a085823cc4293b07cae770049ff
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
900ede28311ddf4502622009a3d5ab44a11b7264 10-Nov-2016 Christine Franks <christyfranks@google.com> Lint fixes

Bug: 32021228
Test: ran release linter, and builds properly

Change-Id: Ib8f6abf9c5c2fc88e0efdaec6d91d63e3941b8e9
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
021521a1df5840a8d0a787b4df3e42e4bd0c171e 08-Jun-2016 Sean Stout <sstout@google.com> World clock search now shows hint text versus hint icon.

Bug: 29074575

When searching for world clocks, the hint will now be "Search.."
versus the magnifying glass icon.

Change-Id: I6bf8c6026ede51698a3841094a1fa22f6dbd37df
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
7c68bc559173d1dc42ac5f0cf127a8db307bd3c0 06-Apr-2016 James Lemieux <jplemieux@google.com> Introduce world city widget
am: 592c66b

* commit '592c66b3eb497d24d1528fb2597059c6e4ec6620':
Introduce world city widget

Change-Id: I4f80b0a6c604ded64615338df2fbf3967d554086
592c66b3eb497d24d1528fb2597059c6e4ec6620 06-Apr-2016 James Lemieux <jplemieux@google.com> Introduce world city widget

Bug: 27282291
Bug: 27693716
Bug: 24126517

This CL includes:
- full implementation of city widget
- event logging for creation/deletion of widgets
- tapping all widgets now opens the app in the prior state
(not the clock tab)

Change-Id: Ia43ec0ebf2f02aba6b7e277e5feca3e8afa91e64
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
59a110ba7df2699b50328520a2b400bc74965915 22-Mar-2016 Justin Klaassen <justinklaassen@google.com> Refactor MenuItemControllers

Bug: 27484313

Resolves an issue where lazy initialization of the menu would sometimes
result in incorrectly inferred text alignment.

Change-Id: I3f9d7395175544d7301a225272ba31f3d94cacdb
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
4e7ee09e878178873241846757b178535da3dd76 02-Feb-2016 James Lemieux <jplemieux@google.com> Add drop shadows beneath the app bars

Bug: 26014484

Activities that gained drop shadows:
- DeskClock
- SettingsActivity
- CitySelectionActivity

Note: the drop shadows are drawn manually rather than using
elevation in order to be backward compatible to KK.

Change-Id: I0b1b95b594f80a60dd6696f149451611c34af354
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
305765726f11d55c5b1db846f0c7c6db7c60663a 31-Dec-2015 James Lemieux <jplemieux@google.com> Remove special characters from comparison when searching cities

Bug: 26346964

All of ' ', '-', '.' and ''' are now removed to make prefix matching more
liberal and the job of locating the correct city easier. For example,
"St. Lucia" is now matched by any of these search terms:

- StLucia
- St Lucia
- St.Lucia
- St. Lucia

I experimented with contains() logic, but it doesn't feel right and breaks
user expectation in many ways, so startsWith() was left in place.

Change-Id: I0b92bbdef677c7309cc551eefbcee8c5e7376263
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
8737d037a77f0ae1ffc144e5289904efda14c9f2 21-Dec-2015 Justin Klaassen <justinklaassen@google.com> Remove unused 'Help' menu item

Bug: 26291852
Change-Id: I2bb1641d6df698d87d85046dad20ce0f9906a3f8
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
1daf1d26e883c225b26ceed5ff50a6a856b97cce 08-Dec-2015 Dylan Phan <lerp@google.com> Make volume rocker change ringer volume instead of alarm

Bug: 23727258
Change-Id: I744ce0aed5c0d63563860d61c9fb8a29ec3d98ad
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
3b5159734db4aa5a526128e12ae1f2127bba2a66 17-Oct-2015 Annie Chin <afchin@google.com> Add talkback announcement for city check/uncheck.

Bug: 25000174
Change-Id: I4a0425b81cc3f9cfa03dbc92700ceef8a2214a6f
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
589f85aaea7519376a6d188515c432c0d5db1d24 30-Sep-2015 James Lemieux <jplemieux@google.com> Merge "Refactor Stopwatch to use new unified DataModel" into ub-deskclock-dazzle
24a54fc16fdf95ee3f76ab99978c3401473dc516 19-Sep-2015 James Lemieux <jplemieux@google.com> Refactor Stopwatch to use new unified DataModel

This refactoring introduces Stopwatch and Lap domain objects.
Instances of these domain objects are fetched via a DataModel
class that is the single point of reference for all stopwatch data.
This allows the data to be shared across the entire application.
In particular, the stopwatch notification and StopwatchFragment
all draw upon the same model to determine what the state of the
stopwatch is and what laps have been recorded.

Change-Id: I6bda1fda73568cb312b167f1f6b10bd1abc99d62
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
0d7fb46636ef70b9c107587c8e8e3b701f721461 29-Sep-2015 Annie Chin <afchin@google.com> Add content description to city checkbox.

Bug: 24066858
Change-Id: Id1f2141d2358b1fc8ede74c469fef202411ef1c2
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
478e310d02fcba4008c82f4c43fa662b713d756b 22-Aug-2015 Fan Zhang <zhfan@google.com> Let MenuItem factory create multiple controllers at once.

Bug: 21032049
Change-Id: If5bf78f19e95aaa30926a08b6299187ee721dea3
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
2ddf7a583828ecb3534e8fcac7392e6e2c7cf5b4 22-Aug-2015 Fan Zhang <zhfan@google.com> Revamp help menuitem.

Bug: 21032049
Change-Id: I8b43b801ad4128f3ef49a45f7577b3d91fbe56c4
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
30ff82649cd5158dea294dddb218dab0931ff266 22-Aug-2015 Fan Zhang <zhfan@google.com> Fix dazzle build.

Change-Id: I88639a83839338e79f1916de3ef6fb47e7f2ab4c
89b52a96f4aef42bf423a7f18b0c124945ec0ec3 21-Aug-2015 Fan Zhang <zhfan@google.com> Use actionbar menu component in CitySelection activity.

Bug: 23351503
Change-Id: Ifac7ef64d7bcff4834276f59805e86091944183b
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
bd9eae10b13e015d1997d06f13e9abe06a7f306b 21-Aug-2015 James Lemieux <jplemieux@google.com> Present Clock's timer beep as the default ringtone

A "settings" package was introduced as a byproduct of this CL.

When choosing the preferred ringtone for timers, the default
selection should play timer_expired.ogg which ships with the
application. This is the only sound played on all prior version of
the application.

Known Issue: the dialog will label the default as
"Default alarm sound". This will be fixed in a later CL.

Change-Id: I4e9c6663c597038ec273b699cdda3a036b376350
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java
34142b1d0f2445bbd606bb490dfef6c078c630ea 14-Aug-2015 James Lemieux <jplemieux@google.com> Refactor Cities (World Clocks) to use new unified DataModel

This refactoring replaces CityObj with City, an immutable description
of a city and its associated clock information. City objects are fetched
via a DataModel class that is the single point of reference for all City
data. This allows the data to be shared across the entire application.
In particular, DigitalWidgetViewsFactory, ClockFragment and
CitySelectionActivity all draw upon the same model to determine what
cities exist, which ones are selected, and what the preferred display
order shall be.

Change-Id: I7c2eaa31b596b5333213415af58a7bb46ebb370e
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/CitySelectionActivity.java