History log of /packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
142362f8253e7456640c14d6acaf1969afc4b68d 28-Jul-2015 Yorke Lee <yorkelee@google.com> Start contact info cache query thread in onResume

Bug: 22783484

Change-Id: If7881ad6a18eafe0b2ea8411b8472ba444320991
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
575ae388961252a771488c357e425fca191594b2 16-Jul-2015 Yorke Lee <yorkelee@google.com> Add permission prompts for contacts and dialpad search

Update the following fragments to handle denied permissions
-Contacts Search (Contacts and Location)
-Dialpad Search (Phone)

Tweak and remove some of the onTouch listener logic as they are
no longer valid with the new UI. Instead of intercepting the touches
when the query is empty and returning to the main dialer activity,
allow the fragments to remain on screen if the permission request
UI is showing.

Modify signature of onEmptyViewActionButtonClicked to remove unused
permissions parameter.

Bug: 22174668
Change-Id: I96d00f2ab45df936dca602ac025f723638ac02c4
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
38019af70eb1ca084d36291390bbc54dc81027de 15-Jul-2015 Yorke Lee <yorkelee@google.com> Update Dialer UI to prompt for permissions

First pass at adding functionality to Dialer to prompt for
permissions. Also updates the UI for various fragments when
there are no contacts/calls available to unify the UI with the
new UI for the permissions denied state.

* Refactor existing empty view functionality and encapsulate
into a new custom view class

* Add action buttons to existing empty views in various fragments
-> Speed Dial (Add to favorites) - scrolls to all contacts fragment
-> Recents (Make a call) - shows dialpad
-> All contacts (Add a contact) - Launches add contact dialog

* Add functionality to various fragments to detect if permissions
are denied, and request the permission when the action button
is pressed.
-> Speed Dial (request for contacts permission)
-> Call Log (request for phone permission)
-> All contacts (request for contacts permission)

* Remove now unneeded EmptyContactsListAdapter

Remaining issues (to be addressed in a follow up CL to avoid bloating
this CL):
UI alignment tweaks for empty view to match mocks
If the read contacts permission is requested from the
speed dial screen, the all contacts fragment doesn't update with
the list of contacts until restarted.

Bug: 22174668

Change-Id: I70721914bb9b32910d746de288ccac049749e42e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
019713e2b85ff6868c7a77f556b03702d5d07cb0 07-Jul-2015 Nancy Chen <nancychen@google.com> Go to recents tab instead of CallLogActivity for call views.

Use the DialtactsActivity instead of CallLogActivity when
accepting ACTION_VIEW intents for the "calls" mime type.
Also remove an unused method in CallLogFragment.

Bug: 22266705
Change-Id: I1bf089901b1a5f9534c9f7a8484c12e535a87749
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
053b9c7a4b2662588706211fd8aa1f8a03ec2901 19-Jun-2015 Andrew Lee <anwlee@google.com> Rewrite of MediaPlayer logic.

+ Control MediaPlayer instance more tightly. Wait until
prepareContent to initialize instance. Release MediaPlayer when it
is no longer needed.
+ Instead of using isFinishing, check explicitly for orientation
change to know whether to release MediaPlayer.
+ Change Presenter to singleton, to address audio change wonkiness.
+ Only create a Presenter if the call log fragment shows voicemail.
+ ... fixing a variety of cases.

- Temporarily disable proximity sensor until blocking issue is fixed.

Bug: 21856243
Change-Id: Ic06e98bb5278467c3cce726a06b6cf3d855861a2
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
efd863ad7b84562155e08435a0fd7adfe456b5cb 18-Jun-2015 Andrew Lee <anwlee@google.com> Pass activity into VoicemailPlaybackPresenter.

We will use it to set windows flags to help make playback behaviors
reasonable.

Bug: 21856243
Change-Id: I7c1ecb9e225a507ea8956ccc31d667361a4b6824
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
2f05af35af03de67c1c474cd148719b24fac3552 10-Jun-2015 Andrew Lee <anwlee@google.com> Move "Report" to CallDetailActivity.

