History log of /packages/apps/Dialer/src/com/android/dialer/widget/SearchEditTextLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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