History log of /packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6d35328ad51bc701483587cda3c10b0f6460f45 30-Dec-2014 Tyler Gunn <tgunn@google.com> Fixing overlap pane offset when shortcut card disappears.

When the shortcut card was hidden due to the call log being cleared, the
offset for the overlapping pane needed to be recalculated based on the
new height of the top portion of the dialtacts activity.

Bug: 18849546
Change-Id: Ib5953a2a537e9a7520d4f022e43fa974f67eb410
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
7ee5c422e36cf3d40cbd24bbb5b87754b4820d02 04-Nov-2014 Yorke Lee <yorkelee@google.com> Improve Dialer analytics

* Send screen view for first fragment loaded inside ListsFragment
* Send screen view for voicemail playback fragment
* Send screen view for currently active fragment when activity is restarted
* Don't send spurious screen views on rotation
* Send screen views for call log fragments in call log activity, and
differentiate between them with a tag

Bug: 18158037

Change-Id: I09fda53db33f6a6acc4a3b477de992aa94921c71
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.java
c98a5bb2d806dde99325a15466a2bf144d216ae8 29-Oct-2014 Yorke Lee <yorkelee@google.com> Refactor ActionBarController and tests

The original CL to fix ActionBarControllerTest by using an
ActivityInstrumentationTestCase was too heavyweight and caused flaky
test. It was also indicative of a flaw in the original design that
ActionBar couldn't be mocked out easily.

Refactor the code so that:
1) getActionBar() is no longer needed
2) Respect the invariant that all access to the actionBar goes through the
ActionBarController (see the changes in ListsFragment) so that any change to
the ActionBar's hide offset can be tracked appropriately.

Bug: 17487016
Change-Id: I935b683ddb301ca5d3952889af1381bdbdcc97d3
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.java
56493453580bb0db9a7ebd90b3c9868c8e3a8a59 28-Sep-2014 Yorke Lee <yorkelee@google.com> Fix another bug with RTL tabs

super.instantiateItem should continue being called with the
original unadjusted position (since getItem already adjusts it for
RTL).

Instead, override getItemId to return the RTL adjusted position,
so that if a fragment is being retrieved from the FragmentManager
instead of being created by getItem, the overriden getItemId will
ensure that FragmentPagerAdapter will construct the correct tag to
retrieve the correct fragment from the FragmentManager.

Bug: 17673059
Change-Id: I42a7ce3f0d8a17384fdb16c998e49254d3a734db
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
0230ec94a8e1ee7a3a75e9e00883aa6c0ceeae29 26-Sep-2014 Yorke Lee <yorkelee@google.com> Fix crash when switching between LTR/RTL

When the language is changed the order of tabs might change but
the fragments stored in the fragment manager remains the same (becauase
the fragment manager persists fragments across rotation and configuration
changes).

Retrieve the fragments from the fragment manager in an RTL adjusted
fashion in instantiateItem, and also make the logic more resilient to
ClassCastExceptions.

Bug: 17673059
Change-Id: I1f9b7d85b6a4ecf3ff155c9e6e8cf875ddd51463
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
764f652b451d27282cfaf73407d31c9522e6cb0e 22-Sep-2014 Brian Attwell <brianattwell@google.com> Improve scrolling, handle onNestedPreFling

This contains three main changes.
1 Carry momentum from flings in the header into the ListView.
2 The header now snaps into a semi collapsed state more often
then it used to
3 The current scrolling direction is now a larger factor in deciding
where the header position will snap to upon finishing a scroll

I coupled ViewDragHelper a bit closer to OverlappingPaneLayout. At first
I tried to avoid this. But I think this was a wasted effort. ViewDragHelper
is specifically forked for OverlappingPaneLayout.