- Delete old report button/handling code.
+ Convert menu click listeners into single onMenuItemClick method.
+ Add and populate objectId on PhoneCallDetails, to be able to
tell from the CallDetailActivity whether to enable reporting.

Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
6a86690a2ad8f6c5068d901e6cbc368598e13ddc 09-Jun-2015 Andrew Lee <anwlee@google.com> Fix some more unit tests...

+ Pull out voicemail playback tests into their own test class.
+ Fix CallDetailActivity unit tests.
+ Some minor tweaks to functional code to facilitate.

Bug: 21471763
Change-Id: I0f1747ab7ad6eba7dd2a7f6f8cfd060b409771bc
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
267e9ebd056ec4973c4b37c38f949e863de4f24c 03-Jun-2015 Andrew Lee <anwlee@google.com> Move VM playback from details to call log.

- Delete voicemail playback in the CallDetailActivity.
+ Add voicemail playback to the call log list items.
+ Move the VoicemailPlaybackPresenter to the CallLogFragment.
+ Fix some retaining state for both call log (expanded items), and
preserve rotation/state functionality for voicemail playback. This
included some changes to the Presenter logic.
+ Fix some tests.

Bug: 21471763
Bug: 21170557
Change-Id: I30aae3a52c5bbf74a5075a9666343c337b1fc0df
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
58eaabcc31e23fd4c071ad911b96da6eea4abc28 27-May-2015 Andrew Lee <anwlee@google.com> Refactor Voicemail Playback into standalone view.

+ Substitutes the existing playback widget in CallDetailActivity,
although the plan is to move this to the call log shortly.
+ Convert the widget from a fragment into a layout. This allows us
to more easily create multiple instances of the voicemail widget in
the same view, as we intend to do in the call log.
+ Shift UI-related logic from Presenter to the Layout.
+ Fix janky seeking, so that it now works correctly consistently
rather than sporadically, and doesn't need to buffer again.
- Remove the VariableSpeed player formerly used in the Presenter. We
don't use this functionality anymore, and this allows us to directly
used the framework MediaPlayer (instead of a custom legacy proxy).

Bug: 21170557
Bug: 20693172
Change-Id: Ia34f459df10e43763b32fdb0954f83e882664231
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
b7330e3802e8f9182ae1f5e54857a713b2f13547 23-May-2015 Yorke Lee <yorkelee@google.com> Handle runtime phone permission

We don't have access to the call log without the phone
permission, so disable the following functionality:

1) Call log display
2) Show call history overflow menu option
3) Last number dialed functionality

Bug: 20266292
Change-Id: I2f1d4b8b5f747d2fa04c3a9c291f9cf5147646b7
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
bad58ac9eb49521e3fe37207648d4aa95766e5eb 14-May-2015 Andrew Lee <anwlee@google.com> Don't set voicemail status message in Call Log.

This code has been unused for quite some time, as far as I can
tell.

Bug: 20433758
Change-Id: Ic9fef01954720c24d8ba6971534897a88af42a8f
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
bb48628db6fd444460df61be7afa7fb633f47f50 12-May-2015 Andrew Lee <anwlee@google.com> Indicate whether CallLogAdapter is for Recents.

Bug: 20924950
Change-Id: I6163565ec508d245afd83112927d636a4a50f27e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
4aece9536ed64da965fd42da07a393f935abd6b1 03-May-2015 Yorke Lee <yorkelee@google.com> Dynamically check for permission denials

Don't crash when performing certain operations that the
dialer might not have permissions to execute:

* Access voicemail provider
* Certain TelecomManager methods

Add a class TelecomUtil that checks for permissions/default
dialer status, and handles the privileged operations
appropriately.

Bug: 20266292

Change-Id: Ibe8a85440b9ca20169b5ce3be24d1a385caaebb6
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
69705be50fc4c84b35df88c879dd9a4b4de655b3 05-May-2015 Andrew Lee <anwlee@google.com> Add "show call history" list item.

