History log of /packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5b8a5cb6b8e15913bb6faa8f44b4b69a62eff85e 19-Mar-2015 Andrew Lee <anwlee@google.com> Cleanup logic for showing/hiding shortcuts.

+ Update SEND_SMS in the regular search list adapter. Before, it was showing
up all the time, even when it wasn't supposed to.
+ Hide CREATE and ADD in the regular search list adapter.
+ Move disabling of DIRECT_CALL to the smart dial adapter. It's only used by
the single fragment right now, so centralizes the enabling of the shortcuts.

Bug: 19372539
Change-Id: Iea9108e83f15026d86400a5d1e63d5c011b2770a
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
87dc7309388941ec0017f3ff1aee329364dec484 19-Mar-2015 Andrew Lee <anwlee@google.com> Add shortcut for creating new contact with number.

Add a shortcut in the search fragment for "Create new contact" which
opens the compact editor with the entered phone number populated as
the main phone number.

Bug: 19372539
Change-Id: I9ccb462f399e3fab77c2d8ad536dbd0bd0e23609
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
0247a9b7e357c05155081bd4e4bee3333c5179b5 18-Mar-2015 Andrew Lee <anwlee@google.com> Change add contact shortcut to be for "existing".

We're going to "fork" the add action into "existing" and "new".
This converts the existing shortcut action to the scenario for
adding to an existing contact, and the action for adding to a new
contact will be added as a follow up.

Bug: 19372539
Change-Id: I9e78fa5637a6f0ff22ce1d74bca3fe98e531242f
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
ad3d871e15e615b0dc36045606452c54e94b93f8 18-Mar-2015 Andrew Lee <anwlee@google.com> Add "Send SMS" shortcut to Dialer.

Bug: 19372539
Change-Id: I8135a7e6fb7d5becdafcb0ecfb64d6f6c73aeb88
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
8204324a69c4d6b1b95351ab2863b5ddac6fb0a5 03-Feb-2015 Brian Attwell <brianattwell@google.com> Move CallUtil into Dialer. P1/3

CallUtil relies on the a priviliged intent that should only
be used by system apps. Therefore, it shouldn't be used by an
unbundled Contacts app.

I'm leaving one (isVideoEnabled) method from CallUtil inside
ContactsCommon. This way, when the changes that Tyler made
inside m-wireless-telephony-shamu-dev (b/19062133) get
merged back into master both ContactsCommon and Dialer
will be updated.

Bug: 18777272
Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
dd39e83aa818350b9c92fb0fd606c1fe09b1f24e 06-Oct-2014 Yorke Lee <yorkelee@google.com> Fix IllegalStateException in Dialer

Bug: 17811695
Change-Id: I5dafca3177855940f51ba414b267f59bd13be467
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
0927dc6ef623bec56415d087885f6d2607da35f7 21-Aug-2014 Andrew Lee <anwlee@google.com> Pass application context into isVideoEnabled usages.

Bug: 16211386
Change-Id: I0bda040bd6cd5c55ee7c708044befaad8977d460
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
92b0e2fc719f925d22d8d77f0b51bb897453c448 19-Aug-2014 Paul Soulos <psoulos@google.com> Moves isVideoEnabled to ContactsCommon (2/3)

bug: 16015752
Change-Id: Idaedd70a53b81e375d3a8bf8d9a4fbce1c62cd3f
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
ca630af11785b88d0646bb8751b8b4af32fd2b76 12-Aug-2014 Andrew Lee <anwlee@google.com> Disable VT features in Dialer,

+ Should be contingent on a setting in any case. In teh future this
will be derived from capability, but for the moment this feature
just won't be supported.
+ Pointed everything to a false flag in DialerUtils.

Bug: 16211386
Change-Id: I37e027c94e3411d8e73a349b3101fdb6ad598b3b
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
fc1fed72d6adf5158be271646655056b14d1ccf2 02-Jul-2014 Andrew Lee <anwlee@google.com> Add "Make video call" button to search fragments.

= Add new "make video call" shortcut type, and "handle" its click
in SearchFragment.
= Enable "make video call" shortcut for regular and smart dial search
fragments. For now, this shortcut does nothing.
= Enable "add contact" shortcut for smart dial search fragment.
= Changed the bounds of the shortcut items to fill to the edges.
= Convert shortcut click handling to use switch/case block.
= TODO: Enable/disable the shortcuts depending on whether video
calling has been enabled, once the option is available.
= TODO: Handle dispatching a video call intent, once that intent
extra is provided.

