History log of /packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
11798d44eb59efc943ba5c78635426d3b773db19 15-Apr-2017 Wenyi Wang <wenyiw@google.com> Fix long logging tags

- Delete unused tags, shorten the tags in use including the
tags for logging and those for adding a Fragment to
FragmentManager

Bug: 36711497

Test: none

Change-Id: Ia2fc473257eade62f0dd4cb12140be77f506baf8
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
b697ed768fb817f94524f6c3992547665df331c4 21-Dec-2016 Marcus Hagerott <mhagerott@google.com> Replace switches on resources with if-else

This is necessary for the project to build as an Android library which
is planned for Google3.

Test: ran GoogleContactsTests

Bug 33782320

Change-Id: I62f15486b7e976bb20a6e9c631dc8404a4170dbb
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
75895e73379aa26a3d4135c772af4ecb8a79b4c9 13-Dec-2016 Marcus Hagerott <mhagerott@google.com> Add AccountInfo class

This holds the AccountWithDataSet, AccountType and AccountDisplayInfo
for an account because many usages of accounts need all three of these.

Test: manually verify that accounts in nav drawer are correct

Bug 33627801

Change-Id: I39962f9945714aa7ce48aca97f220f119a1741cd
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
0a49afa2ad697307cc04ef4cb86570574fa720f2 06-Dec-2016 Gary Mai <garymai@google.com> Collapse common package (2/2)

Ran optimize imports on the project as well to re-order everything
which would have changed because of removing common.

Test: Built GoogleContacts, GoogleContactsTests, Contacts,
ContactsTests and ran unit tests.

Bug: 33252370
Change-Id: I881f0ba8b8fef002b6eeefa9a16b34f15b2fd2a9
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
3f6a2444e0134b7380cdb2e13abf4bf1163336d0 05-Dec-2016 Arthur Wang <wuwang@google.com> Collapse res-aosp and res-icons into res folder for AOSP Contacts (1/2)

bug:31022536
Change-Id: I0434710d92027e59ccd97e27ebd09f1668346684
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
69c182afb0e6d82a341a28b4317aa703af768906 05-Dec-2016 Gary Mai <garymai@google.com> Collapse common packages (1/?)

Move the majority of packages out of common. When trying to move
common.activity to activities every file switched from a rename to
separated deletes and adds. Will move tests and the rest of common
in a separate CL.

Test: Built GoogleContacts, Contacts, GoogleContactsTests,
ContactsTests.

Bug: 33252370
Change-Id: I9ffb20038dee255ef5f83002b7870265771b08c5
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
30868d4ef831b6ff7b2e7a00027bb0222d93135d 29-Nov-2012 Chiao Cheng <chiaocheng@google.com> Further clean-up of PhoneFavoriteFragment in Dialer app.

Moving dependencies of Dialer PhoneFavoriteFragment. Mostly filtering
dependencies.

Bug: 6993891
Change-Id: I33e830b9f3f686138d19699ce205d2d9d58ec6ea
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
738ff8623dc77dd91a1b9023861e924ba5e4c27e 30-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move ValuesDelta to ContactsCommon.

Bug: 6993891
Change-Id: I8b065c55100a152f72cccea5b62f10a8e30161c2
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
aa690d4949b8105e5bcf10569b7cf4fae36741de 29-Nov-2012 Chiao Cheng <chiaocheng@google.com> Prefactor RawContactDelta.ValuesDelta into top level class.

Making ValuesDelta into top level class so we do not have to move
RawContactDelta into ContactsCommon. ValuesDelta is used by
CustomContactListFilterActivity which needs to be moved.

Bug: 6993891
Change-Id: If7371cf08ac0e14218fb790c96856e971fa613ec
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
0d5588da244d0992c3ff8f25d0875fdf95a8c644 27-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager to ContactsCommon.

Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.

Bug: 6993891
Change-Id: I9526ac7cda758290caecabfcaebe620238d8dd6b
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
428f008513d1591cc08fcfe2cf0c9237fb313241 14-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies of AccountTypeManager into ContactsCommon.

Moving dependencies in preparation to move AccountTypeManager.

Bug: 6993891
Change-Id: I804cdbe64b9b8111ed286037943d593e11dc4044
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
8c5dfdadcad391647226fa1615d1d7ef679d2493 03-Jul-2012 Chiao Cheng <chiaocheng@google.com> Replace com.android.internal.R references with android.R.

Replaced private references with android.R.id.empty and android.R.id.list.

Change-Id: I9d3f6e9bb633a65bc0d2d038f364fb4432f53e60
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
851222a96b5d68602fb361ea3527101e893f67e3 21-Jun-2012 Maurice Chu <mochu@google.com> Added thin object layer around contact data

This refactoring abstracts out the need to directly
refer to Contacts database columns throughout the code. Instead,
all of this information is retained in getter/setter methods
within the Contact, RawContact, and DataItem classes and
sub-classes.

ContactLoader.Result class has been pulled to the top level as
the Contact class.

The Entity class has been removed and replaced with a RawContact
class, with getters/setters to raw contact information.
Renamed EntityDelta to RawContactDelta for better understandability
as well as adding getters/setters for specific fields in the
ValuesDelta nested class within EntityDelta. EntityDeltaList
and EntityModifier have been renamed to RawContactDeltaList and
RawContactModifier with the methods using the RawContact class
directly rather than the Entity class.

Data items for a raw contact are represented by a DataItem object
with specialized getters/setters for subclasses of DataItem.
(e.g., EmailDataItem, PhoneDataItem. etc.). DataItem is a wrapper
around ContentValues. This abstracts away the ContactsContract
column fields into getters/setters.