+ Add new VIEW_TYPE to the CallLogAdapter.
+ Reintroduce boolean on CallLogAdapter to specify if a call history
list item should be shown.
+ Add new ViewHolder and layout for footer.
+ Some minor styling tweaks and cleanups.

Bug: 20108202
Change-Id: Ie4a86bff9e53cfd69ef8b061af048f40f4358579
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
492cd7371c6d8fddc4de85887a4ed9a89d602767 08-Apr-2015 Andrew Lee <anwlee@google.com> Replace ListView with RecyclerView in call log.

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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
fcb5a03fbd4392ca9e159fcb7debf457cb2e739d 07-Apr-2015 Andrew Lee <anwlee@google.com> Remove footer view.

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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
64c031c7529d98c53e4d917e3bb6e935bbdb6bd6 08-Apr-2015 Andrew Lee <anwlee@google.com> Merge "Remove expand/collapse animations in the Call Log."
ff6adf9a746a6199729a9e227396929667496306 07-Apr-2015 Andrew Lee <anwlee@google.com> Separate empty view logic from ListView.

Don't rely on setting the empty list on the ListView for controlling
visibility of the list view and empty view. Save the reference and
control this in the call log fragment.

This removes a dependency on ListView-specific functionality which
is not found in the RecyclerView.

Bug: 19372817
Change-Id: I0a7e2e2366e258013ddbe30bd2ee7efb38349421
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
c6fde8d1b9a4e586ca65b82e9911089a9da14508 07-Apr-2015 Andrew Lee <anwlee@google.com> Remove expand/collapse animations in the Call Log.

- Remove animation logic in CallLogFragment.
- Remove expand listener from CallLogAdapter.
+ Update tests and constructor.

This preemptively removes expand/collapse behavior. While this
will result in a janky short-term experience, this is an incremental
step in shifting to RecyclerView and the new "Card" UI. I figured it
would be most efficient to delete it straight up, rather than coding
in intermediate logic to work with the RecyclerView because it will be
made obsolete by the Cards UI anyways.

In the long run, expand/collapse animation behavior will be
restored once the call log is migrated to RecyclerView and converted
to Cards.

Bug: 19372817
Change-Id: Icbdc7dcb9f2f2223456c29334c826d38917b087a
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
2370e85a8203b4dc3722f2e013124e1e88d15b7c 07-Apr-2015 Andrew Lee <anwlee@google.com> Merge "Don't track ReportDialog state in CallLogFragment."
f652ab09390ecc5f0932cc5f5e7328395f3fd93d 04-Apr-2015 Andrew Lee <anwlee@google.com> Don't track ReportDialog state in CallLogFragment.

This was implemented formerly to prevent a crash on rotation, but
this can be done by specifying that the Report fragment should be
retained in GoogleDialer.

This means that the fragment will not be retained now if the activity
is killed off by the system, but I think this should be okay since
it is a dialog.

Bug: 19949319
Change-Id: If3ebca4625fce93d9d9ce3c9bde6d92729f21c40
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
74479d448bc39c3534585a627fba603aa89e93ca 03-Apr-2015 Andrew Lee <anwlee@google.com> Create ContactInfoCache from CallLogAdapter.

This pulls code from the CallLogAdapter, with only tweaks to variable
names and comments, to create a ContactInfoCache responsible for logic
pertaining to looking up and caching contact info.

The logic is intended to be unchanged for now, although in the future
it can/should probably be cleaned up sometime.

Bug: 20038300
Change-Id: I60a57b0a665496522a6b51c9e6e41a4fd6dbad1f
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
25e732727f5bf2c38c40cd353b739742278940c1 01-Apr-2015 Andrew Lee <anwlee@google.com> Move view expand logic to CallLogListItemViews.

Bug: 19372817
Change-Id: I92d9f001155d4a059c89bc4b00abcef4e817f32d
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
5387ddb2da7291341663c15375de266f377b07d3 26-Mar-2015 Andrew Lee <anwlee@google.com> Move Report-Bad-Data toast to GoogleDialer.