Bug: 16013180
Change-Id: I7563d1f2939e27c4b13ed966b73cd4badd9d9fa7
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
e16ffa2f43819d8a393f96f182ea7422c0f5ccf6 31-Mar-2014 Andrew Lee <anwlee@google.com> Reuse SmartDialNameMatcher instance in SmartDialNumberListAdapter.

Change-Id: I10e4226c5ec5b24ba6ee0d02b88327f0624955c6
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
e142481570d7fbda5d035555fe217314e396ae90 05-Sep-2013 Yorke Lee <yorkelee@google.com> Add call shortcuts to phone number list adapters

* Add a new class DialerPhoneNumberListAdapter, which both
RegularSearchListADapter and SmartDialNumberListAdapter extend.
DialerPhoneNumberListAdapter allows the addition of pre-defined call
shortcuts at the end of the phone number list that can be toggled
on or off.

* For the SmartDialSearchFragment, the only shortcut that is available is
always the Add number to contacts shortcut.

* For the RegularSearchFragment, if the user enters a string that contains
all dialable numbers, it is treated as a phone number and the call directly
and add number to contacts shortcuts are enabled. Otherwise, it is treated
as a name, and only the add contact with a new name shortcut is enabled.

* Add a intent that allows the user to directly create a new contact
that has the name field pre-populated. This intent is used if the user
enters input that looks like a name in the search view.

Bug: 10339630
Change-Id: I2ae757ce505d85a8780d28d89e09fb7084c773b1
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
31a760be9135b5ef05e504dbd1594e1617af0326 26-Jul-2013 Jay Shrauner <shrauner@google.com> Add GAL support to Dialer

Add BIND_DIRECTORY_SEARCH permission to manifest. Use new methods
for GAL support. Change SmartDialing cursor and adapter to use
PhoneNumberListAdapter projections directly.

Bug:
Change-Id: I5f8181cfeec7adab4865e680ebc85ba2b476fc39
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java
dfb2eee7d98f8540fd1614db66bb03e8e1f3a26a 27-Jun-2013 Yorke Lee <yorkelee@google.com> Initial commit of all new dialer activities, layouts and styles

As far as possible, this change does not modify any behavior/look
of the existing dialer. All modifications to classes/layouts/style attributes
that would affect functionality of the old dialer are instead done in
separate new files.

Added new versions of all activities, fragments, layouts, menus
and resources that have been rewritten or modified.

The activities do not have intent filters yet in order to not interfere
with the existing dialer.

Added some new values in colors/styles/dimens for the newly added
layouts.

Added NewCallLogActivity to separate the CallLogFragment from
DialtactsActivity. All call log and voicemail entries are now presented
in a separate (New)CallLogActivity.

IntentProvider.getCallDetailIntent now takes a cursor instead of an
adapter for more flexibility.

Add OnListFragmentScrolledListener interface for DialtactsActivity
to receive callback when one of its children fragment is scrolled.

Added slide in and slide out animations for DialpadFragment.

Add slide up and hide animations for search view

All menu options now show up in a PopupMenu in NewPhoneFavoriteFragment.

Added call log adapter into NewPhoneFavoriteMergedAdapter.

Rewrote layout of DialpadFragment to show up as a fragment partially overlaying
the screen.
Removed some unused code in DialpadFragment (smart dialing, menu handling)

Add fragments and adapters for SmartDial.

- Update Dialer database to support highlight masking and record contact
data Uri, as well as photo uri
- Add a fragment and adapter for smart dialing
- Add SmartDialCursorLoader to load SmartDial results.
- Typing in the dialpad now returns smart dialing results instead of regular
search results

QuickContactTiles for all sub-adapters of PhoneFavoriteMergedAdapter now use
light theme instead of the the default dark theme.

Removed all redundant call log filter and contacts to display filter code

Moved Dialer specific UI list-related classes to the Dialer package

Change-Id: I34885813e4fa79b69e29ac870a87a56d6f08a5e7
/packages/apps/Dialer/src/com/android/dialer/list/SmartDialNumberListAdapter.java