Some behaviors I made sure to test manually:
1 When expanding/collapsing the header the direction of motion should
determine where the header snaps to upon release.
2 Collapsing from fully open to intermediate (not previously possible)
3 Drag tabs up/down regardless of whether at top of ListView or not (unchanged)
4 Dragging and releasing the tabs should cause the same sort of snapping behavior as
scrolling and releasing the nested ListView (this still isn't exactly the same.
I don't think this is important enough to dig into more)
5 After fully expanding the header by grabbing on the tabs, you can collapse
the header normally via nested scrolling.
6 Scroll down the ListView. Then expand the header by dragging the tabs.
Now scroll up and down in the ListView a bit.
7 Quickly fling up, down, up, down, up, down, up, down, up, down. Should
feel the same as scrolling a regular ListView.
8 Fling upwards, stop the fling prematurly then release. The header shouldn't
do anything (fixing this was a matter of adding a scroll slop).

Bug: 16462679
Change-Id: I272a838885ce9045d41aaef1168b0ee0a32ee31d
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
1f26c7b23999e9b8e6fe86bca96d0390ef126b8d 17-Sep-2014 Yorke Lee <yorkelee@google.com> Fix activity leak in Dialer

Make sure to close the contact lookup thread when ListsFragment is
destroyed, just like in CallLogFragment.

The thread was holding a reference to the outer adapter because it was
a non-static inner class, which was causing the adapter and activity to
leak.

Bug: 17472228
Change-Id: Ic2d6fbded0c8c40cf99d779fe24a535d75bc802a
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.java
b4bad67915864a3f726de70ef2cf08a3a941ea70 22-Aug-2014 Andrew Lee <anwlee@google.com> Align shortcut card to top while scrolling.

Bug: 16462679
Change-Id: I031909df291a25bf4894fbd34d06d163a195d94d
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
eb141e078353a2e3a997001afd1aa16a88da429b 21-Aug-2014 Andrew Lee <anwlee@google.com> Add "add to contacts" actionable item to shortcut card.

+ 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
9028f6e6420ff47c6227d9f3936b9a19b8a0b153 07-Aug-2014 Sai Cheemalapati <saicheems@google.com> Fixing possible crash on tab switch.

Bug: 16873267
Change-Id: I66309fad4b2e49dd5ca8ba0d17a88a6a0ede07a9
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
eefa1c9abd925709356758b64cdca930abc44621 06-Aug-2014 Yorke Lee <yorkelee@google.com> Merge "Fix some action bar logic" into lmp-dev
a524ae57ec8fce9532ed998c63a5577fce738fd5 06-Aug-2014 Yorke Lee <yorkelee@google.com> Fix some action bar logic

* Restore action bar slid state only after onCreateOptionsMenu, when it has
an effect
* ActionBarController is now the only way to make changes to the offset of
the action bar so that it can appropriately restore its state

Bug: 16710397
Change-Id: Id9e0ebe210c89df0be56b32aa3bbd959cce88621
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
2d7faf6c13212f8a035609181de4f594a76af960 04-Aug-2014 Sai Cheemalapati <saicheems@google.com> Fragments in Dialtacts report to Analytics.

Fragments in DialtactsActivity now report to Analytics when viewed.

Change-Id: I86d6cabc372bd466a4907d79b1613e5ae1445227
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.java
69c247f619fd2f2474070bdbcec32b78f6444149 22-Jul-2014 Yorke Lee <yorkelee@google.com> Make ViewPagerTabs and FABController RTL aware

* 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
7437058d4c9fd10fdeb4e78166591e68629cd03c 21-Jul-2014 Brian Attwell <brianattwell@google.com> Move ViewPagerTabs out of Dialer repo

Bug: 16158921
Bug: 15616182
Change-Id: Ie648d78dd4df402936c4665eca7c6998e463ca2b
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.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/list/ListsFragment.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/list/ListsFragment.java
59b2f65c33118ac3f17e9700d079f2852b30a486 02-Jul-2014 Jay Shrauner <shrauner@google.com> Fix NPE in onPanelSlide

Check for null SwipeableShortcutCard returned by getChildAt(0).

Bug:16036815
Change-Id: I1e81a535e493427a694fdfd1e20429c4d01b477f
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
bcb91d9c9539e03fdaec74bb38acecdd34552257 10-Jun-2014 Andrew Lee <anwlee@google.com> Adjust recent cards animation.

= 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
1896344b53ddf6cdaf17dc02a05c45f587879d99 07-Jun-2014 Andrew Lee <anwlee@google.com> Revise remove view target positioning.

- 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
5c7e73087ccb1615c6e460beb6c9734e665c527f 03-Jun-2014 Yorke Lee <yorkelee@google.com> Reveal recent calls shortcut only when at top of list

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
e9e0ba63e04202c8454d25d3af3d02f580a1a35d 30-May-2014 Andrew Lee <anwlee@google.com> When dragging, don't slide action bar if pane is closed.

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
710709da8389d401d3089bbf9836dfca527f15c3 29-May-2014 Yorke Lee <yorkelee@google.com> Fix for search UI remaining on screen after call is made

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
9ada157d1d6d69176730035f7e651500fc7f3c0a 27-May-2014 Yorke Lee <yorkelee@google.com> Adjust card clipping specs

Also tweak some elevation specs per UX guidance

Bug: 15196725

Change-Id: Ia0c1ecef7039f5ffb703877172fb632f56bf5530
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
5253be0d57edd4cdf5fbc0a980188e13e009c083 22-May-2014 Yorke Lee <yorkelee@google.com> Add ActionBarController

* 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
649fc77497df79f2837f314a53fafdd2dd2c67aa 23-May-2014 Yorke Lee <yorkelee@google.com> Tweak card clipping effect

Bug: 15165470
Change-Id: I5e61d23dc02237d0cd7c0e3646ce71b93a68a143
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
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/list/ListsFragment.java
6020ea4ec166f2a168c8ecf73a9a605169838da1 17-May-2014 Andrew Lee <anwlee@google.com> Fix action bar NPE.

Change-Id: Ie2f7024c7f5a28a635808ab7b6c5e437e14a98ea
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
e74a10eab5d8a43918a540bc42f0c159bdf5ab7c 16-May-2014 Andrew Lee <anwlee@google.com> Move actionbar menu into menu button in search edit text.

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
b19038436ce8e4683eb19af02255eda9969a6a94 16-May-2014 Andrew Lee <anwlee@google.com> Open search ui on touch, and handle related scenarios.

- 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
654df8fbbc7703c24aec687de902e2c72ba343dd 13-May-2014 Yorke Lee <yorkelee@google.com> Animate call log expand/collapse
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
dc0bba648d98d5f7fe78b1cb5b8c1c05641e8a88 13-May-2014 Yorke Lee <yorkelee@google.com> Make ActionBar scroll together with other lists

* 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.java
28ad26784e48ff6e26b32a371923ed70f9aff9a7 26-Apr-2014 Yorke Lee <yorkelee@google.com> Animate disappearing shortcut card

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
10812203e52353f666cbb3ef02e423711dd64758 29-Apr-2014 Yorke Lee <yorkelee@google.com> Remove unneeded dimming code

Change-Id: I42b86f0404faeca1beed8cca5c73d1fe73d76596
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
e709fd21eda44df07327f649e4e6a257918555a9 25-Apr-2014 Yorke Lee <yorkelee@google.com> Add and use OverlappingPaneLayout

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
cc4660d463daa11b969fd9b8bdd308ae3416c67a 24-Apr-2014 Yorke Lee <yorkelee@google.com> Animate floating action button

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
d999b71452baebec789f6f58f1955d30e834826d 24-Apr-2014 Yorke Lee <yorkelee@google.com> Rename classes

Renamed PhoneFavoriteFragment to SpeedDialFragment
Renamed PhoneFavoriteMergedAdapter to ShortcutCardsAdapter

Change-Id: I5b16ff576332b44c10e1abb44689147cd41c26b5
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
eb1df8edf78899a6666bc460a3e170fa0b9d6d14 23-Apr-2014 Yorke Lee <yorkelee@google.com> Merge "Remove unnecessary logic from PhoneFavoritesMergedAdapter"
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/list/ListsFragment.java
3e5863530610ccda20a5635abf82bc398bf31f70 22-Apr-2014 Yorke Lee <yorkelee@google.com> Remove unnecessary logic from PhoneFavoritesMergedAdapter

Bug: 13963734
Change-Id: Ieee5631b8b6b5f36b3d6304ca653642f055453d8
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
4cde566de5f54b6bdd305229c3134068cdde4bbd 19-Apr-2014 Yorke Lee <yorkelee@google.com> Move call shortcut cards to their own list

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
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/list/ListsFragment.java
23553a71152409708841f957283f8f84d90023fe 17-Apr-2014 Yorke Lee <yorkelee@google.com> Reattach listener when fragment is destroyed and recreated

Bug: 14136602
Change-Id: I49796b7a545c6c650680cb0ee6152a93381b2736
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
e00c9fe163d19ee380b922e3fcbe736216d78ccc 12-Apr-2014 Yorke Lee <yorkelee@google.com> Use ViewPager in main Dialer view

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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java