Bug: 19949319
Change-Id: I32a2217a24915a7d862a1c9d521fc0c45f0ecb68
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
6903d9813bd693fe44afb4d5989b58df17c12a44 21-Mar-2015 Andrew Lee <anwlee@google.com> Notify adapter of data set change onResume.

Even if we don't need to reload the data, refresh the list view with
the data we currently have. We display the call log times using text
descriptions relative to the present. This refresh updates those
descriptions.

Bug: 19653523
Change-Id: Ib5bc79d52946baabac86c2b9459ab66901d5615b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
dc4dd5e7da8407ac106263ae6b380b47ed536135 16-Mar-2015 Andrew Lee <anwlee@google.com> Clean up extra helper methods.

To assists with readability, clean up call log fragment by calling the
contents of the helper methods directly, to remove extra level of
indirection created by the helpers. In most cases, these helpers were
one-offs, or were direct calls to another helper method.

Bug: 19372817
Change-Id: I96d96bee6b300a26987513d50115de0c4cd522c1
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
14cfa66d6df53303c280194d661c0b32838aa417 14-Mar-2015 Andrew Lee <anwlee@google.com> Delete call log list item extras.

- 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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
630fa468c79d44daae4e48f465cbaccdb9e2fe67 16-Dec-2014 Yorke Lee <yorkelee@google.com> Fix ClassCastException in CallLogFragment

Use listview instead of root view as parent when inflating
footer view so that it is always inflated with AbsListView.LayoutParams

Bug: 18762303
Change-Id: If9f5a38017d07d35962881750e2b403aa95287cb
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
622ba6ca7d736435d7f3ec879cc2ef55e9ef0b94 31-Oct-2014 Brian Attwell <brianattwell@google.com> Merge "Use improved analytics in Dialer" into lmp-mr1-dev
beab3bbc2c977a48e3affc3e61cc2fdbb22c4ae2 27-Oct-2014 Brian Attwell <brianattwell@google.com> Use improved analytics in Dialer

Remove dependencies on old analytics code.
Initialize analytics inside DialerApplication.

Improving analytics CL #4/4

Bug: 18039620
Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
2ff08a8f8d4762ab5d0aebb0b69079f0b8d20b3e 25-Oct-2014 Yorke Lee <yorkelee@google.com> Remove CallLogListItemView

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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
c311af1f33f9d408c7eee5a6eeda46f1d1b7265b 23-Oct-2014 Brian Attwell <brianattwell@google.com> Delete duplicated class

Also renamed dialerbind package

Analytics CL #2/5

Bug: 18039620
Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
0a3c7a196fe7fa0622b59b62e46ba10cbfe2968a 23-Sep-2014 Yorke Lee <yorkelee@google.com> Add null check when auto-scrolling listView

Bug: 17609944
Change-Id: Icb14a0539ee3e57ddfc8e237e440b4563fccabf5
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
bd97cd041453dc8545deaa7ad17e8bd99d53e0de 13-Sep-2014 Brian Attwell <brianattwell@google.com> Merge "When view's expand, scroll them onto screen" into lmp-dev
1d939e45d7658f25a6a8635ccecaa4d43014cfd5 13-Sep-2014 Brian Attwell <brianattwell@google.com> When view's expand, scroll them onto screen

Do this for views at the top and bottom of the list.

Bug: 17410384
Change-Id: I5506909ae93658dea4e86b4a541eefbec28c15e4
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
515bd5d6bd69220eb80f6d58eb5bf9540ef5b50a 12-Sep-2014 Jay Shrauner <shrauner@google.com> Fix cursor handling in CallLogQueryHandler

Remove dead code and fix potential leak.

Bug:17472228
Change-Id: I0d628b20efa424c049457b57b4a669670d3d51ed
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
f42ea913f3569e0bef2ae18404b29610f368cc77 19-Aug-2014 Yorke Lee <yorkelee@google.com> Expand transcription view when call log item clicked

* 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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
a610bd6e2aecf06bf6d14f869bad68e0110d3fe3 30-Jul-2014 Sai Cheemalapati <saicheems@google.com> Changing Dialer Fragments to implement Analytics.

