Age | Commit message (Collapse) | Author |
|
Change-Id: If5944e1d7b7f78c05792f5ebd2a9d8f4350fbc3d
|
|
|
|
Bug: 15573471
Change-Id: I3a9559f1cfd805956a19fc781e905b0f42e895dd
|
|
Also, some slight renaming for consistency across dialer.
Bug: 15513399
Change-Id: Ia66084630fc9473dc24303aab0d777e1bde1b41a
|
|
Change-Id: I98b24e23d9d3283223f8db0c58930977b7a8fd35
|
|
* commit 'aafbb4c4ea8d6ac1f06e4f459a7bcdaa4ca284b6':
Adjust recent cards animation.
|
|
into lmp-preview-dev
* commit '438df9a6e183c50e55571850557429f9e13635c5':
Dialer changes for correct selection bounds adjustment.
|
|
Change-Id: Ic96a35172c113e8b25084de3c8cf5e44f931903b
|
|
- Add new assets for empty lists, delete old no favorites banner.
- Adapt phone_no_favorites.xml into generic container shown when
a list is empty.
- Add helper to DialerUtils to configure empty list view with
a provided image and message.
- Configure empty list view in relevant fragments.
- Some text styling/margin/padding to get things to spec. A
minimum height is used on the message so that the icons and text
will be laid out in a consistent manner.
Bug: 15513399
Change-Id: I52337a4544065a991d3b8084d96b01516a458c42
|
|
|
|
lmp-preview-dev
|
|
= Make the card clip more gradual (half that of before).
= Accelerate the opacity fade so the content does not intersect with
the card bounds when clipping.
= Shift the search text 2dp to the left to better align with the
recent card content.
= Adjust the y translation of the recent card to "center" vertically.
Bug: 15470880
Change-Id: I63b0742ff61d995b50257961bb317fa5d043a1bd
|
|
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
|
|
- Move placement from dialtacts activity layout to the lists fragment,
so that it can be positioned over the tab bar.
- Relocate references to RemoveView/RemoveViewContainer to the lists
fragment from the activity class.
- Set colors using tints, remove old highlight state asset.
- Fade out search bar and recent card when dragging.
Bug: 15434489
Change-Id: I49205c79aeb008a30efc3c2ea417b8836444e203
|
|
into lmp-preview-dev
* commit '57f560ae3a865aa721a88c317fac69e1a785b711':
Reveal recent calls shortcut only when at top of list
|
|
attributes" into lmp-preview-dev
* commit 'fd6bc6bc4898e4fe7ac7825baf0d7cc08709c19a':
Correctly reset all wrapped CallLogListItemView attributes
|
|
lmp-preview-dev
|
|
Add an intermediate offset to OverlappingPaneLayout so that the
search box can be exposed without revealing the shortcut card as well.
Add state tracking on OverlappingPaneLayout so that when a list is in
the middle of a scroll, the shortcut card is not revealed. Only when
dragging the list downwards after the top of the list has been reached,
should the shortcut card be revealed.
Bug: 15407905
Change-Id: Ie303f4a36ce14f2b1103865f5583e3cab6263deb
|
|
lmp-preview-dev
|
|
lmp-preview-dev
* commit '51003da60bd31ddabba1debfb1e3ab97c0feda58':
Fix for recent card shadow disappearing
|
|
|
|
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
|
|
Since we are doing our own internal recycling of CallLogListItemViews
for the ShortcutCardsAdapter, make sure to correctly reset all related
attributes when adding a new child view
Bug: 15413649
Change-Id: Ic4907082646f9d8ad9a5ac157ed58b219984d5d3
|
|
Lowered elevation/z-level for search bar ("Search contacts & places")
and recent contact card ("Caller ID by Google is enabled")
Bug: 15385828
Change-Id: Icdbc87d4046953bafcb5e0c7686e6efb3a49bdfb
|
|
Lowered elevation/z-level for search bar ("Search contacts & places")
and recent contact card ("Caller ID by Google is enabled")
Bug: 15385828
Change-Id: Icdbc87d4046953bafcb5e0c7686e6efb3a49bdfb
|
|
- 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
|
|
- 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
|
|
Correctly initialize and save initial starting state of translationZ
Bug: 15387296
Change-Id: I7725dc34c656d015b5b3a5fc4b20eccf11966d9e
|
|
Dialer now matches mockup in landscape mode.
Bug: 15386162
Change-Id: I8abb7a6c13bbeb1cb9210532e850010b196fe14e
|
|
lmp-preview-dev
|
|
Bug: 15345202
Change-Id: Iae7143ab84519cf4a04ed9c1f555e5bcd8716516
|
|
Ideally it would probably be better to put this in the
ActionBarController. However, that requires substantially more
refactoring, and per an email earlier the implementation/behavior
might change and render that refactoring needless. So... opting
for the easier soltuion to fix this bug (which appears on drag).
Bug: 15313430
Change-Id: I3e6aaba5d0b1721ce2a035a10ea6073fe6527472
|
|
- Implementation is lifted and simplified from Play Store's
implementation of PlayTabContainer and PlayTabStrip (see links
in bug)
- Replace mChild in ViewPagerTabs with the TabStrip.
- Add new transparent background (with ripple) for tabs.
- Restyle tab thickness (to 2dp) and color (to yellow) accent..
Bug: 15167378
Change-Id: I50136294a7210ead67553a82916fd09d52077860
|
|
lmp-preview-dev
|
|
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
|
|
- Changed secondary call log item color to lighter grey.
- Take 1dp off the bottom of the recent card.
- Take 2dp off the margin below the recent card.
Bug: 15196725
Change-Id: I0dd159a098947128258b7d49f946f2420738a06b
|
|
Also tweak some elevation specs per UX guidance
Bug: 15196725
Change-Id: Ia0c1ecef7039f5ffb703877172fb632f56bf5530
|
|
|
|
lmp-preview-dev
|
|
This is adding too much padding to contact tile names
Bug: 15196725
Change-Id: Ifdd9bc15bb9d75fd21fc7bce090b4479f54ec5b9
|
|
* 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
|
|
lmp-preview-dev
|
|
|
|
Bug: 15165470
Change-Id: I5e61d23dc02237d0cd7c0e3646ce71b93a68a143
|
|
Bug: 15164687
Change-Id: I142e8900b471bfb05cf8dad1ed8b0d8d0e4efae6
|
|
Bug: 15118603
Change-Id: I9aa6488e48a78d65c23a4c00ad8f3ba891b83855
(cherry picked from commit 134a2f507672b61546c77cd7b8fa5a43c904c4a0)
|
|
Add padding to bottom of speed dial grid view so that content is not
obscured by floating action button
Also rename the layout to the more sane sounding speeddial_fragment.xml
Change-Id: I5e745f6a0a3657bae7f84a3728a1c75986d32ebf
|
|
Save CallLogFragment state correctly in onSaveInstanceState, and
restore it later in onCreate
Bug: 15134554
Change-Id: Ifb0880c4ce86f0f9c4d5d1713fe9d9e54257ceb4
|
|
|
|
Bug: 14900155
Change-Id: Ib315cf449a0059a11ac50ba6e5a04b15e2db35a9
|
|
Change-Id: I674b2a9620f7b2ca0116cc4db16f27e78eeef5e7
|
|
Change-Id: Ie2f7024c7f5a28a635808ab7b6c5e437e14a98ea
|
|
No longer use the built-in options menu functionality. Instead add
our own menu button and handling its clicks as menu item clicks
instead of options menu clicks.
Bug: 14900155
Change-Id: I1ed15df2fc2463f963c1825f6f52437c6122f539
|
|
- 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
|
|
Change-Id: Ic1b8e4ee7f2541c3c2f2ee2c862707aa1bfe364a
|
|
|
|
* Refactor PanelSlideListener into its own member variable to make
the code cleaner
* Offset the ActionBar appropriately in onPanelSlide so that it
appears to be sliding together with the rest of the list
Bug: 14234101
Change-Id: I7060f015ed72b5d0ece7069e50590b569b729142
|
|
Move drag shadow view into main layout so that it can be drawn
over all other views.
Also offset it accordingly based on its parent's X/Y coordinates
Bug: 14393052
Change-Id: I957469cf505d30812b539517d2aeab3f72a733ca
|
|
Add a drag listener to the main dialer layout and manipulate
drag events correctly in DragDropController so that drag and
drop works throughout the main Dialer layout, rather than just the
speed dial fragment.
Also shift the remove view into dialtacts_mainlayout so that it can
continue receiving drag events.
Bug: 14393052
Change-Id: I90c26fee4fe681d0e237aa490185e850628e4cd0
|
|
|
|
Bug: 13962594
Change-Id: I19a4a65dce922619df0a709293ca291c345c8be7
|
|
Change-Id: I5a4169d2bbbf15cdead2a3d5addebd1b3577bd0b
|
|
|
|
|
|
Change-Id: Ida91e3107c5a9f1e3c6a59d51aca8f0f950bcf21
|
|
While framework support for outline clipping is still being worked
out, use View.setClipBounds to achieve a simpler form of this
animation.
Bug: 14282356
Change-Id: I2b698e9932e9b67bd2746a3973bbfca20a8d24a7
|
|
|
|
Bug: 14324064
Change-Id: Ic477211aae2270b0afa3698a33c4fbe162b0f536
|
|
Change-Id: I42b86f0404faeca1beed8cca5c73d1fe73d76596
|
|
Bug: 13747208
Change-Id: I39932fc22ab13317430c13034c4c4c2725662999
|
|
|
|
|
|
This fixes the problem of pinned headers being hidden by the
actionbar.
Change-Id: Ieeeee69ab596f2c0cc167dcc70c3928a5fef782d
|
|
Bug: 13956531
Change-Id: Iaf6d28dba9d6ddc222eb58ebca7d99c021703305
|
|
Add a new custom layout class called OverlappingPaneLayout that allows
for the ViewPager to slid above the call shortcuts in ListsFragment.
For now, only the ViewPagerTabs view is made draggable - pending
further nested scrolling support from the framework.
Bug: 14234101
Change-Id: I95406005226f614524385f04566628446e782d22
|
|
DialtactsActivity now implements ViewPager.OnPageChangeListener,
so that it can animate the floating action button in response
to page changed events in ListsFragments. Because ViewPagerTabs
also needs to listen to page changed events and ViewPager only
supports one OnPageChangeListener, ListsFragments is now in charge
of listening to page changed events from ViewPager and firing off
the same events to multiple OnpageChangedListeners
Bug: 14281810
Change-Id: Ic9b7ca8669d3a9cc0a997a84afe6788d6fd51bb9
|
|
|
|
Disable the quick contacts badge in AllContactsFragment and just
use the regular photo ImageView so that contact photos can be made
round and have the overlay removed without affecting other apps
that use the QuickContactsBadge (e.g. Gmail).
Also tag the view with the contactUri so that it can be used to
bring up the QuickContactActivity when clicked.
Bug: 13747208
Change-Id: I02288fd64d133d75c7b5e635d9b450f0b2cf7673
|
|
Change-Id: I9bf8dba8a0cc54a18b0d465b11b60ca297cf4a12
|
|
Renamed PhoneFavoriteFragment to SpeedDialFragment
Renamed PhoneFavoriteMergedAdapter to ShortcutCardsAdapter
Change-Id: I5b16ff576332b44c10e1abb44689147cd41c26b5
|
|
Change-Id: I337b0429f68479942b0143caa8fb26d2f91923e9
|
|
|
|
PhoneFavoritesTileAdapter"
* commit 'f218f724ea721dcf2ecccacebab1069567faab31':
Correctly bind contact tile listeners in PhoneFavoritesTileAdapter
|
|
|
|
Bug: 14254076
Change-Id: I969fda15e0e8c56374fe51a600422cc2bc96ffe8
|
|
* commit '6a1461a86ad861b0e04333452e47cb81675459d5':
Add view call history at bottom of recents
|
|
Change-Id: I60df511b2b8b7ae19a10fcfa36afa7b331b33389
|
|
Bug: 13936108
Change-Id: Ic688d65240dada75b014b6684d4bebed208551bd
|
|
Bug: 13963734
Change-Id: Ieee5631b8b6b5f36b3d6304ca653642f055453d8
|
|
* commit '4b10dd4a659bec13d5415fcaf24d2b60453f4d7a':
Use PhoneFavoritesTileAdapter directly in GridView
|
|
This CL migrates the logic that queries for and displays call
shortcut cards to ListsFragment so that they can be displayed
above the main contacts viewpager.
* Add a ListView above the ViewPager in ListsFragment
* Implement CallLogQueryHandler.Listener and CallLogAdapter.CallFetcher
in ListsFragment, and delete that corresponding logic in
PhoneFavoritesFragment.
* Use animateLayoutChanges on the parent LinearLayout hosting shortcard
cards so that we don't have to handle animations ourselves when a card
is swiped away.
* Make the minimum set of changes to PhoneFavoritesMergedAdapter so that
only call shortcut cards are displayed (no more menu, teaser, etc).
More significant changes to actually delete unnecessary logic is upcoming
in a separate CL.
Bug: 13963734
Change-Id: I55cdc53a9311b1bb78422aab9d174e860596b997
|
|
|
|
This CL moves the adapter that contains the speed dial contacts into
its own GridView that lives in PhoneFavoritesFragment. This is the
first step to splitting up PhoneFavoritesMergedAdapter into
a list of shortcuts and a grid of contacts, and also get rid of the
convoluted ContactTileRow logic within PhoneFavoritesTileAdapter, to
facilitate a future transition to RecyclerView.
* PhoneFavoritesTileAdapter now directly returns PhoneFavoriteTileViews
rather than ContactTileRows.
* Deleted a lot of unnecessary complicated logic within
PhoneFavoritesTileAdapter that had to do with ContactTileRows.
* Simplified and rewrote animation logic so that animations now perform
as expected within the GridView. In the future this may not be necessary
if RecyclerView is used.
* Rewrote layout/measurement logic for PhoneFavoriteTileView. It now
determines its height directly based on what its measured width is.
* Replaced PhoneFavoritesListView in PhoneFavoriteFragment with a
standard GridView
* Delete stale PhoneFavoriteTileAdapter tests
Notes:
Call shortcut cards are now temporarily missing due to this change
Bug: 13963734
Bug: 13933092
Bug: 13419223
Change-Id: I71e8970667589e4024d00e9af2c8b45c843c5db1
|
|
* commit '53845dc94a78d3efe4f8ea76a5e9a60dbc79aa16':
Renable fast scroller in All contacts
|
|
Change-Id: I60177bb1bc11801b4beaadaca8da598a86c19302
|
|
* commit '1e6efea12e3d9c72d31c8be2fd1ea8be2dfdb227':
Remove AllContactsActivity
|
|
* commit '099592e51291f9b08abf775f1e5f43dcbc95a050':
Add favorites/star icon to the phone favorite tile view.
|
|
|
|
Bug: 14157588
Change-Id: I48342e9a5f78173f84967e3330add8fd87442bea
|
|
Bug: 14116267
Change-Id: Id4ea8dafcfe4fa46ab0ea7677cada4f2e64aff7a
|