1. 20 Nov, 2015 1 commit
  2. 19 Nov, 2015 2 commits
  3. 18 Nov, 2015 2 commits
  4. 17 Nov, 2015 2 commits
    • James Lemieux's avatar
      Avoid jank in the tabs from a cold open · 84006e23
      James Lemieux authored
      Bug: 24977472
      
      By default, the menu is inflated after the first draw. A proactive
      call to Toolbar.inflate(...) during creation defeats this default
      behavior.
      
      A second problem is that the menu that is inflated by default for
      DeskClock contains the search menu item which is briefly shown.
      By defaulting that menu item to be invisible and only making it
      visible when its corresponding controller exists, the
      dancing/flashing effect is avoided.
      
      Change-Id: I933ab9a59b471abe26e1cf07385e4a4c128d1808
      84006e23
    • Justin Klaassen's avatar
      Load TimeZone list in PrefsFragment#onCreate · 557573da
      Justin Klaassen authored
      Bug: 25706729
      Change-Id: Idf41102e733c5056f98ac4873a5b1dde442ffefe
      557573da
  5. 16 Nov, 2015 1 commit
  6. 14 Nov, 2015 1 commit
  7. 13 Nov, 2015 2 commits
  8. 12 Nov, 2015 3 commits
    • James Lemieux's avatar
      Simplify HandleDeskClockApiCalls, TimerService and StopwatchService · 437da3b0
      James Lemieux authored
      HandleDeskClockApiCalls used to pass through all timer and stopwatch
      mutations to the corresponding Service to complete. This complicated
      the logging of the corresponding event unnecessarily.
      
      After this change:
      
      - StopwatchService is only invoked from stopwatch notifications and may
      now assume the event label
      
      - TimerService is only invoked from timer notifications and AlarmManager
      and may now assume the event label
      
      - HandleDeskClockApiCalls.EXTRA_FROM_NOTIFICATION has been replaced
      with HandleDeskClockApiCalls.EXTRA_EVENT_LABEL which explicitly
      identifies the label of the event
      
      Change-Id: Ic9796c43e826f82138ee431d3abb02524c0146ba
      437da3b0
    • Justin Klaassen's avatar
      Fallback to internal alarm ringtone if necessary · cbb9333b
      Justin Klaassen authored
      Bug: 25177293
      
      If the default system alarm ringtone is invalid or malformed then
      RingtoneManager will return a null Ringtone. In which case we now
      fallback to playing our own internal alarm ringtone.
      
      Change-Id: I1beeec0fc8998ad684e67062ffc0fd0d03f66f68
      cbb9333b
    • James Lemieux's avatar
      Fix mandatory timer creation screen · e100e102
      James Lemieux authored
      Change-Id: Ibe429ba988a8842715c8732b4524eefb2655f7e4
      e100e102
  9. 11 Nov, 2015 4 commits
    • James Lemieux's avatar
      Fix Alarm query · e2b8d1cb
      James Lemieux authored
      Bug: 25630846
      
      Change-Id: I3a7566f6ef2c20ceb487e864fde0f0d12582f8cc
      e2b8d1cb
    • James Lemieux's avatar
    • James Lemieux's avatar
      Refactor Timers to use new unified DataModel · 6d603b7c
      James Lemieux authored
      Bug: 24816218
      Bug: 25494722
      
      This refactoring introduces a Timer domain object. Instances of these
      domain objects are fetched via a DataModel class that is the single point
      of reference for all timer data. This allows the data to be shared across
      the entire application. In particular, the timer notifications, TimerFragment
      and ExpiredTimersActivity all draw upon the same model to determine
      what the state of the timers are.
      
      IMPORTANT: The public intent com.android.deskclock.action.STOP_TIMER
      has been renamed to com.android.deskclock.action.PAUSE_TIMER to be
      more accurate.
      
      Change-Id: Ib904e80a25c6de1861de2b395bec27db16ff0e66
      6d603b7c
    • James Lemieux's avatar
      Shorten clock tab animation · c61f219a
      James Lemieux authored
      Bug: 25631044
      
      The clock tab animation was noticeably longer than the other
      tab animations. Some rotations were removed to shorten its
      duration. Also, animated vectors are v22+, so the resource files
      were moved into /animator-v22 to fix some lint warnings.
      
      Change-Id: I90b116df2a3cc7a30bdd69b8e478207dd3f016fb
      c61f219a
  10. 10 Nov, 2015 3 commits
  11. 09 Nov, 2015 1 commit
  12. 04 Nov, 2015 3 commits
  13. 28 Oct, 2015 3 commits
  14. 26 Oct, 2015 2 commits
  15. 24 Oct, 2015 1 commit
  16. 23 Oct, 2015 3 commits
  17. 22 Oct, 2015 1 commit
  18. 21 Oct, 2015 5 commits