Dialer's Fragments now implement AnalyticsFragment.
All Fragments now have access to sendHitEvent, which is a no op in
AOSP Dialer.

Change-Id: Ife6ab7d5369a1c96caaedbe1c59e6d07a0adae87
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
0d8019cf7cb048e5da044559460e08c5284d8f48 18-Jul-2014 Chris Craik <ccraik@google.com> Replace shadow workaround with a different one

bug:15023558
Change-Id: Ie85b281ff77694874953ff88297e0d034560c82b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
48da258e6a4fd42379816c03ef7c9d75980cc40f 17-Jul-2014 Sai Cheemalapati <saicheems@google.com> Added AsyncTask to report dialog/fixed rot (2/2).

Dialog used to cause crash on rotation due to issues with Fragment
Manager. The solution now is to dismiss it before rotation and
reinitialize it in onCreate.

Bug: 11150383
Change-Id: I972785637e0c302547cd9ac11b5c8f84723b2863
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
9686330691f1216edff0ffa779138bda43388c47 15-Jul-2014 Sai Cheemalapati <saicheems@google.com> Added a dialog to confirm caller id reporting (1/2).

Database and call log are now updated when user confirms.

Bug: 11150383
Change-Id: Ic716e92bcb2280c1d352bd2232bda516e83349b2
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
c44a26cd4de71485047ab3b6c68c9250c02bb27a 16-Jul-2014 Sai Cheemalapati <saicheems@google.com> Revert "Added a dialog to confirm caller id reporting."

This reverts commit cee1e65f0c411e35c4521922c3e9def13e01fe64.

Change-Id: Ic50fd443856ea7e22714423939ac782cd4e89276
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
cee1e65f0c411e35c4521922c3e9def13e01fe64 15-Jul-2014 Sai Cheemalapati <saicheems@google.com> Added a dialog to confirm caller id reporting.

Database and call log are now updated when user confirms.

Bug: 11150383
Change-Id: Iafaca2172f2d44a6edf8514f7d900888dab9cf0e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
266a8ac75ab0cd0c0529cf342f8ab33ab1095b20 03-Jul-2014 Santos Cordon <santoscordon@google.com> Make dialer use PhoneManager.cancelMissedCallsNotification.

Change-Id: I1e8de39efe0918b974cf949e80e15e4c85c1a70c
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
87ba489564b25d4a64c9faaeafea46e2f72d8933 12-Jun-2014 Nancy Chen <nancychen@google.com> Add icon indicating subscription in call log/call history

Display an icon in the call details showing which connection provider
(subscription) is responsible for the call.

Bug: 15473965

Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
0a4327e6bfeedc23ddefb4df9f6e8041ebc87b59 11-Jun-2014 Andrew Lee <anwlee@google.com> Update empty list assets and text.

- 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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
7920be0e17014c5f13ce29042876714f745b0bb3 28-May-2014 Andrew Lee <anwlee@google.com> Set call log item view alpha to 1 after expand animation end.

This bug is on the inexplicable side, but this seems like it fixes it.
Without this, after navigating out of the activity and then back, it
appears taht the the action view's alpha defaults back to the value
being set at the start of the expand animation (0), making the view
invisible.

Bug: 15275605
Change-Id: I8173f305569e2e8f5e13f34235922b830dd4e532
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
7d6a2cc5758909d3ba959f3cc0b8771e444a3c27 27-May-2014 Andrew Lee <anwlee@google.com> Merge "Changing the call log collapse animation for previous item so it happens at the same time as the expansion of another row; this eliminates the need for calling notifyDataSetChanged on expand/collapse." into lmp-preview-dev
68e771378889a479a80aac29a9ec2136b7ef27b6 23-May-2014 Tyler Gunn <tgunn@google.com> Changing the call log collapse animation for previous item so it happens
at the same time as the expansion of another row; this eliminates the need
for calling notifyDataSetChanged on expand/collapse.

