History log of /packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb6d9279d8c0f0fb746160ad428da4738ece175e 18-Aug-2012 Michael Chan <mchan@android.com> Switch from switch to if-else to be compatible with the new ADT

Change-Id: Idd1d803d3edc1eb0294a63480731b5d28a65c4e8
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
44961ee254c374c71060fb641a8d50f4c3b4869b 31-Jul-2012 Isaac Katzenelson <isaack@android.com> Fix today icon in search activity for unbundled

Bug: 6881727 [stability/Xoom/ICS ]NPE at android.graphics.drawable.LayerDrawable$LayerState.<init>
Change-Id: Idcd9e99304c2b24dd271d103a40a453fdc6909f3
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
c999316fd5a6a8c6291a885e0e239cedf86b59b2 09-May-2012 Isaac Katzenelson <isaack@android.com> Fix today icon in search activity

Bug: 6465067 Today icon missing date when searching in landscape mode
Change-Id: I7ea2654c67edc2cfd1dc21d6d97705320b593e94
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
6bcafcf4f28c2d1053547694bd60b3dd9c7fbaa1 03-May-2012 Isaac Katzenelson <isaack@android.com> Fix agenda view goto behavior

Bug: 6285812 Tapping on an all day events on Tablet Agenda view makes the view to change like crazy
Change-Id: I643106a23acff88b16da3b8f45ce8c908b70506c
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
99704a2787158bf670fa4a7b4e4f89ace10afa00 11-Nov-2011 Michael Chan <mchan@android.com> b/5233576 Fixed the problem where long desc are not showing

Change-Id: Ic12e5e0158021996d0b3822803a4dad8fb10d904
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
79322397ba03d38f9d7345ffa3842a816d7b3be9 03-Nov-2011 Isaac Katzenelson <isaack@android.com> Fix search results event info layout on tablet

Bug: 5565098 On tablet, event views on Search got the Phone UI (smaller fonts etc.)
Change-Id: Ie8e372d83e9b62bb37b6b7fc3ca59db22456e4be
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
7ef2981ab9ad32a6818b36cefbd39f070ba708ed 26-Oct-2011 Isaac Katzenelson <isaack@android.com> Support for 7 inch devices

Changed layout directory names
Added values directories
Added config values to support event info behavior

Change-Id: I78d14e952250008cc453ed7b2ff3ec638eea6eac
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
61310b7263c6d6477f252789f6288991d51ec8cc 08-Oct-2011 Paul Westbrook <pwestbro@google.com> Unregister all event handlers

Bug: 5409478
Change-Id: I7c4fa2622533fd83988b26b71cf47b554ccede00
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
89af189b563a511275f9c65ab9a85b06c66e88b5 06-Oct-2011 Paul Westbrook <pwestbro@google.com> Fix memory leak

Event handlers need to be deregistered from the Contoller, especiall
when the event handler is an Activity instance. With out doing this,
the controller will keep a ref to the activity. This will prevent
the Activity from being finalized

Bug: 5409478
Change-Id: If3f935c29122fd1b1cf5ef301598fb1ecd73717f
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
1202678f3eac9f6d1ad7b4a2700e9be6e38e3e75 05-Oct-2011 RoboErik <epastern@google.com> b/5399911 Make search launch event info instead of edit

Change-Id: Ice2577555b82623f65c4a03584261e67e663863c
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
09bf38ae2ef172c249dbb9aad81badee6f982f92 18-Aug-2011 RoboErik <epastern@google.com> b/5167988 Update query text on suggestions search

Change-Id: I788e6d89e7964a398b64cf9d96ccc279c2a80229
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
fb0ec227f0d4b3108438c88a6b6d234f5e40fb5c 13-Aug-2011 Michael Chan <mchan@android.com> b/5045764 After tapping on a day from Month, back will take you back to month

Previously, back will kick you out of the app

Change-Id: I2e1c36442b99017fbfe7f1e990a24f15ded4bee9
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
eedc9fc0631f3c8727df3c0e73474ebcdecd89fe 11-Aug-2011 RoboErik <epastern@google.com> b/5128532 Update bg assets for agenda and month

Change-Id: Iae4239cc9fa096a7144ecc14d5440bb5279b3baf
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
2bd5cc06a7a89a848688416456f1b8f915542d57 28-Jul-2011 RoboErik <epastern@google.com> b/5064080 Add toast for empty events not saving

Also tweaks some search things.

Change-Id: Iaf953a240e633563a842f5f410c29790938929f2
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
a095494586efca8db57e495dc7d87034ce57c9e8 28-Jul-2011 RoboErik <epastern@google.com> b/5076961 update searchView for new behavior

b/5087980 will allow us to default the SearchView to be expanded
but we still need to switch to using the expand listener instead
of onClose.

Change-Id: I69292ebdbe8a21ada64e38ae9316f70928101e11
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
50f10944eddba97e6730bbdc7545672d0eeec08c 26-Jul-2011 RoboErik <epastern@google.com> b/5076961 Fixes up search patterns