The above refactoring is accompanied with changes throughout the
codebase to use the new Contact, RawContact, and DataItem classes.

Change-Id: I31c1dccd724e9652f9d0af78ca81feb6c5acd71d
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
3e435f0e724cb3e88efce15f760e59b9bc08f0d3 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Change usages of com.google.android to com.google.common.

The people app contains usages of both com.google.android and com.google.common.
Changing code to use the later guava library since it will be needed to unbundle
the app in the future.

Change-Id: I2700126e020166ea1bbbd87c40e77428efde41f3
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
677cfd4db61c801cbdd70db1b5329663f4536748 12-Sep-2011 Dave Santoro <dsantoro@google.com> Handle settings update case for data_set.

Bug 5156004

Change-Id: Idd1455f9bd98ca3607e64546e9ba6c77ea9a2f61
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
a8d6da7e24e605147ce975579f23af7f2f5524bc 09-Sep-2011 Dave Santoro <dsantoro@google.com> App-side changes for data_set in Settings.

Bug 5156004

Change-Id: I25c55a014bb007c33c11357a8e994f259499d98a
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.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/CustomContactListFilterActivity.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/CustomContactListFilterActivity.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/CustomContactListFilterActivity.java
73ab23683ed8ac24a6f429dcce50c54bbeae4987 04-Aug-2011 Dave Santoro <dsantoro@google.com> Fix custom list filter for groups.

Bug 5116514

Change-Id: I1faf3321d6d571508ce7bcb2cd22fba0ad19af8d
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.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/CustomContactListFilterActivity.java
cd539e44d1dd1949ad4302c85c85771ad6560477 09-Jul-2011 Katherine Kuan <katherinekuan@google.com> Remove "view contacts only with phones" filter from phone

Because we have the phone app now

Change-Id: I3528001a6c57d34773106cf481db3c7c36fd5769
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
0bfab910bde169be3fb63880ce4f0b4459b7bb84 23-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Remove "Only contacts with phones" option from non-phone devices

Bug: 3451465
Change-Id: I2526c02e9456bdb6db03161b7e84569f4a81ce86
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
ebcf1025204b503c45431a792f1b886c9a63b189 20-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> UI clean-up in the custom contact filter setup

Change-Id: Icdb4be7e247d7f424a7168c115271d91ca00ff80
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
7f751c772792d3c24503823039900405f6a1a2d0 14-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Switching CustomContactListFilterActivity to from AsyncTask to loaders

Bug: 3338832
Change-Id: Ifb5c3bcbbeffee64063462c5915a86a8704e3f2f
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
aa30c00c901fa6a60c7ec6dcc7b5094ca9f4bc21 11-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE in CustomContactListFilterActivity

It could not get to AccountTypeManager because
it did not have ContactsActivity as its
superclass.

Bug: 3338461
Change-Id: I8d2c87a7c9528c227e9a94e8d37620e9f8e4acd3
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
a07fa5f37031e4c5cd2933de02d2db41ec153e2b 09-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Renaming AccountTypes to AccountTypeManager.

The intent is to turn it into a "system service" of sorts.

Change-Id: I047d70a2e59978c05916965ef0c0d9f18abc55e6
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
532f6c58a53019079023510b6d578af283154008 04-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Switching account type and name in contact list customization UI

Change-Id: Iad8055261c2cb16f2bae0db5c55e41b45f20a9ee
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
b77be6d2ad06edfd8751f55043e4aa9fd9f36015 04-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Removing inflation levels from AccountType.

Also, fixing asynchronous update and concurrency issues.

Bug: 3140873

Change-Id: Ie9d342d23ee4a8d23405ef4145c54d7673b2cbe9
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
69f9e6f0cd9b5401da55f251e9bd98e69643d7df 04-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Renaming fields and variables from "source" to "accountType"

Change-Id: Ie41036e35a45fc7d9a8c934a3cbe68399c567ad6
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
51927566e1092ff86ddd11aa7f5cbd892cf10c80 03-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing "no-op" handling in custom filter configuration

Bug: 3308350

Change-Id: Iaefc5694b49a80b7a251e6e5527bce2c80b3eba5
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
4597c92d655d45447780b32c7572acef110b6ed1 15-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Renaming BaseAccountType to AccountType

Change-Id: Iff47bac0e1a118f4a5319526304df16cb89bd0cd
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
35769b804fbfd5a1fc0b2c36cd0a786d662c4334 19-Oct-2010 Daniel Lehmann <lehmannd@google.com> Renamed Sources to AccountTypes

Change-Id: I088c7d9cd66fd4d38e93bc97a6644247f72037ef
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
1fafec94496cba4c19db418dc716fcfe70c9f809 07-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Preventing custom filter save when no change

If we don't change anything in the custom filter UI,
there is no need to display a progress dialog
and send an empty list of CPOs to the provider.

Change-Id: Ifefa9a7645d45588870b9c1fa99fb6e4412b8bea
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
a4d6a3b7d8e60fc3a92a27216302042ed419ecf0 07-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Updated UI for custom contact filter

Change-Id: Iff60f009208cbe79115a54fdeb27633dbed22fad
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
c85ad182093f5556d6dbb310f4708cdc174b2665 18-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Changing preferences to PreferenceActivity.

Change-Id: I30f76e94c22828a9516cf2a72a2a772e0b4da44c
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java
d6e6b8a0feffbf419593c0bd2efe44693652720c 16-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> New display options activity

New activity and a new hacky way to invoke it from
the filter spinner.
Also a custom item view for the spinner.

Change-Id: I00e3854023d8602ea94dc7d11f2961b7efeaca38
/packages/apps/Contacts/src/com/android/contacts/list/CustomContactListFilterActivity.java