Bug: 13962594
Change-Id: I8f67de49c7cc6382acb0fd26e887d4cdc8e5d6e3
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
85d992d7b92ad68714408aa1b307cc63064d9751 23-May-2014 Yorke Lee <yorkelee@google.com> Merge "Add padding to bottom of listviews" into lmp-preview-dev
781ee24f91f6eb6a1687d803971196f2bf71c02b 23-May-2014 Yorke Lee <yorkelee@google.com> Add padding to bottom of listviews

Bug: 15164687
Change-Id: I142e8900b471bfb05cf8dad1ed8b0d8d0e4efae6
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
13f6fd048f0cdc26e9dc6b78a02515e72fff2e27 22-May-2014 Andrew Lee <anwlee@google.com> DO NOT MERGE. Tidy up call log shadow/touch interactions.

- Constrain the recents list footer ripple to its dimensions.
- Eliminate bottom margin on the call log list items.
- Changed translationZ on expand to apply to the call log list item
instead of just its primary action view.
- Adjust the outline clipping so that a shadow doesn't appear under
the day group header, now that the translation is applied to the
entire list item.
- Instantiated a number of fixed property values in onCreate() in the
CallLogFragment, instead of whenever they're needed.

Bug: 15165669
Change-Id: I5ed81ae49fb0c3f6eed360f247c1fd67278a628c
(cherry picked from commit 6e765f9a71b450809c4916a5d5562cdc1372a39a)
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
10b8308de4a329ea7ac4165fe2a1fa7a8fa3dca0 21-May-2014 Yorke Lee <yorkelee@google.com> Merge "Correctly save CallLogFragment state"
eab73d62a2107030890f94d58e23d59ead3883b5 21-May-2014 Yorke Lee <yorkelee@google.com> Correctly save CallLogFragment state

Save CallLogFragment state correctly in onSaveInstanceState, and
restore it later in onCreate

Bug: 15134554
Change-Id: Ifb0880c4ce86f0f9c4d5d1713fe9d9e54257ceb4
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
8ef8020b8b792026a8dd15e029055f7d5e2d48f6 21-May-2014 Tyler Gunn <tgunn@google.com> Changing expand/collapse so that only a single row is expanded at once.

Bug: 13962594
Change-Id: I2a553e65b447d4b944e20ee420da3a726ec30aeb
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
c26986ec0380030e4938ea29a5535854e5b5bf9e 17-May-2014 Tyler Gunn <tgunn@google.com> Cleaning up shadowing and animation of call log expansion.

Bug: 13962594
Change-Id: Ifbbf7fa75ffccfb893e6825774565c1e21e86c76
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
654df8fbbc7703c24aec687de902e2c72ba343dd 13-May-2014 Yorke Lee <yorkelee@google.com> Animate call log expand/collapse
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
bd180af7f0b73b0dd79a7117fb0c14370ef4d12e 04-May-2014 Yorke Lee <yorkelee@google.com> Use new nested scrolling APIs

Bug: 14234101

Change-Id: Icb77f327e455fc9f0fb797b3f31d6f3467b2f358
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
146a4cdf57f0d4d0cd85e808f1df2bdea639b24c 06-May-2014 Tyler Gunn <tgunn@google.com> Adding support for expandable call log entries.

Bug: 13962594
Change-Id: I19a4a65dce922619df0a709293ca291c345c8be7
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
6a1461a86ad861b0e04333452e47cb81675459d5 22-Apr-2014 Yorke Lee <yorkelee@google.com> Add view call history at bottom of recents

Bug: 13936108

Change-Id: Ic688d65240dada75b014b6684d4bebed208551bd
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
93dcef71c7ea7a99ef4067ab3dea79a263b9613b 19-Apr-2014 Tyler Gunn <tgunn@google.com> Merge "Adding support in the CallLogFragment for filtering calls based on call date/time."
d45aaa40aa6b929f7bc644d649b3474fcf82cfa2 17-Apr-2014 Yorke Lee <yorkelee@google.com> Add call log fragment to ListsFragment

Also move the initialization of CallLogAdapter to onCreate
instead of onCreateView. onCreateView is called everytime the
fragment is detached from the childManagerView, and causes
the CallLogFragment to create a new CallLogAdapter every time,
losing all the previous call log entries.

