Age | Commit message (Collapse) | Author |
|
This isn't the prettiest thing ever, but with this the "framework" of
all of the changes for the new visual style of the call logs is in
place. From here on out, the remainder of tasks should be unblocked
and relatively independent.
+ Rename ...ItemViews to ...ItemViewHolder. This probably wasn't
completely necessary, but is more proper given the new architecture.
+ ViewHolder is now officially where most of the independent UI logic
for a single call log list item should live. This changelist moves
further in that direction by storing references and helpers in it, to
lessen what must be passed in from the adapter.
+ Split out the call action from the rest of the actions, since it
has a special treatment on the card.
+ Convert text action buttons into a vertical stack.
+ Consolidate action stylings into a single style, for simplicity.
+ Miscellaneous style and string changes to put things in a better
state. This included tweaking some of the (ripple) backgrounds.
+ Update tests, according to changes.
Bug: 19372817
Change-Id: Ic923c0bcbbc1c153952131d0c772df9e9589fb03
|
|
Disassociate the color of the cards/list items from the background
color. Before, they were connected so they were ending up as the
same color.
Bug: 19372817
Change-Id: Id31891a0f86f98bd6143911e361abc70435abddf
|
|
+ Added card view dependencies to makefile.
+ Convert call log list items to use card views.
+ Cleaned up code style and unused views in fragment xml.
- Removed deprecated expand code (more work to be done here).
- Removed now-unused constants.
Bug: 19372817
Change-Id: I237cf214f8f052de5fb1f41908d6012f52de994e
|
|
Yay, finally!
+ Replace ListView with RecyclerView in layout and fragment files.
+ Change GroupingListAdapter to extend RecyclerView.Adapter instead
of BaseAdapter.
+ Change CallLogListItemViews to extend RecyclerView.ViewHolder.
+ Adapt onBindViewHolder and onCreateViewHolder methods in the
CallLogAdapter.
+ Update/rework tests for related classes.
+ Fix a bug in the GroupingListAdapter, where childCount was not
updated for standalone views, and the previously cached group size
was used instead. Set childCount to 1 for standalone views.
- Removed the idea of creating different views for standalone vs
group vs group headers from the adapters. This logic has not been
used for quite some time and all these functions funneled into
createView/bindView methods anyways, so there is no logical
difference. If we need to create custom views in the future, we can
leverage onCreateViewHolder's viewType parameter.
Bug: 19372817
Change-Id: I1b7289340600609669db22d8bc89265240d0b561
|
|
This depends on ListView footer functions, but the Call Log is being
migrated to the RecyclerView. This view will be added back later,
with that work tracked in b/20108202 in scope of M.
Bug: 20108202
Bug: 19372817
Change-Id: I55201e068362083bf5c18ebd08c2e57c97c1b827
|
|
Fix warnings of form: "libpng warning: iCCP: Not recognizing known
sRGB profile that has been edited". Most of these were swaped by
replacing the old assets with newer or equivalent versions.
Bug: 19536005
Change-Id: I0535c0876806607f4aa170a5839829fff367ab9a
|
|
|
|
- Remove isCallLog specific code from adapter; now everything will
always be in the call log.
- Remove unneeded adapter bits from ListsFragment; there is now no
shortcut card shown in the lists fragment.
- Remove call log list item extra. We won't bind badges using this
any more. This will be superseded by the actions. Remove
badge-related code in CallLogAdapter.
+ Leaving the add-person icon, since it will be used in the future.
Bug: 19372817
Bug: 19627987
Change-Id: I4db8149761b017e02e89c081930a05f3aafe9606
|
|
It was "broken" because it was hidden under the action bar. Fixed
by adding the height of the action bar as top margin to the remove
view.
Bug: 19684430
Change-Id: I0ea54184499d41e5267ddff8862ba3bc9ca2efbe
|
|
- Remove the OverlappingPaneLayout, which is no longer needed
since the recents card has been removed.
- Known Issue: SearchBar is no longer hidden on scroll.
- Known Issue: shouldShowActionBar does not return correct value.
I plan to fix these KIs in a follow up CL, but going for incremental
changes for now to try to keep it apparent what is being done.
Bug: 19372817
Change-Id: I9ae1ca19820c87f252863074a5bcab6923b03558
|
|
- Delete SwipeableShortcutCard, ShortcutCardsManager.
- Remove related references in ListsFragment, layouts, helpers for
swipe behavrio, dimensions, and ids.
+ Update sliding logic in ListsFragment.
It's not ideal to use a frame layout to provide spacing/color, but this
is the most straightforward way to maintain behavior for now. This
can/should be revisited if removing the OverlappingPaneLayout.
Bug: 19372817
Change-Id: I789119fb8f87ea19cda545eec7c722306fc2813d
|
|
|
|
This allows us to fully blank out the screen instead of faking
a black screen leaving the nav bar and notification bar active.
Bug: 11734938
Change-Id: I716642fa7f85776d1701d3b95736065dec4d2eac
|
|
This custom adapter was legacy from our implementation of Material
design, but we should use the system default styling now.
Bug: 19529041
Change-Id: Ie30e283bdc00895746c429a337cad19a95ac6b0f
|
|
|
|
Remove ListView containing shortcut cards and replace it with a single
ShortcutCard card.
Rename ShortcutCardAdapter to ShortcutCardManager with slight refactor.
Some corresponding logic changes inside ListsFragment.
Reduces the number of getView calls at startup from 4 to 1.
Change-Id: I11787bdb1d04cc19634c21bfd398b7533c75d339
|
|
Change-Id: I8b68eadf13f581d10b92ae58eb78d04f31a6ff60
|
|
The text "Search contacts & places" gets cut off because the small size
of certain devices causes the text to spill over to a second line. Use
"wrap_content" for height instead of "search_box_icon_size"
Bug: 18552411
Change-Id: I2263aca687d1d2a431146d057099980970df75f0
|
|
Add static padding to top of empty list view text instead of
centering in layout.
Bug: 18357286
Change-Id: I9b63eda0de0134e7e4b8dde3984ef4bdb239feec
|
|
After removing newlines from the string, it's going to the edge of
the string because it's pretty long. We don't want to do newlines
this way because it makes life harder for translations, which
could well be shorter and fit on one line.
Bug: 17446974
Change-Id: Ie758668c2b70f82916993017fa5c3611c150f257
|
|
Add a line under call log to display PhoneAccount label in the color of
the account/SIM.
Bug: 17971273
Change-Id: I16c37ae8828245f928bc3867a498a29e73b5925c
|
|
CallLogListItemView is a custom view that might have done
something once, but doesn't anymore. It makes the code more
complicated to read and requires a lot of casting that does
nothing at all.
Change-Id: I53efb35367d748aa3d164d0fb56686175967c90e
|
|
|
|
|
|
The TileInteractionTeaserView is no longer displayed in the UI.
Change-Id: Ieaf24cdf2ecd5971a22e58e34c49a4481b7d6320
|
|
Bug: 17506540
Change-Id: I9ad4bf66c08dbbf3e283cc780ff8cbca9b3495a3
|
|
Bug: 17754808
Change-Id: I7848edbcc7f6bb3dbdc93d13fe4b8e6cfd048451
|
|
Bug: 17931509
Change-Id: I3660e963187aa46910b805ad022ccbcb80057f23
|
|
+ Force LTR if textviews show numbers.
+ Change history header with to match_parent so it aligns tor the
right properly. Before, it was on the left, even in RTL languages.
Bug: 17776561
Change-Id: I53907496fe4e7a12f8962d4bc7295ed7a294c6e5
|
|
2. Adjusted the padding around the base call settings preference page to
match the settings on the sub preferences
Bug: 17529308
Change-Id: Iba1c6cfb4057cf56e8250abea25602aa2ce4eac8
|
|
Make View call history color #737373
Make preference headers #333333
Make preference descriptions/summaries #737373
Bug: 17548969
Change-Id: I2cf85896d6bbef934fee73ac2f8a3a96d50ef3ac
|
|
Bug: 17446553
Change-Id: I92f3ae9f5b6205f868b4cec0968337f4ea386b8e
|
|
This change is necessitated by a change in ag/541280.
Dialer doesn't actually use the account_filter_header. But
I figure I should keep references to it upto date as long
as they have it.
Bug: 17399714
Change-Id: I0a853876af895b9cb5493e872b91c44ba3bbba2f
|
|
+ Use scaleIn/scaleOut for FABs in the Dialer application.
+ Add assets for green fab.
+ Update dialpad fragment, both the Java and layouts, to have their
own FAB containers and FABs.
+ Change DialpadSlidingLinearLayout into
DialpadSlidingRelativeLayout.
- Removed or relocated dial some FAB handling, visibility, and
translation functions. Now that the FABs in the dialpad fragment
and DialtactsActivity are distinct, the logic can be scoped more
precisely to a particular fragment/view.
Bug: 16399233
Change-Id: I86f9f0053dc3c50fe0d5046389632af7ddff9f67
|
|
+ This appears for contacts with no lookup key. This means that it
will show up for businesses too; even though we match a name,
there's no lookup key.
+ Remove missed call information which used to be shown below
the shortcut card, but no longer is.
+ Make alignment of this call log list item more pretty.
+ Add tinted person_add drawable for this actionable item.
Bug: 17186220
Change-Id: Iabcfa73c2ffeeb0bb24127ef74e85e612be51b9e
|
|
|
|
* Changed settings gear icon
* Made the dismiss button a visible color
* Realigned the text
* Removed most of the extra space around the dividing line
Bug: 15740204
Change-Id: I4049a04b4bc48747ffe8208bd79d58ca8a423e38
|
|
^see title
Bug: 16685783
Change-Id: I652386918b118d591743a36008e78a41747bc3a8
|
|
|
|
* Expand and collapse voicemail transcription view as necessary
when tweaked
* Modify call_log_list_item layout slightly to pin the photo
at the top of the call log item
Bug: 16320164
Change-Id: Ib0d84dd77065dce86339c852313adb94b34ba5aa
|
|
Reveal now works from the favorites tiles, recent cards/call back,
search results, dialpad, and disambiguation dialog.
Bug: 15284651
Change-Id: I43ba1d7095b839ec24faa043de042048d36057b1
|
|
Bug: 15725264
Change-Id: Ice64b4d0188a96ea02df5066c24e749e47b3419c
|
|
Bug: 15935940
Change-Id: Icdbd06ea882e59fdca25d13e63557efacf14451c
|
|
Add the voicemail-related views into the ListView's header view
so that it can scroll.
Also refactored some layouts so that we only inflate the voicemail
views if hasVoicemail() is true
Bug: 16518757
Change-Id: I17fb303efa96c28c6b97e5cfbf5d8b1ef6a0159c
|
|
|
|
Move item_background_material_dark drawable to ContactsCommon, and use
it in Dialer
Bug: 15725264
Change-Id: I5181646ea4a787593689784d35812bceaf051119
|
|
Bug: 15730203
Change-Id: Icd72854ed311b1cdf6130c6df0adec5e9638c232
|
|
Specifically to update text and background color in call details and
colors in dialpad.
Bug: 16356911
Change-Id: I048ca9d71a7befb25aa9f68bace5b6cd7f76e47a
|
|
|
|
Kept the height of the search box the same while decreasing the height
of all other action bars.
Bug: 16627750
Change-Id: I43f2ae6b0f67113df2522369f5fef78c0dc12df4
|
|
|
|
We will be adding the account label field to call details if there is
more than one account to disambiguate. Otherwise this field will be
hidden.
Bug: 16488229
Change-Id: Idb03d09d63372655504a5f9178e6f2e408aefb88
|
|
|
|
The icon was not updated, adding assets.
See bug for screenshot.
Bug: 15188371
Change-Id: I1e2ded0c57d64707eae44820af09caaf763549ce
|
|
With the new interaction to launch the phone from the lockscreen, Dialer needs
to provide a static layout which looks as close as possible to the screen after
Dialer is fully loaded.
Bug: 15126905
Change-Id: Ide1a54833ed00a9e8854408d7cb872d33633b6e5
|
|
* Display voicemail transcriptions in the call log and call details
activity in the Dialer
* Fix a bug in CallDetailActivity that would result in multiple instances of VoicemailPlaybackFragment being added on rotation. Now, reuse the same fragment
if it is already present in the FragmentManager, to avoid creating new ones
* Simplify some test and ctor logic in PhoneCallDetails to reduce the pain
of adding new fields into PhoneCallDetails
* Simplified playback_layout.xml to remove unnecessary parent LinearLayouts
Bug: 16320164
Change-Id: Ie68acc9058aace49d8e64f44a0128de0b6a3f842
|
|
Adding phone icon to recent phone card to differentiate behavior from a
regular call log item.
Bug: 15188371
Change-Id: I7de2c019e318f8d74a7783c7a566239f9d4e1725
|
|
* Underline in ViewPagerTabStrips is correctly drawn in RTL mode
* Clicking on ViewPagerTabs propogates correct onPageSelected position
to ViewPager
* FAB is now end aligned instead of right aligned
* ViewPager in Dialer is correctly reversed and behaves correctly
* Call Log groups headers in call log are now correctly aligned in RTL
Bug: 16162264
Bug: 16464471
Change-Id: I2db6b9147a628a68fba5bbbdb7276855d483bad5
|
|
Change-Id: I0a250709eca34fcbbfdd94cf1cf25195bce844b8
|
|
|
|
Bug: 16158921
Bug: 15616182
Change-Id: Ie648d78dd4df402936c4665eca7c6998e463ca2b
|
|
Increase padding and modify text spacing. See screenshot here
https://drive.google.com/a/google.com/file/d/0B0hheJjccUOjMHAycHN5Qy01MVk/view?usp=sharing
Bug: 15571286
Change-Id: Ieb3c9e0103bcf2bdfe236ba84d21897b4757faf1
|
|
bug:15023558
Change-Id: Ie85b281ff77694874953ff88297e0d034560c82b
|
|
Requires cl/501841.
Call log:
1. Add video call affordance.
2. Add accessibility text for calls, video call afforance.
3. Fixed unit test
Call details:
1. Showing video icon when a call had video.
2. Changing call headings to indicate they were video calls.
Bug: 16013879
Bug: 16013344
Bug: 16013684
Change-Id: I53b5bf9b0b1a63f9d119318d59f690d310cca7c8
|
|
It toasts when clicked for now. The database is not updated when it
is clicked yet.
Bug: 11150383
Change-Id: Ifd588bdfb36dd8a96977a870071a064726f6e669
(cherry picked from commit 3eae4825ee9a29bd43c9b01d3cbf92de6ad3eb11)
|
|
Change-Id: I866e9d4f629a2b23acb3d3d3f2baeb0a674522f7
|
|
Display an icon in the call details showing which connection provider
(subscription) is responsible for the call.
Bug: 15473965
Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
|
|
Fixed floating action button margins so it is
centered on screen.
Change-Id: I8b67dbe96776e4313872ffcc11cc21868674d148
|
|
|
|
Also, some slight renaming for consistency across dialer.
Bug: 15513399
Change-Id: Ia66084630fc9473dc24303aab0d777e1bde1b41a
|
|
|
|
Change-Id: I4a479063546ffe7e90772c79651193d313239603
|
|
Change-Id: I612b5a9dd8451c18ae5b5d38291182b8f5b1589f
|
|
Switch to FrameLayout instead of RelativeLayout since we don't need
the more complicated and expensive layout abilities of RelativeLayout.
This improves startup time (on hammerhead-eng, interpreted ART mode)
to about 1150ms on average from 1300ms originally.
Change-Id: I94400dcc58cc74497c71a7432a06a4dffe3b078d
|
|
Change-Id: I98b24e23d9d3283223f8db0c58930977b7a8fd35
|
|
Change-Id: Ic96a35172c113e8b25084de3c8cf5e44f931903b
|
|
dial grid." into lmp-preview-dev
* commit 'a9a75dc1956f4b6a3d3527b7b9e204acbb316b68':
UI improvements on tabs, recent expanded card, speed dial grid.
|
|
- 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
|
|
|
|
- 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
|
|
- Contact photo is now quick-contact which invokes quick-contact view.
- Removed send MS and call affordances, along with scrolling effect.
- Added missing accessibility strings to voicemail controls.
Bug: 15328410
Change-Id: I6d78d582af8c3a5cea8e051911cf3be763df2a36
|
|
- Changed tab weight from bold to medium.
- Darkened the lists background by ~2% black to improve contrast
for the expanded call log items.
- Fixed colors on the expanded call log item, back to white.
- Some cleanup to store constant properties as member variables
in the CallLogAdapter.
- Fixed vertical margins on the speed dial favorite square views.
Bug: 15470880
Change-Id: Ia2583f527e1fc91af08e049312eaa724176b761d
|
|
into lmp-preview-dev
* commit 'b6c81586ff375eecd9c74bae23823e21b24d54cd':
Remove contacts tiles 9-patch from favorites tile view.
|
|
lmp-preview-dev
|
|
It looks like this 9-patch was responsible for the shadow which was
observed below the speed dial tiles in the associated bug. Even if
not, doesn't seem like we're using this anymore, as far as I'm
aware, so this should be safe to remove.
Bug: 15385828
Change-Id: If7eccf767562bee0367e58363142116095bf06a6
|
|
into lmp-preview-dev
* commit '161f0116fb9b4f5cf4f66f4910bc9dde28b721ad':
Add elevation to call log activity view pager tabs.
|
|
|
|
Bug: 15385828
Change-Id: Ia0b175a53bec1d28836f612fe4f304e9fb2c2c14
|
|
Bug: 15411375
Change-Id: I9f5857eb1f1edaa1ca91d9b0ce64a90c57edb95a
|
|
Change-Id: I8b156297f69e4ac629f72e1f3af92e06aa8652a5
|
|
* commit 'e1c0396db7e655e2a4e9ce5ce85c614ea450c723':
Change day group header label in recents to medium weight.
|
|
"top".
* commit '44198fe16e007fa60afe8ebf32b1bdd17141fb9e':
Use padding instead of margin so that it only applies to list "top".
|
|
|
|
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
|
|
- 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
|
|
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
|
|
|
|
Bug: 15408691
Change-Id: Id54cfac084a0ec0e80704ba602f32dfff544b4f8
|
|
- 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
|