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/alarmclock/AnalogAppWidgetProvider.java
|
1415d4cd56f67b4a7a0aca254a698c65c5eecffd |
|
09-Mar-2016 |
James Lemieux <jplemieux@google.com> |
Overhaul the digital clock widget Bug: 7346144 Bug: 26747882 Bug: 27391440 Bug: 27226990 Bug: 27282291 Bug: 18410094 Bug: 22124815 Bug: 27459689 Bug: 24003653 Bug: 27118501 The digital clock widget now scales to the size it is granted by the user. The scaling is accomplished by dynamically choosing a font size, and testing (through offscreen measurement) if the chosen font will successfully fit in the widget's allocated space. This technique should be successful across all locales, fonts and sizes. Note, as of this CL, digital clock widget no longer contains world cities. It only displays the current time, date, and next alarm time. Plans exist to create a new stand-alone widget for just the world cities. Change-Id: I2890f7a1aa8687218f1bbef485dc1154c65bde15
/packages/apps/DeskClock/src/com/android/alarmclock/AnalogAppWidgetProvider.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/alarmclock/AnalogAppWidgetProvider.java
|
7048625adb7c349deab4c00b2d85bcf65c164ae5 |
|
24-Oct-2012 |
Isaac Katzenelson <isaack@android.com> |
New digital clock widget for Clock Bug: 7390795 Added a new widget with its own provider and service and factory. Factory extends a broadcast receiver and listens to all time changes, locale changes, changes in world clock and alarms. Added broadcasts for changing the world clock's user cities list and for setting the next alarm. Change-Id: Ida4bbd619da941fb46505cb2ac653fde0a41a97f
/packages/apps/DeskClock/src/com/android/alarmclock/AnalogAppWidgetProvider.java
|
11c7d96ff5869604731db583797161107dd99aef |
|
17-Sep-2012 |
Itzhak Katzenelson <isaack@android.com> |
Change widget bahvior to start DeskClock Bug: 7175113 Change-Id: I5367a3ae97d9f31e3539d75e3eb210632916cb16
/packages/apps/DeskClock/src/com/android/alarmclock/AnalogAppWidgetProvider.java
|
881485a7438540224f06245fb5f2afa482fc8396 |
|
17-Jan-2011 |
Joe Onorato <joeo@google.com> |
Using PendingIntent.FLAG_CANCEL_CURRENT makes it so there can only be one of the widget at a time. Bug: 3313989 Change-Id: Ida849732b7ed81879bdb3f268abf2deb57c7c8eb
/packages/apps/DeskClock/src/com/android/alarmclock/AnalogAppWidgetProvider.java
|
6b4ab26bedae5f34d6df12bf5100822de86e4e49 |
|
04-Mar-2010 |
Patrick Scott <phanna@android.com> |
Move the widget into com.android.alarmclock to allow upgrades.
/packages/apps/DeskClock/src/com/android/alarmclock/AnalogAppWidgetProvider.java
|
fa954248b41b567dfa2ddd7bd063d3936a51758e |
|
16-Oct-2009 |
Daniel Sandler <dsandler@google.com> |
Moving things around a little in the new DeskClock. - Package is now com.android.deskclock - Launches in response to insertion in desk dock or DESK dialercode TODO next: split the AlarmClock activity into a DeskClock and AlarmList (or similar).
/packages/apps/DeskClock/src/com/android/alarmclock/AnalogAppWidgetProvider.java
|
bcdf0e36db34f2875fd1df75826043e75c6cdeb0 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/packages/apps/DeskClock/src/com/android/alarmclock/AnalogAppWidgetProvider.java
|