Bug: 14136111

Change-Id: I057bb7441df2974604066d5d62716fdd628990f3
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
470fc45faecfdcea385ffca127162419cf7417e6 16-Apr-2014 Andrew Lee <anwlee@google.com> Add voicemail tab to call history tab bar.

- 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
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
2f02c8a8d840df38a09b55525a784dc666f622eb 17-Apr-2014 Tyler Gunn <tgunn@google.com> Adding support in the CallLogFragment for filtering calls based on call
date/time.

Bug: 13964654
Change-Id: Ia9db8b35469b5cea9d5ae1a5ce6fba16ab1e825c
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
45ed3b5932ed590b45235d7b2befa736a95e7f75 03-Feb-2014 Tyler Gunn <tgunn@google.com> Call History Affordances Swap

1. Swapped the intents for the primary view
2. Changed the icon for the secondary action button
3. Added a vertical divider line to separate the secondary action button from the primary view
4. Cleaned up the accessibility text

Change-Id: Ifd4ceff0d67b1587c4378e29be7344de50057a7d
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
0d31e205eb569e1a1869c0dce329caa69942fa18 13-Dec-2013 Elliott Hughes <enh@google.com> am a6536611: am f427ab83: am ce150742: am dc372cc7: Merge "Add a content observer for voicemail to the call log fragment"

* commit 'a65366114ad3b1014c22d8a84c74a94fb7f47139':
Add a content observer for voicemail to the call log fragment
7b49a0460e356a49d78c6c4d6a751cd479a840fb 20-Aug-2013 HUANG Menghuai <menghuai.huang@orange.com> Add a content observer for voicemail to the call log fragment

The voicemail status message was not updated with new voicemail status.

Change-Id: I3430bb5c21d8b25c863ca1e74f48774012c961c8
Signed-off-by: HUANG Menghuai <menghuai.huang@orange.com>
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
37d29854313ca0a7807ac4fd5d10d154b79ee2eb 19-Nov-2013 Yorke Lee <yorkelee@google.com> Remove private references to isUriNumber and getUsernameFromUriNumber

These methods in PhoneNumberUtils are pretty specific, so don't make them
public APIs. Instead, use the methods already in PhoneNumberhelper.

Bug: 6948882
Change-Id: I487593543eba526c64588d9a3e70b19b4ed941ab
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
21299c354c4178dd8f89eef42872cbd62cd4aaf0 17-Sep-2013 Yorke Lee <yorkelee@google.com> Fix missed calls not updating properly

This fix updates the new/old state of missed calls in the call log
properly once more.

Instead of using this flag to track whether or not to show the call
shortcut, we store a date in Dialer's shared preferences to allow
us to only show call shortcuts newer than a certain date.

Bug: 10780687
Change-Id: Icc03992a65512a85dc6673c431ded34c73b6ba2b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
fb0a934ad90f1855787563eb80f2c8fff7f640ac 14-Sep-2013 Chiao Cheng <chiaocheng@google.com> Follow up on build break to fix unit tests.

Change-Id: I82b7fa50601f6dad60038fd1b9c5f0aad2f374f5
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
704acc087ce359295475a46695c2821c55778344 10-Sep-2013 Chiao Cheng <chiaocheng@google.com> Add enable reverse number lookup link to call card.

Bug: 10525344
Change-Id: I6f01110e76222a2558374426675e285cfca5801b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
74ceee3222144a26036b2f0737e2688941dc94eb 11-Sep-2013 Yorke Lee <yorkelee@google.com> Don't clear call shortcut when entering call log

Also fix issues with call shortcut being too easy to swipe
to dismiss.

Bug: 10365541
Bug: 10688277
Change-Id: I78136b2eea1863d6c313b6eba526638cd54f9272
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
3011bc13a78b918df9c295e5c55ebe2ca09dab13 06-Sep-2013 Hongwei Wang <hwwang@google.com> Make the call log shortcut swipeable

