1. 01 Mar, 2011 1 commit
    • RoboErik's avatar
      b/3465101 b/3440829 Fix widget loading issues · c46c2dc5
      RoboErik authored
      Makes the widget load asyncronously so it doesn't ANR
      and limits the reload rate to twice a second so it doesn't
      flash a lot.
      
      Change-Id: I7a8dd9bcec4a9178e9ae898fa2ef21fa21d33a49
      c46c2dc5
  2. 29 Jan, 2011 1 commit
  3. 25 Jan, 2011 1 commit
  4. 23 Jan, 2011 1 commit
  5. 19 Jan, 2011 1 commit
  6. 18 Jan, 2011 1 commit
  7. 10 Dec, 2010 1 commit
  8. 09 Dec, 2010 2 commits
  9. 23 Nov, 2010 1 commit
  10. 04 Nov, 2010 2 commits
  11. 03 Nov, 2010 2 commits
    • Erik's avatar
      First draft of turning on hardware acceleration · 3937a47b
      Erik authored
      This enables hardware acceleration and does some tweaks to
      the draws to make them still usable by the user. The draw
      code still needs to be tweaked to match the UI design and
      for performance.
      
      Change-Id: Icf86e16e2e3a0c79b852fc48fcbdb1ffde656f73
      3937a47b
    • Erik's avatar
      Moves Edit Event back into an activity · 5f62079a
      Erik authored
      Also updates the permissions for adding reminders to events and
      fixes b/3125518, b/2976280, and b/3023359.
      
      TODO Check exceptions to see if they haven't been synced yet
      before allowing them to be edited.
      
      Change-Id: I0fe7777d69d61da6cc17b4a0714ed020bd2fc1d6
      5f62079a
  12. 26 Oct, 2010 1 commit
    • Erik's avatar
      Remove the bitmap draw/copy from DayView · c29b2d33
      Erik authored
      This cuts out the code that did a separate draw to a bitmap
      and then copied it over to the canvas and instead draws directly
      to the canvas. This allows us to also have a background image
      and speeds up draws significantly.
      
      Change-Id: I3a7c396c182477dfe17e6d5d65acc45f986b9af5
      c29b2d33
  13. 11 Oct, 2010 1 commit
    • Michael Chan's avatar
      Major bug fixing in EventInfo and EditEvent · 352e1a2f
      Michael Chan authored
      In EventInfo/Popup:
      Fixed reminders and response
      Set a fixed height
      Renamed Edit event button to Open event in the Event popup
      Enabled Open event button unless it's a free/busy calendar
      Removed action bar buttons in Event popup
      Disallow reminders for busy/free calendars
      TODO: Update UI only if everything is loaded
      
      In Edit Event:
      Switch to side-by-side label format
      Have everything ready before removing "Loading" msg
      Added organizer
      Restrict adding of attendees:
        For non-organizers, write permission to the calendar is sufficient.
        For organizers, the user needs a) write permission to the calendar
          AND b) ownerCanRespond == true AND c) attendee data exist
          (this means num of attendees > 1, the calendar owner's and others).
      TODO: Attendees do not always show up. Need to switch from listview to linear layout
      TODO: Move to one column format for portrait in EditEvent
      
      Turned on Holo.light theme but the light version isn't ready in the framework yet.
      Removed dependency to android.test.runner
      
      b/3052155
      b/2709441
      b/3060967
      b/3060985
      
      Change-Id: I4a25fecf3ade6a7924ba7b55801daced3dca6fa7
      352e1a2f
  14. 01 Oct, 2010 1 commit
    • Erik's avatar
      Switches settings to use the light holo theme · 7c92a470
      Erik authored
      PreferenceCategory titles don't inherit the theme correctly, but
      this seems to be a frameworks issue. See b/2569810 and b/2308250
      for related bugs.
      
      Change-Id: I6890e273740071fbd6603c292276bccee1f81270
      7c92a470
  15. 21 Sep, 2010 1 commit
    • Erik's avatar
      Moves per calendar sync settings into Settings · 6b858fc6
      Erik authored
      This makes calendar sync settings show up on a per account basis
      in the Calendar Settings activity and also displays a message to
      the user if the account is not being auto-synced.
      
      Change-Id: I2326922f518ae3bc8d1db70ae5c1d5b07b251ca3
      6b858fc6
  16. 17 Sep, 2010 1 commit
    • Daisuke Miyakawa's avatar
      Make settings screen support two pane mode. · 4b441bd6
      Daisuke Miyakawa authored
      1) Rename CalendarPreferenceActivity to GeneralPreferences, and
         add CalendarSettingsActivity for top-level Activity.
      
      We should retain previous logs for CalendarPreferenceActivity,
      and we shouldn't call it "Activity" any more, as it is Fragment.
      
      I'm not sure whether the new "CalendarSettingsActivity" should
      be named so, or renaming it to "CalendarPreferenceActivity"
      to keep consistency around naming.
      
      2) Add necessary xmls.
      
      Some of them are derived from Settings app, which already has
      new two pane structure, so refering its logic seems enough for now.
      
      Change-Id: I6a0b04bb824d06c2842cbd8127e2860c45350987
      4b441bd6
  17. 01 Sep, 2010 1 commit
    • Erik's avatar
      Move EditEventFragment into AllInOneActivity · dd95df57
      Erik authored
      This change makes AllInOneActivity be the launch point for edit event
      and causes it to take over as a full screen view. This way we can
      handle message passing between edit event and the rest of calendar
      as well as maintain the actionbar items.
      
      Also fixes b/2954347
      
      Change-Id: Ib28e5382abbfe4f72a183c0945f27e61b7fd176e
      dd95df57
  18. 26 Aug, 2010 1 commit
    • Erik's avatar
      New Edit Event layout · d845fbe5
      Erik authored
      Some large changes to EditEvent including a new two-pane layout,
      an attendance widget, and a list of attendees with remove buttons.
      This also removes a lot of the excess layout code and cleans up
      the theme code.
      
      Change-Id: I87ab3511f7bb6501f2aa4bf6d33b5d4f8e6f4936
      d845fbe5
  19. 25 Aug, 2010 1 commit
  20. 20 Aug, 2010 1 commit
  21. 11 Aug, 2010 1 commit
    • Mason Tang's avatar
      Added support for scrolling list views in the widget · 47d40324
      Mason Tang authored
       - Click behavior on widget is still wonky
       - "No events" view is a hack, and doesn't look quite right
       - Event selection behavior still not finalized, relevant unit tests disabled
         for now
      
      Change-Id: I693854d794d8d3777b856d2cd51cf27d2936b8df
      47d40324
  22. 27 Jul, 2010 3 commits
  23. 23 Jul, 2010 1 commit
  24. 22 Jul, 2010 1 commit
    • Michael Chan's avatar
      - Save/Restore viewType across rotation and quitting · d6734dbb
      Michael Chan authored
      - Read desired viewType from intent (from Widget for example)
      - Added a new viewType DETAIL for detail viewing which is the last of Agenda or Day. This is typically triggered from widget and tapping on a day in month view)
      - Added SelectedTime (not in use right now)
      - Removed Calendar AllInOne Icon in launcher. Back to just one Calendar.
      - Fix the problem the time not displaying properly after rotation
      - Cleaned up the old detailview stuff, yuck.
      - Removed unused code from CalendarApplication and CalendarData.
      
      Change-Id: I78a2172da282fedfc2559cde529a4f034430912b
      d6734dbb
  25. 21 Jul, 2010 1 commit
  26. 02 Jul, 2010 1 commit
    • Erik's avatar
      Adds an action bar to the allInOne Calendar view. · 2051f127
      Erik authored
      The Action Bar doesn't have any functionality yet, but it provides the
      setup for creating the bar and adding elements to it.
      
      Change-Id: Ie4b6214d88dcb73869e04aeb098737efdacf2a59
      2051f127
  27. 30 Jun, 2010 1 commit
  28. 24 Jun, 2010 1 commit
    • Mason Tang's avatar
      Refactored so that the widget is now with the app, not the provider · bb3f08ab
      Mason Tang authored
       - CalendarAppWidgetReceiver now functions as the broadcast receiver for:
           * android.intent.action.TIMEZONE_CHANGED
           * android.intent.action.TIME_SET
           * android.intent.action.PROVIDER_CHANGED (content://com.android.calendar)
       - CalendarAppWidgetService has been refactored to use IntentService for
         serializing widget updates
       - AppWidgetShared has been preserved for managing wake locks
       - CalendarAppWidgetModel was pulled out into its own class
      
      Change-Id: If7641aba278acc8ad00f14acd289ddbcbb1d5bcf
      bb3f08ab
  29. 21 Jun, 2010 1 commit
    • Michael Chan's avatar
      AsyncQueryService · bed02751
      Michael Chan authored
      Helper class that performs ContentProvider operations in a Service
      
      Features:
      - Executes the operation in a background Sservice which minimizes the chance of the operation getting lost because the caller (Activity) is killed.
      - Designed for easy migration from AsyncQueryHandler.
      - In additional to query/insert/update/delete, it also supports batch mode i.e. ContentProviderOperation
      - Undo support in the form for delayed operation with cancel
      
      Todo:
      - Add wake lock
      
      Change-Id: Id3b24a34e5af11da448bace585911bcd7d4553c5
      bed02751
  30. 17 Jun, 2010 1 commit
    • Erik's avatar
      Creates an EditEventView with as little app logic as possible · eca82e94
      Erik authored
      This is work on separating the UI and the logic for Calendar. The view
      should be responsible only for updating a model in response to user interaction
      and notifying the controller when it is finished. All other work should be
      handled at the fragment or activity level. This version does not introduce the
      use of fragments. They will come in the next version. It does make all the event
      queries asynchronous.
      
      Change-Id: If967c77f39bbbe09490a5fe5e78151e828c8e6cf
      eca82e94
  31. 17 Mar, 2010 1 commit
  32. 26 Feb, 2010 1 commit
    • Erik's avatar
      b/2412594 Added an implicit intent filter to the Calendar Launcher. · 1ef7f3ae
      Erik authored
      Added an implicent intent filter to the Calendar launcher so it will no longer be tied
      to the package name. And added functionality to allow a data uri to be passed giving a
      time to start the calendar at as well as allowing "VIEW" as an extra with "DAY" to go
      to the day view directly.
      1ef7f3ae
  33. 17 Feb, 2010 1 commit
    • Jeff Hamilton's avatar
      Always use a consistent name for SharedPreferences. · a17725e2
      Jeff Hamilton authored
      The code was relying on the package name for
      SharedPreferences, which is problematic if running
      under a new package name.
      
      Also, remove the use of the shared user ID.
      
      Change-Id: I9d2c8c78588d7b9868318153d0788addb84f11a6
      a17725e2
  34. 11 Feb, 2010 1 commit
  35. 15 Dec, 2009 1 commit
    • Michael Chan's avatar
      b/2224837 Changed the plumbing of how alerts/notifications work. · e2ae1ef8
      Michael Chan authored
      Cut down on the number db queries when process alerts
      Fixed a cursor leak
      Flash the event name and location in the notification bar
      b/2205255 Show the latest event in the notification. Prioritize based on your acceptance response.
      b/1544909 Flash green LED for when there's a calendar notifications.
      b/2224837 Cleanup alert/notification plumbing in Calendar
      b/1735201 Calendar notifications are not updated when locale is changed
      
      Change-Id: I86b6904607b0236fb04719f5782f43674ac6d2bc
      e2ae1ef8