History log of /packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6d13e7f7560169826a9cec38ec654d63d4b38873 27-Oct-2015 Andrew Lee <anwlee@google.com> Fix blocked numbers rotation jank.

+ Saved search term.
+ Fix padding/shadow jank between rotations.
+ Fix title disappearing for import on rotation.

Bug: 24910704
Change-Id: Ib683bd07ad629917ac429a5f33be54ecf781e33d
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
6324f707bc35d9d3336f58f6004d1f3b1e6de1a3 16-Jun-2015 Andrew Lee <anwlee@google.com> Fix FAB state and transitions.

+ Change to dialpad FAB in search (used to stay as add contact
FAB, if we were in the Contacts list).
+ Position dialpad to align end in search (used to stay in the
center, if we opened the search from Speed Dial).
+ Restore correct position/icon when exiting search.
+ Add correct FAB scale in/out behaviors in for transitions
between lists fragment and search UI, search UI and dialpad,
in particular for when the FAB changes position from END to
MIDDLE when going from search UI back to Speed Dial.
+ Add FAB scale in/outs for showing/hiding the soft keyboard.

Bug: 21161760
Change-Id: Idbddbac161e459e3708d43395850d80927d5e448
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
99413b41c5af53bf00d6726822aceba3f5baea73 06-May-2015 Andrew Lee <anwlee@google.com> Hide "clear" action if search text is empty.

Bug: 20700084
Change-Id: Id2574f5b721dbaa4d7aab04945c2ad08c390835f
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
02419fc82a98b613396da980b264650b40989043 14-Oct-2014 Andrew Lee <anwlee@google.com> Handle searchbox long press to speed up copy/paste.

Before, user needed to first tap on the the collapsed search box to
expand it. Afterwards, needed to long-press to open the paste option.

Now, if the user long-presses on the collapsed search box, it
simulates a click on the search box (causing it to expand), and then
invokes a long-press to open the paste option.

Bug: 17882004
Change-Id: Ie23df56fe1c340aacf484bc482fa8abb06a3574c
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
f543baadd1119bad7cd9ff7ed39e5598c6fc50d6 24-Jul-2014 Yorke Lee <yorkelee@google.com> Hide keyboard when next key is pressed

Also move some shared utility methods to DialerUtils

Bug: 16542561
Change-Id: Ibc574c24919bdcd11b0786fb9d22d29ff9c21bf1
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.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/widget/SearchEditTextLayout.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/widget/SearchEditTextLayout.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/widget/SearchEditTextLayout.java
6841f192723c34d2680ac45a852c75aef251b3e4 10-Jun-2014 Sai Cheemalapati <saicheems@google.com> Fix bug where keyboard jumps in landscape.

Fixes bug where keyboard would jump up after exiting the
SearchFragment when the query text was empty.

Change-Id: I591b401a42c1abc7fa58d7dcc7aacd97b228886d
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
bcbcd9c2db5035fa010f12c2a120fd4c35cae005 04-Jun-2014 Andrew Lee <anwlee@google.com> Some more search polish.

- Reset padding after applying 9-patch so things are centered
properly.
- Properly adjust visibility of more views to make animation
more smooth. Merge logic into common helper method.

Bug: 15343931
Change-Id: I5ab62a823c8fad8a7644aaad641d5193d0dc6af8
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.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/widget/SearchEditTextLayout.java
c7aaa28a4400fc9c8b24bb7437f9b23d29155669 30-May-2014 Yorke Lee <yorkelee@google.com> Toggle between elevation and 9-patch shadow in searchbox

Bug: 15343931

Change-Id: I545aa751feed9f9e4cca2bc386838b76b396f863
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
710709da8389d401d3089bbf9836dfca527f15c3 29-May-2014 Yorke Lee <yorkelee@google.com> Fix for search UI remaining on screen after call is made

Also slide up the action bar after it is faded out - this is so that
it doesn't remain in the same position and intercept touches

Remove unneeded FragmentTransaction fadeout animation in exitSearchUI
that was causing jank when returning to the favorites screen

Bug: 15120649

Change-Id: Idcf96c2339603af09e1773729994d267158f70a0
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.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/widget/SearchEditTextLayout.java
bcef940ebcd0b85d2acef46b28e6622ed596f569 22-May-2014 Yorke Lee <yorkelee@google.com> Add shadow to expanded search box

Change-Id: I6fa3bdd20a4e1fe024e2edabc06d0f777571ae2c
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
11ca39eae2bd8ed5c3e21e8c4fa09c9b2b6bda51 20-May-2014 Yorke Lee <yorkelee@google.com> Swap out search box contents when expanding

* Replace search box layout with two main child views - one for the
collapsed state and one for the expanded state.

* Add back button to the expanded state

* Replaced OnTouchListener on the searchbox with an OnClickedListener
Bug: 14900155
Change-Id: I4f07650ddf7e265ee5c4d1054c0bf0ff7494ab6b
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
ec489fb5d4bba57ccdfd24b48e26257294d29979 20-May-2014 Yorke Lee <yorkelee@google.com> Make searchbox expand when entering search UI

Bug: 14900155
Change-Id: Ib6e500ed55db90ad1fa13ba6dd0e141721331ba4
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
b19038436ce8e4683eb19af02255eda9969a6a94 16-May-2014 Andrew Lee <anwlee@google.com> Open search ui on touch, and handle related scenarios.

- Add a touch listener to enter the search ui when the user touches
the search bar.
- Add a key listener to exit the search ui if the user closes the
keyboard while the text input is empty. SearchEditTextLayout was
added to facilitate this..
- Get rid of mFragmentsFrame, and control visibility of the
favorites view by adjusting the alpha of the lists framgent instead,
- Delete (hack) logic to change the background color.
- Enter the search ui whenever the dialpad is shown, and exit if it
is hidden and there is no query.
- Handle showing/hiding the actionbar depending on whether the
overlapping panel is displayed. This solution is a little hack, but
what seems to be a weird frameowrk interaction prevents the desired
solution of showing the action bar and then updating the hide offset.

Bug: 14900155
Change-Id: I4e06e4ed8eae49ef48317c99a556c51ff2a206a5
/packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java