Bug: 10365541
Change-Id: I0301644d3fbb9a0284bbe9b2c468a46474e8c6f8
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
7030a12a15e565521ffb220c00a0251e47bd3a93 14-Aug-2013 Christine Chen <christinech@google.com> Change primary actions of the CallLog items.

- When the CallLog item is in the CallLog fragment, the primary action
remains to be opening the call detail page.
- When the CallLog item is in the Favorite fragment, the primary action
changes to be calling the number directly. The secondary action is
hidden unless it is to play a voicemail.

Bug: 10308694
Change-Id: I28ca7aa783bcca35eb8b41f6e8508d08062dd253
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
efd8a915b4c37c9f755c25f045cad9e538918dfa 09-Aug-2013 Yorke Lee <yorkelee@google.com> Remove phone call receiver in call log fragment

The most recent call log item in favorites removes the need to
return the call log tab to the All tab on a phone call.

Change-Id: Id0a36bc97c04656cf86a485e44e616b7d652d0b2
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
fb585079cc4c522c27f6dd6bf03fd296535960f3 04-Aug-2013 Yorke Lee <yorkelee@google.com> Code cleanup for call log related items

Change-Id: I2aa0458e1fb74abaea60a02f430a4e413dfed365
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
719a7adde25e0a717816b00668c16c3a1e3c5518 31-May-2013 Jay Shrauner <shrauner@google.com> Use new CallLog number presentation column

Switch to using new number presentation column in the CallLog table and
discontinue using special phone number strings in CallerInfo. Needed for
unbundling.

Bug:6948882
Change-Id: Ibf27ea55cee783c4530101e4e228198e245e6684
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
e2ff8fa4ad0d1c1bba9d42a7f8669b36ceebfbfe 07-Nov-2012 Chiao Cheng <chiaocheng@google.com> Prune selected call log filter options from overflow menu.

Bug: 7205096
Change-Id: Ib81e81195475e74f06ed7eda600b3f777a28ad70
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
35071c06d1587942f5a66c8f12e6247e8f904d26 16-Oct-2012 Chiao Cheng <chiaocheng@google.com> Removing contacts dependencies from CallDetailActivity.

Bug: 6993891
Change-Id: I3ef54efc0ff92367ea4f9b68c1629a99d90ff22c
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.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/CallLogFragment.java
e7b2801cda823c63322b3291021677acfb8d33ef 21-Sep-2012 Makoto Onuki <omakoto@google.com> [cherrypick] Fix potential issue in I3d791ce1f536680a9ca0db2c387f3aad36eda17f

Bug 7164046

Change-Id: Ic03bd6151ba5ee91287b248fe295614aa816f25b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
a1593e6ed73bd928594929ea40dbe6c84fc0d4b6 19-Sep-2012 Chiao Cheng <chiaocheng@google.com> [cherrypick] Reset call filter when a call is placed or received.

Created a receiver which will reset the call filter. Remove
the receiver when filter is not used.

Bug: 7164046
Change-Id: I17fa005a70369d777afc12567643d38176977d7a
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
d0cabd3a4ea4ae4dd7baa7e2e28610b1d969fb02 19-Sep-2012 Chiao Cheng <chiaocheng@google.com> Remove call log filter option from being persisted.

Bug: 7164046
Change-Id: I02e2bcec47377f9e308bfe5928e372b15a3c0338
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
9d4f3b20793a007b4489547aa40fc1049d0d8fef 06-Sep-2012 Chiao Cheng <chiaocheng@google.com> Moving resources from Contacts to Dialer.

- Also moving some shared utilities.

Bug: 6993891
Change-Id: I5fa18d26e4f5423f4d3f3450b8f3e3dacbfb947a
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.java
91197049c458f07092b31501d2ed512180b13d58 24-Aug-2012 Chiao Cheng <chiaocheng@google.com> Moving more classes from contacts into dialer.

- These classes are only used by dialer code.
- Fixed import order.

Bug: 6993891
Change-Id: I7941a029989c4793b766fdc77a4666f9f99b750a
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogFragment.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/CallLogFragment.java