History log of /packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4ceb430d354d76f18b293faf87a92854e26a94b8 14-Apr-2016 Sailesh Nepal <sail@google.com> Cache call type icons

Looking at the trace attached to b/28142787 it looks like
CallTypeIconsView.Resources is created frequently. In my local testing
with 9 items in my call log, it was created 23 times on load and 3 more
times on scroll.

According to the trace, creating a Resources object can be expensive.
In one frame decodeBitmap was called 3 times and took 1.4 milliseconds.

This CL works around the issue by caching the Resources object. This
should be ok. The only downside of this is:
- the cache won't be updated if the DPI variant changes
- the cache won't be released if we get a memory pressure event

Bug: 28142787
Change-Id: Ibc2ef02f7c92022deabedd70b1af135a10c9df29
(cherry picked from commit 341185547f9d54566055b270f69f1b93f0301c36)
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
f549abc92a680f31b4b210705e03428aa0d7c040 12-Oct-2015 Andrew Lee <anwlee@google.com> Show icons for call detail actions.

- Remove LinearLayouts and use drawableLeft instead.
+ Up block asset from 18dp to 24dp.

Bug: 24109819
Change-Id: I941520f1b90e6f819c7f94269e395d26c56f5734
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
70bb286f79696fc3a3ee8a57a038a9f56087d902 08-Oct-2015 Andrew Lee <anwlee@google.com> Show blocked contact instead of profile photo.

Does not yet update on change; figuring to do that in a followup
CL because there are a number of other scenarios where that
needs to be fixed too.

Bug: 23943480
Change-Id: I73615c405d547e74667f6c635b5623708c723347
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
610ac9cd2867bb714cdec50835a29f1a1dc04907 04-Oct-2015 Andrew Lee <anwlee@google.com> Show blocked icon in call log.

For calls of type BLOCKED, show the blocked call icon.

Bug: 23943480
Change-Id: Ic1477090c31d51322dbe04dac29f1ca3b0dae4d1
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
838988bf34229b33ed39bb7dc7109427da264c81 26-Sep-2015 Andrew Lee <anwlee@google.com> Add BLOCKED call type and util to mark in call log.

To support call blocking, added BLOCKED call type.

Also added utility to be able to mark the most recent call from a
number as BLOCKEd in the call log database.

Added REJECTED call type as well. This is not presently used within
our application, but we want to reserve the integer, anticipating
changes in the framework to add this constant.

Introduced AppCompConstants, because BLOCKED and REJECTED call type
values will not be defined as part of the API on M devices. Change
existing call type constants to reference this compatability class.

Bug: 24341350
Change-Id: I523ebd8dd1844a3b71a69a14bd38073be5940804
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
51c2bde72ee4674266ac464bea2aba72d217d75f 06-May-2015 Andrew Lee <anwlee@google.com> Update layouts for call log list item actions.

+ Add icons for actions.
+ Revise layouts to match new visual appearance. Call Log actions
are now a linear layout with an icon and text.
+ Some style/redline tweaks.
+ Temporarily replaced animation logic with LinearLayout, to be
revisited.

Bug: 20433758
Change-Id: Ia13b6c9f583d673743488f2e93be5593a1fbf8dc
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
5619f2ed87cb207352c0ff5578348baeb69ee202 15-Jul-2014 Tyler Gunn <tgunn@google.com> Various call log / call details video call changes.
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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
8b0e858d5b4c50813dbe2b5c244e7013814b23ec 10-Jul-2014 Tyler Gunn <tgunn@google.com> Adding support for video call icon and data usage in call log.

Bug: 16013684
Bug: 16015261
Change-Id: Ie75443d641c1e09a5772bb618aba55de8583716b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
4cfaa1a0b75b81b6feb1b78ab57016266b98611e 12-Jun-2014 Paul Soulos <psoulos@google.com> Use ContactsCommon rotateDrawable

Change-Id: I22c00f4c6e9c4d6dddec7704835b7612dba820be
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
e38e9ab6195950d2083efde283788b91d03354c4 29-May-2014 Yorke Lee <yorkelee@google.com> Fix broken Dialer tests

Remove unneeded use of resources
Instantiate CallLogListItemViews correctly
Add dummy number to SmartDialPrefixTests

Change-Id: I417f54329f43d53e24c4ab6cc65d08d05b5dd6a1
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
0c5fb5926ac9b9e9ce593054adf2cc96950101ac 12-May-2014 Tyler Gunn <tgunn@google.com> Changing colors of the incoming and outgoing call icons.

Removed separate drawables for the different variations and instead rely
on a single white icon which gets colored and rotated as needed.
Bug: 13962594

Change-Id: Id35efd7f2675bf118b3895e98933ce43f90423d1
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
66b60af960e3bf2e3b425966026e4b8ed8d01a03 08-Nov-2013 Yorke Lee <yorkelee@google.com> Treat unknown call types as missed calls

Don't crash on unknown call types. Instead, just treat them as missed
calls.

Bug: 11586034
Change-Id: I4ca1721e1526ade36237251e7636d161ca8490be
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
217d1edcaf8b57829207abf9901c016b1fba9005 14-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move dependencies of AccountTypeManager into ContactsCommon.

Moving dependencies in preparation to move AccountTypeManager.

Bug: 6993891
Change-Id: I0399fee27960d46cd5b6f629d32868ff0c2ce38e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
9554500572ba82fbd7adb0a1637206ef870ef09e 15-Oct-2012 Chiao Cheng <chiaocheng@google.com> Changing com.android.contacts.R to com.android.dialer.R.

Bug: 6993891
Change-Id: I921ec71fffbd4d4a058bab29ded8a6ac62adfb70
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java
94b10b530c0fc297e2974e57e094c500d3ee6003 18-Aug-2012 Chiao Cheng <chiaocheng@google.com> Initial move of dialer features from contacts app.

Bug: 6993891
Change-Id: I758ce359ca7e87a1d184303822979318be171921
/packages/apps/Dialer/src/com/android/dialer/calllog/CallTypeIconsView.java