History log of /packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0647bdb63b41a968f6c07d1a1e600f5a0208d043 08-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> Stop using "group" filter.

The filter had been used in HC but now just causes app crash on
People. This change removes relevant codes and just redirects
users to ALL filter.

Bug: 5581081
Change-Id: Ib4c9b6c2c89149070ec08008cb15c89c3ef5aaf8
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
34b901ca7781cf7fdd4f6275ef98ae73c95749c2 18-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> Filter and header refactoring.

- have AccountFilterUtil to unify account filter implementations.
- modify account header on top of search screens
Now it is bigger than before (40dip > 32dip), and uses people's
blue text color instead of gray (issue 5451033)
- introduce ContactListSeparatorTextViewStyle and use it everywhere

Bug: 5269692
Bug: 5451033
Bug: 5429203
Change-Id: Ibe810ff9adaafc74d53b0dcf171a3853f4be039a
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
320b310f646b2c542c6e1ea0c768f5c38539911e 08-Sep-2011 Makoto Onuki <omakoto@google.com> Merge "Make sure only People and Dialtacts responds to search key"
124e5cbea97366d4db1fa5ffe59efedd5913aded 07-Sep-2011 Daisuke Miyakawa <dmiyakawa@google.com> Make filter header clickable

Bug: 5160689
Change-Id: If2f9435bf0090f8bfc138a45fe2c9c04eec08091
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
8d5abcb71ed4d9671b9066b9e3ffaf5372d2b22c 03-Sep-2011 Makoto Onuki <omakoto@google.com> Make sure only People and Dialtacts responds to search key

- Remove the default search activity meta-data from manifest, so the old-style
search dialog won't show up when the serach key is pressed. It was for
pre-HC style search UI. Now the search key only works on people and dialtacts,
which implement either startSearch or onSearchRequested.

- Removed all the startSearch/onSearchRequested methods which are now
unnecessary.

- Also removed startSearch() in some fragmets. They're not used.

- Tested some viewer/editor/picker activities, and also both dialtacts and
people, the launcher search box, and the SEARCH intent, on both the phone
and the tablet (except dialtacts on tablet). All looking good.

Bug 5230790

Change-Id: If269df74ae218707daa5b7039439c6fea2575e8d
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
3ae114e72617f2faea281d82f7f4ee026d8c5674 25-Aug-2011 Makoto Onuki <omakoto@google.com> Two fixes for custom filter activity.

- Filter out extension accounts with no data.

- Added a couple of convenient methods to AccountTypeManager.

Bug 5160471

Change-Id: Ie6afbfc97927074ec0b57226576e4734bafa5732
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
b5e4419f4ba06d630331669a08613936889f34df 23-Aug-2011 Makoto Onuki <omakoto@google.com> Contacts to display: hide accounts without raw contacts

- Hide extension accounts with no raw contacts.

- Now that building the list hits the database we need to use AsyncTaskLoader.

- Did a little refactoring (e.g. moving mFilter to the adpter) so the code will
work better with a loader.

Bug 5160471

Change-Id: I780985a73325d4d453962e8ea5dca0d68c3c869e
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
52760a1350ff6621b1d02560d59e8995958f1fd4 13-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Show custom filter even when there's only one account.

Without this, the user cannot show "Other contacts", for example.

Bug: 5160888
Change-Id: I1063ec3a1c35348a6f3728abe28d38dd566cf50f
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
8f59c2b18b73df6af3c808802620839f0a6a61d4 04-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Reflect recent UX design changes around filter capability

Include several related changes

- introduce filter option in phone search
-- have limited filter support in PhoneNumberListAdapter. There's
no easy way to share the logic for filtering as People UI
is taking care of Contacts/RawContacts table while Phone UI
needs to take care of Data table, though we may be able to have
some utility library for filter operations.
- have additonal layouts for filtered phone search. Along with it,
also introduce some pixel-perfect design for Phone/People apps
both for phone and tablet
- add "up" capability for CustomContactListFilterActivity
- launch CustomContactListFilterActivity directly from
AccountFilterActivity instead of relying on
their parent Activities (PeopleActivity and DialtactsActivity).
-- In the current structure, IME is shown during migrating
from AccountFilterActivity to CustomContactListFilterActivity
"only in Phone UI", as SearchView temporarily has a focus

FUTURE TODO:
Currently devices without hard menu key show overflow menu in
Phone search mode, while we want soft button on the right side
of search view.

Bug: 5104984
Bug: 5081251
Bug: 5121569
Change-Id: If935f13b33b105884a914b207fd096588825226e
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
2b3f3c54d3beb017b2f59f19e9ce0ecc3e039dbc 27-Jul-2011 Dave Santoro <dsantoro@google.com> App changes for account types with data sets.

This is primarily a replacement of the Android Account object in most
parts of the app with a new AccountWithDataSet object that extends
Account (by adding an additional attribute, the data set).

This also includes a major refactoring of the AccountTypeManager,
both to allow it to handle data sets and to allow for
non-sync-adapter packages to be referenced by the sync adapters for
an account and registered as sources of contact data. Attributes of
the sync adapter that would typically come from the authenticator
can be parsed out of the Contacts XML for these packages.

Bug 5077096

Change-Id: I88f311c64eae78c88e9999bff6f7de8538e62157
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
b7ae952816e330e4e1f7e148df1b6dbb52f28f5a 25-Jul-2011 Katherine Kuan <katherinekuan@google.com> Make "up" button different from "back" button

- Explicitly go to PeopleActivity when "up" is pressed
- Use flag FLAG_ACTIVITY_CLEAR_TOP to prevent having
PeopleActivity multiple times in the back stack
- Use PeopleActivity.class because we don't want to use
a URI like LIST_ALL_CONTACTS otherwise it will switch
the tab or the account filter that has been last set
by the user

Bug: 5071475
Change-Id: Id6f768db3838fa0bc007feda89a92e3d36c8a694
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java
495db43f0a08bd71ba28a42f89b80d38af15afec 07-Jul-2011 Katherine Kuan <katherinekuan@google.com> Bring back account filter

- ContactListFilterController no longer loads accounts and groups,
to display in the action bar drop down menu. Now it just stores
current filter and saves it to preferences.
- ContactListFilterLoader is no longer needed because we're not
loading groups anymore
- Move adapter from ContactListFilterController to the
AccountFilterActivity
- AccountFilterActivity loads a list of accounts and returns
a ContactListFilter as an activity result based on the account
selected
- If "customize" is selected, then the CustomContactListFilterActivity
will be launched.
- Show header in contacts list according to what account filter
was selected
- Update filter activities to holo theme

- TODO: Remove the "display phones only" option in the
customize menu on the phone

Change-Id: I45e0bdee80e7885d39bf09183a66ec50d81d1982
/packages/apps/Contacts/src/com/android/contacts/list/AccountFilterActivity.java