Age | Commit message (Collapse) | Author |
|
|
|
|
|
Change-Id: Ifc0c2d9cbccc0e972a23edc045fef57c63c9723b
|
|
Change-Id: I882d845959932500726a95d07da4c08b9c5803e4
|
|
Change-Id: Ide81e00c798f3c2b9a4b4bc46a8ca8ac2971d2ca
|
|
Initial work needed to make the dialpad shareable within Dialer
and InCallUI. This CL refactors the code that controls the appearance
of the dialpad into a new custom view called DialpadView.
The parent activity/fragment is still responsible for assigning listeners
and handling event callbacks from the DialpadView.
Change-Id: I11ab8159619413caf1c3d8fa16fff475b822633b
|
|
|
|
These are being moved there to make it easier for InCallUi to
reference and reuse.
Bug: 14108639
Change-Id: Id4ad1bee95e3f18ee436db527e8fde6e90e5c013
|
|
|
|
Change-Id: I49ae1763782529ad3ada03bb92b843b5608c3139
|
|
SearchView is too limited in terms of customizability for the
kind of UI styling we are trying to do. All we really need is a
space to enter text into, so use a EditText embedded in a custom
ActionBar view instead.
Bug: 13932490
Change-Id: I7081684c46b29b416dd6d0e5fcff249ee6f00405
|
|
|
|
Change-Id: I604b4b5297ee0b5f4502802324a3bf52d8fb4da5
Auto-generated-cl: translation import
|
|
|
|
|
|
Bug: 13956531
Change-Id: I1c39bc89179f9b6f15c20b908a49a7aabe8f05c6
|
|
Change-Id: I27089e7a2c1dcab6b3cee3235dc7b12e371c3f7b
|
|
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
|
|
|
|
These have been moved to ContactsCommon, and are now invoked
in Dialer from ContactsCommon.
Bug: 13956531
Change-Id: If8f97d8700b6b9549c43636b4ceb64adf37e6894
|
|
|
|
|
|
|
|
Bug: 14258061
Change-Id: Icb016476162362adf2476f3cba05672aa4f12a18
|
|
Change-Id: I9bf8dba8a0cc54a18b0d465b11b60ca297cf4a12
|
|
* Replace fake action bar at the bottom of the screen with a floating
action button which casts a shadow.
* Remove the now unused mDialpadOverflowMenu button in DialtactsActivity
* Modify dialpad layout to add a bottom row of buttons which provide
access to the add contact button and overflow menu
* Fix dialpad layout so the heights applied in XML are actually
respected - previously they were being ignored and each dialpad key
was being assigned the height of MATCH_PARENT
Bug: 13932988
Change-Id: I6e48c00c5ceeeffed142c3dd259e630d6daf8111
|
|
Change-Id: I112557892343a6baab4629cc9e918faf66988984
Auto-generated-cl: translation import
|
|
|
|
Bug: 13956531
Change-Id: I49137bd2498e8ae77204b45b5a8155d164f30b70
|
|
Bug: 13936108
Change-Id: Ic688d65240dada75b014b6684d4bebed208551bd
|
|
|
|
|
|
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
|
|
Change-Id: I7c7efe19e5a9ea1900d6253bdc75c826c3d6a6b5
Auto-generated-cl: translation import
|
|
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
|
|
|
|
Bug: 14157588
Change-Id: I48342e9a5f78173f84967e3330add8fd87442bea
|
|
Bug: 14116267
Change-Id: Id4ea8dafcfe4fa46ab0ea7677cada4f2e64aff7a
|
|
|
|
Change-Id: I135047e50d883599e8ac2f511b9d1dc149bbd8c6
Auto-generated-cl: translation import
|
|
Bug: 10510027
Change-Id: I05e9ee28b1bac74cf5f0dad349bce94659118fee
|
|
|
|
- Add new CallLogFragment for voicemails in CallLogActivity.
- Provide new empty message in CallLogFragment.
- Add voicemail title string to strings.xml.
- Removed some unused imports and variables.
Bug: 10696509
Change-Id: I2ba9e0cfdb8cda73d7e61712559020f2857992a1
|
|
|
|
Change-Id: I90a38a5b02280b0b1ddb5b993ba8fdd978cf0825
|
|
Also correctly detect and set the textStyle and textSize
on the children TextViews
Bug: 14012803
Change-Id: I4e0f6ed8354befb7c738707131124d5c442e713f
|
|
|
|
- Changed colors, sizes to reflect specified restyling.
- Changed drawing of colored rectangles into drawable colors.
- Cleared/removed unused underlines/styles/drawables.
- Added tab_text_color resource for selected/not text styling.
- Changed action_bar_tab to be more specific in its provision
of drawables so that drawable styling is less order dependent.
Bug: 14012803
Change-Id: I86a712fd05a5e7cbec12d4979a59dd67788439ea
|
|
This change replaces PhoneFavoriteFragment with ListsFragment,
a fragment that contains a Viewpager that will eventually
contain 3 fragments - Speed Dial, Recents (an abridged call log) and
All Contacts. For now, only speed dial and all contacts are in the
viewpager due to the call log fragment not playing nice with being
embedded in a parent fragment.
ViewPagerTabs is a newly added custom view that serves as a indicator
for ViewPager tabs. It behaves similarly to the newly deprecated
ActionBar tabs, but can be placed anywhere on screen.
Bug: 13935070
Change-Id: I916c516dc295246b2a95de2f0dc726784c2ee0cc
|
|
Bug: 14012803
Change-Id: I06a280b175ddcb564393d0758fb2ec539e8516a9
|
|
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
|
|
|
|
Also use new overflow menu png with circular dots instead.
Bug: 13935067
Change-Id: Ib34f89647153d7a808fe95bd5b0b7e20ca896b5d
|
|
Change-Id: I132e7a0725a266a6e414a1ae654165519dd6654a
Auto-generated-cl: translation import
|
|
Instead of crashing when an ActivityNotFoundException is thrown,
display an error toast.
Bug: 13882939
Change-Id: I5cda14ba8a404ff0f5196fdbc382201c47f4b4c8
|
|
|
|
Bug: 13673765
Change-Id: I367896803582b95e7e9c459747ee4d6685f03e73
|
|
Change-Id: Ie49b0b2eb5f238a8c132aebc3690dec478c8eac9
Auto-generated-cl: translation import
|
|
|
|
|
|
Change-Id: I26caea4e47da8ae8420ef35e8006ee3f968d0630
|
|
Change-Id: I79880461bddcba54dcf9a9b15ae5c19bc46de0da
Auto-generated-cl: translation import
|
|
Change-Id: I06eab14864bd2ebfc3017e6166a17f9baaaddce9
|
|
* Set window background to null per framework advice to reduce
overdraw
* Remove unnecessary background layers
* Fix the slightly deeper gray background above the searchbox
Bug: 10446771
Change-Id: Ie11db155593c7ea2118141aec876da37be35a7d5
|
|
Change-Id: I83b286db71f3ae2df3a31bbfc66c0045faa8f5ef
|
|
Change-Id: I62dddf65134eac3267c382f46a630e5d162de9eb
Auto-generated-cl: translation import
|
|
Tweak contact tile dimensions slightly
Bug: 13526106
Change-Id: I7ae82dc1815c95577c204dd6ed955d0bf1bc0dc3
|
|
|
|
* Add drawable and apply to dialpad fragment for shadow effect
* Tweak name/number padding in tiles
* Tweak default letter avatar placing in tiles
* Add shadow for dialpad
* Swap out 9patch drawable for recents
* Add 9patch to contact tile
Bug: 13421236
Bug: 13418523
Bug: 13421916
Bug: 13421236
Bug: 13419201
Bug: 13418712
Change-Id: I6ff8fe41d7e2d02db105bb542f425be13ae5fef7
|
|
This prevents the user from seeing a blue "Phone" actionbar during loading."
|
|
This prevents the user from seeing a blue "Phone" actionbar during loading.
Bug: 13438027
Change-Id: I3d46778a63df15fb9d44bd281e2ef8b20602f677
|
|
XML only change to layout and dimens.
Bug: 13422202
Change-Id: I79b0559ab8000f7d5a82182c202a6979a5648cb5
|
|
Only the hint text should be gray.
Bug: 13387408
Change-Id: I88bb3bc156e786ca6ccf19a9faae7d5abb3936f1
|
|
"CallDetailActivityTheme" to fix issue where Call Details action bar has wrong color."
|
|
"CallDetailActivityTheme" to fix issue where Call Details action bar has wrong color.
Bug: 13364992
Change-Id: I0f780809408e3d7ac2c7be35ee031361b507790b
|
|
|
|
Reintroduce a spacer view (under the no favorites view) that is
the same height as the search box + its margins, so that
the no favorites view does not shift when the dialpad is shown/hidden
Bug: 13341743
Change-Id: I00171b5fd546e30394c95d31976483d124f75f3b
|
|
button alone,"
|
|
Bug: 13322769
Change-Id: Iea2bd8886efed50b5b5e463c6e9205af4ad97a6c
|
|
Apply the translation animation to mSearchAndRemoveViewContainer
(which houses the entire searchbox and its margins), so that the
translation takes into account the entire height of the searchbox
as well as its margins.
Also refactored hideSearchBar slightly to remove an unused codepath.
Bug: 13284310
Change-Id: I7b8873154059f616d8a52c4a0239ea6be89c8efc
|
|
|
|
http://b/13189041
Change-Id: I91028c8fdee31c1f76610573a4396eb979c30170
|
|
the background behind the tiles. Previously it was set to the action bar color, and when the action bar changed to blue, so did this."
|
|
background behind the tiles.
Previously it was set to the action bar color, and when the action bar changed to blue, so did this.
Bug: 13194985
Change-Id: Id3324ff1de019bad9b6fd30373f27c42625fa28f
|
|
|
|
Change-Id: Ib6b3ceb8b97669d20ab5e2f277d16f78a3cb5e78
Auto-generated-cl: translation import
|
|
|
|
provide a more clear separation of the pressable areas for both."
|
|
more clear separation of the pressable areas for both.
Bug: 13204901
Change-Id: I43e140894a79b762afd6f199f59ca6b9a86edfb0
|
|
|
|
Remove the star icon used to bring up quick contacts, and in its
place, always show the overflow icon.
Bug: 13177113
Change-Id: I88e99b7c45da10013f4bdff879c106fac9e23f89
|
|
Change-Id: I70bd3d634a2b2061449117d2a864200427297e87
Auto-generated-cl: translation import
|
|
See CL 423036 for the searchbox text changes.
Bug: 13167901
Change-Id: I6806cb27c19f7f0ca55394d70134f0c30c93446b
|
|
Change-Id: I2bc77e160aed8efa63241c8f0c4b32422aa2063e
Auto-generated-cl: translation import
|
|
* Add remove view in dialtacts_activity.xml, and rearrange layout slightly
so that it takes up the same position in the layout as the search view
container. Contacts that are dragged to this remove view will be unstarred
and unpinned.
* Add drag event logic to the Remove View, so that when the user hovers a
contact over it, the UI will continue to respond. Previously, only the
PhoneFavoritesListView would detect touch events.
* Refactor DragDropController and OnDragDropListener into separate classes.
DragDropController performs the work of receiving drag/drop events from
multiple views, combining them, and then firing off callbacks as appropriate
to OnDragDropListeners. Each OnDragDropListener can then update their UI
or internal data model as necessary in response to the callbacks.
OnDragDropListener <----------------------------------------
^ |
| |
DialtactsActivity ---------------> RemoveView |
| | |
v | | callbacks
PhoneFavoriteListFragment |drag events |
| | |
v v |
PhoneFavoriteListView ------------> DragController--------
drag events |
| callbacks
v
PhoneFavoritesTileAdapter --> OnDragDropListener
* While in here, add a content description for the clear search button
Change-Id: I044ad1c5aa42c7686bde6bf5074095a4fe879bde
|
|
Contacts" affordance."
|
|
affordance.
Bug: 13080167
Change-Id: Id825ef4bfc9de5340d40cae8176bdc13fcfb3ccd
|
|
* Add logic to PhoneFavoritesTileAdapter so that it now supports an
unlimited number of tiled rows.
* Tiles now have a configurable height to width ratio.
* Fix animations so that tiles moving up and down rows appear to animate
in from the correct direction. Tiles moving to the row above should animate
in from right to left. Tiles moving to the row below should animate in from
left to right.
* Update the number of columns in the grid to 2.
* Update layout of individual tiles to match redlines from UX.
* Tweak font sizes for tiles
* No longer truncate names in tiles
* Tiles have a 2-3 height to width ratio
* Update assets and layout for favorite and more info icons
* Add content description for the favorite button
* Add tests for PhoneFavoritesTileAdapter
Change-Id: I50b298f0941698985d281f13e6a87c5a9b613efa
|
|
Change-Id: If60a45ca810f2c2ac6490c9e83ab418acb88db5f
Auto-generated-cl: translation import
|