History log of /packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a9c226358d83cbfe6b31ac2750fd641fd561a2d7 08-Aug-2014 Nancy Chen <nancychen@google.com> Moving pinned header disabling to superclass

Pinned headers will be disabled for all contacts and dialer lists.

Bug: 15596340

Change-Id: I49387acb8d2ce1b5e5984c0f55866881de851d49
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
106af730bde43b0e97849b95591ec0804e17b5d5 06-Aug-2014 Sai Cheemalapati <saicheems@google.com> Merge "Fragments in Dialtacts report to Analytics." into lmp-dev
2d7faf6c13212f8a035609181de4f594a76af960 04-Aug-2014 Sai Cheemalapati <saicheems@google.com> Fragments in Dialtacts report to Analytics.

Fragments in DialtactsActivity now report to Analytics when viewed.

Change-Id: I86d6cabc372bd466a4907d79b1613e5ae1445227
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
0e6d7b0458e5ed52c9e53ad0ddea0a3e6fc3d768 06-Aug-2014 Nancy Chen <nancychen@google.com> Change background color for SearchFragment

FAFAFA -> F9F9F9

Bug: 16656480
Change-Id: I26e17012a8631ae3370684655b8cf1c698613064
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
cd7355861bdc0ca43873b8aab2e40e9b38f617e1 05-Aug-2014 Nancy Chen <nancychen@google.com> Update directory header to not pin the headers and update style

Turned the scrolling directory list headers into normal headers and
updated colors.

Bug: 15596340
Change-Id: I911ba45e2164b064d5e9aeb256f7b83b39c453b1
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.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/SearchFragment.java
fd723cae1dc2de0f83ec14639d4431674dd3b82e 19-Jun-2014 Sai Cheemalapati <saicheems@google.com> Update Emergency Dialer to match Dialer (3/7).

Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.

Change-Id: I86747a58b196209a4543448ab939236eace7c52a
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
801d88e55c59414cee422ca0433cec8b1c39d1e6 20-Jun-2014 Yorke Lee <yorkelee@google.com> Revert "Update Emergency Dialer to match Dialer (2/5)."

This reverts commit 9598b51d20cb27acb8dfd47abf2accb612cddb3c.

Change-Id: I7c2d2b95740888af25b5b257572476b0f20900e3
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
9598b51d20cb27acb8dfd47abf2accb612cddb3c 19-Jun-2014 Sai Cheemalapati <saicheems@google.com> Update Emergency Dialer to match Dialer (2/5).

Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.

Change-Id: I69ee95b20b9a6a7007288a754e12ea20763c3842
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
e1324ae6c025631bfcbcd394f7605fa6e2a2c054 11-Jun-2014 Andrew Lee <anwlee@google.com> am 438df9a6: Merge "Dialer changes for correct selection bounds adjustment." into lmp-preview-dev

* commit '438df9a6e183c50e55571850557429f9e13635c5':
Dialer changes for correct selection bounds adjustment.
331f457e9ac7b41fc8c43000ed989a3c09d68f62 10-Jun-2014 Andrew Lee <anwlee@google.com> Dialer changes for correct selection bounds adjustment.

Do not adjust the bounds for the search fragment.
Do adjust the bounds for the contacts fragment.
Also, now we hide the scrollbar on the search fragments.

Bug: 15517457
Change-Id: I0e5dedfcfdd1da359358671b57dd1132e66d6861
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
64d674bb389d89f9d94c75f2b7cab705961d5c2d 04-Jun-2014 Sai Cheemalapati <saicheems@google.com> Fix SearchFragment translation after orientation change.

Small edit to Andrew's CL 477577 - fixes the translation
of the ListView after switching to landscape when the
Dialpad is open and the ActionBar is up.

Change-Id: I8ef00e65aa37a15d5ce5c987de18311fe5320e46
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
9da8fb46fa21159321295119e1b2075747cfbbf9 03-Jun-2014 Andrew Lee <anwlee@google.com> DO NOT MERGE. Styling search to match redlines.

- Cherrypicking changes back to master. Mostly, this involved
transferring changes dealing with padding and the translation values.
- Shift arrow/close icons.
- Use 20sp font in expanded search (causes baseline to shift down).
- Update action bar movement to use dialpad's interpolators and
durations.
- Smoothed out animations. Icons in the view being faded out are now
instantaneously set to GONE. The margin animator when going from
collapsed to expanded starts at 0.8f now, so that the searchbox does
not shrink momentarily when switched to the 9-patch, because of the
shadow.
- Fix clipping because of 9-patch; refactored logic for updating
the position and padding from the Activity into SearchFragment. This
was motivated in part because we want a padding at the top of this
list for the first item, but when the dialpad is shown we do not
want that padding.

Bug: 15343931

Conflicts:
res/layout/search_edittext.xml
res/values/dimens.xml
src/com/android/dialer/DialtactsActivity.java
src/com/android/dialer/list/SearchFragment.java

Change-Id: I8519e7e2ef5c75c0f170ff61ed22f44f95e07f74
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
05b6267428450f190d04af187a206cc495da8995 03-Jun-2014 Andrew Lee <anwlee@google.com> DO NOT MERGE. Styling search to match redlines.