The Search screen won't work correctly until b/5086888 is fixed.

Change-Id: I7b483da506feed45dd4e57b48639a8c75da8ee71
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
07d9fee87bc02849c0dd7b66326a320d53cf5479 25-Jul-2011 Michael Chan <mchan@android.com> b/5072056 Avoid the Activity Picker by specifying the class in intents

Specific cases fixed:
- Tap on the widget
- Tap on an event from notification
- Tap on Home/Up from Settings (tested tablet, phone is missing home/up button)
- Tap on an event after search (phone)

Change-Id: I4554726dd4a6af77cd83438b9ae3801ca15522d5
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
c0f6efee87520ce0c8b52246129169f94850177b 12-Jul-2011 RoboErik <epastern@google.com> Make up button specify the current app

Otherwise it asks which Calendar if you have the open source
and google versions both installed.

Change-Id: Ibf386a2baa77bc3cb9e2933fdf00e6a0654848f6
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
a27a886892fe3ec5edbc63c0b58e0a988623011a 24-Jun-2011 RoboErik <epastern@google.com> api comment fixes

Change-Id: I711673a21a5314cd3ddf374fd764bda79cb0c6da
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
064beb957ae443760118023a40fd7001eb11c1a1 17-Jun-2011 RoboErik <epastern@google.com> Update authorities and actions based on package

Change-Id: I1ddef4bb6dde3d375b5cd2c37042df7fb1986af7
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
a7c0390d9c5dd4ff730de505682687fae5f5ced0 14-Jun-2011 RoboErik <epastern@google.com> Rename Calendar.java to CalendarContract.java

Change-Id: Ia6692454099322f6891b326b2c1ad919c13026b7
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
3f888688c0f2644ad3de032d5d1cf623a7b092fd 08-Jun-2011 Andy McFadden <fadden@android.com> Minor tweaks to support Calendar unbundling

A collection of minor changes:
- stop using VMRuntime.getRuntime().setMinimumHeapSize()
- access the View's context through getContext()
- don't use VisibleForTesting

Bug 4575374

Change-Id: I7328cd95728e96e3c772a96350c63271ee61ba8a
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
c250e2eae5156fdc5233b7f1d319ee81dfc1cbd9 23-May-2011 Michael Chan <mchan@android.com> New intent for creating events

Change-Id: I4632c78d838b3ec5a0b3a893d6a3155f2c47daaf
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
ccf565b6a00e1df8c0de824ac91e9f6746e246b5 27-Apr-2011 Isaac Katzenelson <isaack@android.com> Agenda fixes

Change-Id: I5654884027f0ee085f7a68c62ecf9c510937fb12
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
5b2a907fa3a983f74bb48da86846e351c2a464d0 09-Apr-2011 Isaac Katzenelson <isaack@android.com> Removing icon and hide/show controls from action bar

Change-Id: I3883787e0eabcf41b91d451ca50f30970e87175b
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
0b1bd10dbf90e55821a555c68a8a444854e31252 07-Apr-2011 Isaac Katzenelson <isaack@android.com> Fix event info layout and removing icon from bar for phone

Change-Id: Ifff52390c9c0d5fcfdf5f1c4001aab4a7edc7b42
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
b9b34ea19f7b74f6d9dceccc19cc110d68291c74 04-Mar-2011 Michael Chan <mchan@android.com> Clean up

Change-Id: I90d04b6a44642cca4e7065f3d0ed7cd2a5b70b1d
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
28f9b35401fdc5660087479796780a012656099d 21-Jan-2011 Adam Powell <adamp@google.com> API change - bug 3370353 and bug 3370338

Change-Id: I9243d9c75e4771a46be2d674e6e172905d613d56
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
cb83031d2025eded6d2594ea3f864f404a3673e0 19-Jan-2011 Erik <epastern@google.com> b/3314248 Fix up search implementation

Adds submit button, causes search to remain open, causes calendar
to return to default view when search is closed.

Change-Id: If3ca5584457ff6981f589744cb7d619e2f300702
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
12b33308221db42aff24310f2617f4471886daab 17-Jan-2011 Dianne Hackborn <hackbod@google.com> Follow API changes.

Change-Id: Ic13ac177af1a1f4e98fef7a5743bb618e38c1a3e
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
e584a7df962b8e643224bcbce022c9bea19fe221 11-Jan-2011 Erik <epastern@google.com> b/3237643 Adds 'up' button to action bar

This makes clicking the app icon go 'up' in search, settings,
and edit event.

Change-Id: Id01483f340da055732fdf30f2557ddeaf9d2802c
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
46a8b1117b0510a8dfd50586d5d22aa86b8dc1b9 15-Dec-2010 Michael Chan <mchan@android.com> b/3240249 Show the current time when Today is pressed.

Basically, always jump to the time specified in the event
except when the user taps mini-month.

Change-Id: Ia507107dfa0568a0c439f5d272f35793c04f1382
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
2c7c851a4e40afa83a741ec39d44425b705a712e 10-Dec-2010 Michael Chan <mchan@android.com> b/3189042 Handle ACTION_VIEW in AllInOne. Removed EventInfoActivity.

Change-Id: Ic00300e5d48d264ade7d400d703cba8f5a2b8626
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
a7694eead7cbb293990bc89c3906e17bad36194c 08-Dec-2010 Erik <epastern@google.com> Add card style event view to search

This puts the read only card style event into search. Two big
todos for search are:
1)open an event by default on load
2)attempt to reopen an event when data changes, or open a new
default if the previous event was deleted.
3)re-examine the onPause saving behavior once b/3263703 is
resolved.

Change-Id: I52c2d26d683cfb478b163a7636c151b902a7a020
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
ab348bbe0f26896407e0ae22dae76106839fc87b 23-Nov-2010 Michael Chan <mchan@android.com> Clean up unused API from controller

Change-Id: Ibcd9fd6797b6562d9e3a480ad3eb0efed6894efc
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
cb81189e4868769ea016253eca104e46df2f033a 28-Sep-2010 Erik <roboerik@android.com> Makes bubble and event info in search update tz

Also fix for b/3044748 by moving rebuilding of views into
onResume if we were notified of a change while paused. Also
discovered that if search activity refreshes with a single
event earlier than today it doesn't requery correctly and
fails to expand to the event.

Change-Id: Id55fc8b0effe05bf35f2c4ebd71d70826784174b
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
6b858fc6f8afad95a075595016c5c22547924886 16-Sep-2010 Erik <roboerik@android.com> Moves per calendar sync settings into Settings

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
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
6d2e6f78726cc167e561148a3efb27aa15524b82 17-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Make AllInOneActivity use SearchView API.

Bug: 2996475
Change-Id: I00c79b50284cde71aacbe4899dd57cced0c8bb23
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
3a0e67b1d81a6170a844bb6f9e294efa3a42650a 24-Aug-2010 Mason Tang <masontang@google.com> Enabled recent queries for search suggestions in calendar search

- Also provided a way for users to clear search history from settings

Change-Id: I1ad366021a0cb32af0260f31bd3d42d36aeabfb1
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
00b8c1a39d75c1b4626dc987bd1a51cfaf7c9be1 23-Aug-2010 Mason Tang <masontang@google.com> Moved agenda-related classes into an agenda package

Change-Id: If834a652490938b4a31bfd5f6fa4e1aea2a6ffa7
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
1df2ca65a852fda463b1d787cd4f81680103b6a2 19-Aug-2010 Mason Tang <masontang@google.com> Added in preliminary action bar support for search

Change-Id: I4b5b0ea40b5ef8b5f193eecf06617291fb7aa18f
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
4003d1cd4d1ebe3863c9d3e92cd4232595183064 17-Aug-2010 Mason Tang <masontang@google.com> Implemented a search activity, two pane results layout

- The new search activity uses its own instance of CalendarController
- Some modifications to the event info fragment were necessary
- Activity title is still being set erroneously by the fragment

Change-Id: Ib2810a3330f9272ed824d5341abd49bb7a842772
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
2bebde787f9490408ceaf14166de4b016a10daf1 05-Aug-2010 Mason Tang <masontang@google.com> Converted EventInfo into a fragment

- Also fixed a bug where onResume for search did not work properly
- Refactored EventInfo to use an AsyncQueryService instead of calling managed
queries, parallelized the queries as much as possible to speed up UI

Change-Id: I93554c76e569a11013fcd8c232d9cfb0d20ec46c
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
0948785d981b618447c2c067a6374725b7acefda 27-Jul-2010 Mason Tang <masontang@google.com> Added search to the action bar, clearing out events with new searches

- Search is now accessible from the menu and the action bar
- When searching, the agenda view list is cleared out and "loading..." is
displayed

Change-Id: If8878671ff2c41075c2fd533b6cb1208d86fc6dd
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
4484b04707d5570a6de4a5a4b228a9bb273bbab7 27-Jul-2010 Michael Chan <mchan@android.com> Remove unneeded classes: MenuHelper, Day/Week View and Agenda/Day/Week/Month Activities

Change-Id: Id39e0529f6ff051de5deea23497b3f0f4f7fdb6b
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
d6734dbbd704cdb1bc331d1bd74b7a3be58f69ff 22-Jul-2010 Michael Chan <mchan@android.com> - Save/Restore viewType across rotation and quitting
- 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
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java
9138ce8a14924612c014da2b6e727b4117ba1a92 28-Jun-2010 Mason Tang <masontang@google.com> Added basic support for searching events

- Reusing agenda view for displaying search results
- Currently not fragment-ized

Change-Id: I687b61ca86f92a54c1e402b881edd83111806161
/packages/apps/Calendar/src/com/android/calendar/SearchActivity.java