- This conflicts with some of Sai's changes, so will manually
cherrypick this CL back to master..
- Shift arrow/close icons.
- Use 20sp font in expanded search (causes baseline to shift down).
- Update action bar movement to use dialpad's interpolators and
durations.
- Smoothed out animations. Icons in the view being faded out are now
instantaneously set to GONE. The margin animator when going from
collapsed to expanded starts at 0.8f now, so that the searchbox does
not shrink momentarily when switched to the 9-patch, because of the
shadow.
- Fix clipping because of 9-patch; refactored logic for updating
the position and padding from the Activity into SearchFragment. This
was motivated in part because we want a padding at the top of this
list for the first item, but when the dialpad is shown we do not
want that padding.

Bug: 15343931
Change-Id: I7c3a96dd295c58c6955e6bd3e9d8cda151de4c3f
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
1e61380222440bb53a46a05907914207ce282386 02-Jun-2014 Sai Cheemalapati <saicheems@google.com> Matching landscape dialer to mockups.

Dialer now matches mockup in landscape mode.

Bug: 15386162
Change-Id: I8abb7a6c13bbeb1cb9210532e850010b196fe14e
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
5253be0d57edd4cdf5fbc0a980188e13e009c083 22-May-2014 Yorke Lee <yorkelee@google.com> Add ActionBarController

* Collect all actionBar interactions within DialtactsActivity into
a single controller to ensure that it behaves more deterministically,
and fix some bugs with regards to actionBar interactions.

* Make sure that action bar correctly handles activity recreation
and destruction by saving its state

* Add unit tests and mock classes for ActionBarController

Bug: 14900155

Change-Id: I370831db425e1970b118f5d4fed3ce9297e3610d
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
781ee24f91f6eb6a1687d803971196f2bf71c02b 23-May-2014 Yorke Lee <yorkelee@google.com> Add padding to bottom of listviews

Bug: 15164687
Change-Id: I142e8900b471bfb05cf8dad1ed8b0d8d0e4efae6
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
37a53ad46134f9eaf3647c12f130c55652bbd624 02-May-2014 Andrew Lee <anwlee@google.com> Move photos in search fragment to the left.

Change-Id: I5a4169d2bbbf15cdead2a3d5addebd1b3577bd0b
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
f42a1790c5bbf2be1ed71858897d72898e414235 26-Apr-2014 Yorke Lee <yorkelee@google.com> Apply padding to fragment view rather than ListView

This fixes the problem of pinned headers being hidden by the
actionbar.

Change-Id: Ieeeee69ab596f2c0cc167dcc70c3928a5fef782d
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
33932ff9433bcd172749d416c23655c8d8bdafc2 16-Apr-2014 Yorke Lee <yorkelee@google.com> Fix Dial intent interactions

Correctly apply actionbar height by retrieving it from
attribute in DialtactsActivity, instead of getActionBar.getHeight(),
which returns 0 if the actionbar hasn't been previously shown

Bug: 14111329

Change-Id: Ic940e3489317706b24b63afbf45fd37925f11c4b
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
86e21f733049560e77b92f17a58474312d72ec3e 03-Apr-2014 Yorke Lee <yorkelee@google.com> Add actionbar to Dialer

Initial changes to replace the fake actionbar affordances in Dialer
with an actual actionBar. This puts the dialer in an intermediate
hybrid state where we are now using the system actionbar for search,
but the searchview is not yet themed to look like our old search
bar, so this is definitely still WIP UI.

This CL retains the fake action bar at the bottom of the screen to
continue allowing quick access to call history while other changes
are underway, but replaces the searchview and the overflow menu
with framework provided actionbar functionality.

Other related changes:
* The searchview (in the top actionbar) is hidden when scrolling to
devote the entire screen area to the speeddial list
https://folio.googleplex.com/phone/L/0407/#/03.png
* Functionality provided by the fake overflow menu has been moved to
the real actionbar overflow menu
* Various modifications to child fragments/listviews to take into
account the existence of an actionbar
* Cleaned up unneeded styles and related-dead code

Bug: 13933082

Change-Id: Ifd855bd67af7bf2d2a403ef9556ade54e8d57ee6
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
466358780c0bd5cbb2c2300c321e94e60372b5e1 11-Apr-2014 Yorke Lee <yorkelee@google.com> Use the unnormalized user-entered number when adding to contacts

Bug: 13758021
Change-Id: Id0a7df07614a8e36824cafca253aa0ada8a4aece
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java
604d48099cd8e0bcf2f992237082600837630038 20-Sep-2013 Yorke Lee <yorkelee@google.com> Ignore separators when typing in Dialer search box

Bug: 10842248
Change-Id: Id0c65385af4277120ba6a57c357b980caec149c2
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.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/SearchFragment.java
2e5b34b14181f367ec90198f5cbcd39f261b7bf5 29-Aug-2013 Jay Shrauner <shrauner@google.com> Refactor SearchFragment

Refactor SearchFragment into a base SearchFragment and an
implementation RegularSearchFragment. This allows SmartDialSearchFragment
to inherit directly from the base.

Bug:
Change-Id: Iae9cd11ac733445c76d390c35fa778d942707b57
/packages/apps/Dialer/src/com/android/dialer/list/SearchFragment.java