0065720a974377d8139679528f2e3e5c076e91b7 |
|
02-May-2016 |
Qi Wang <wangqi@google.com> |
Fix the bug that quick contact cannot be removed. The "removed" button doesn't received drag and drop event since it's not visible at the time the drag event starts. The workaround is to change the visibility of its child view instead. Change-Id: Iada912fcc36983ad758296f33092cc54ad6f9f5e Fix: 28479593 (cherry-picked from b20b76437ae6aae8fe4da64097351cc80f030919) (cherry picked from commit 22a193b7babae99256149a0536748c6ad9c6b943)
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
793417540644dc079dcd9267f72b417ec91962d5 |
|
14-Mar-2016 |
Qi Wang <wangqi@google.com> |
Merge "Add talkback for long press and remove contact from starred list." into nyc-dev
|
3dd981af8905339d7b8421e3a633853868240d4d |
|
04-Mar-2016 |
Qi Wang <wangqi@google.com> |
Add talkback for long press and remove contact from starred list. The remove button will be announced when user hovers contact onto it or drop it. Bug: 25559343 Change-Id: I31f51f6d074d8b1721439e7a484e1e316cb006fe
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
eb4b19017930f51a1c8df6d90d2e7fc4217d47ec |
|
29-Feb-2016 |
Sarmad Hashmi <mhashmi@google.com> |
Fix voicemail tab showing even after being disabled. +Redraw voicemail tab every time notifyDataSetChanged method is called +Remove voicemail fragment once it is disabled BUG=23522864 Change-Id: I9cb1e6a0bbb91c38709a0ac5b8908f4f1252e509
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
cb55981252b49e476e1adf9f2d5ec19a658d2aa4 |
|
11-Feb-2016 |
Sarmad Hashmi <mhashmi@google.com> |
Mark missed calls as read on swipe. When swiping to a new tab, if the previous tab that the user was in was the call history tab, all missed calls are marked as read and the tab count is updated. Also fixes b/27153608 and clearing of missed calls on orientation change. BUG=27136093 BUG=27153608 BUG=27154514 Change-Id: I5be31b1a3978784b941fb8e1af22f93fb6ca944a
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
cdc14da9275c67d123b55e668f48f73c4b58d948 |
|
26-Jan-2016 |
Sarmad Hashmi <mhashmi@google.com> |
[DO NOT MERGE] Display missed call count for call log. The number of unread missed calls are displayed beside the Call Log as a badge. All unread missed calls are bolded under the call log tab. When exiting the call log tab, all unread calls are marked as read. When interacting with an unread missed call card while in the call log tab, it will subtract 1 from the badge. Cherry-picked from d118a8e0d8a68499398504f350f81175118e2ecf BUG=24953555 Change-Id: If91a3bc89197465934cb773955e4bec005d6d14e
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
51067692e8b83e5477cd793a0a760e7f46a35f88 |
|
02-Feb-2016 |
Ta-wei Yen <twyen@google.com> |
Refactor VVM specific code from CallLogFragment Moved visual voicemail code from CallLogFragment to VisualVoicemailCallLogFragment. Expected to have a lot of VVM specific code in the fragment, so it's better to separate them. Change-Id: I0fcad51d08f1a174a42f940fd455ce885d76c4ae
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
492b4f84c8c753840576f1124103ed12d68e2afc |
|
14-Nov-2015 |
Nancy Chen <nancychen@google.com> |
Fix NPE in ListsFragment. Bug: 25694033 Bug: 25668829 Change-Id: I5254eed0c473fa8a9e801f4fa253d6fdfc885836
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
b31bc53b2c756615ff4386ef40d808d7a783b198 |
|
10-Nov-2015 |
Nancy Chen <nancychen@google.com> |
Specify whether the voicemail tab should be removed or updated. When we refresh the voicemail tab information, we want to specify whether we will be removing the tab or refreshing the data, this plays along with the method change in ViewPagerTabs in ContactsCommon. Bug: 25620191 Change-Id: Iddc9739ab545a55c5bc375639fbde64302f22cd8
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
4aabaacd849235864c16f8e6bc72e0d0412a02e6 |
|
09-Nov-2015 |
Yorke Lee <yorkelee@google.com> |
Merge "More work to hook up screen event logging" into ub-contactsdialer-a-dev
|
58e68a9513495cbe76188d6066c4ffa467313175 |
|
06-Nov-2015 |
Yorke Lee <yorkelee@google.com> |
More work to hook up screen event logging * Change logScreenView to log by an integer rather than string representing a screen name * Add some missing log events (SmartDialSearchFragment, etc) * Add mapping of integer to screen name strings for AnalyticsUtil Bug: 23164804 Change-Id: If34a01b71a3fb598caa237e4b679cfeb30c4dd01
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
f58d982e72724c5da05365cdaea7b1007b9351c2 |
|
07-Nov-2015 |
Yorke Lee <yorkelee@google.com> |
Merge "Revert "More work to hook up screen event logging"" into ub-contactsdialer-a-dev
|
24943994160fe0c9fae5c344eb635a67a7c1536c |
|
07-Nov-2015 |
Yorke Lee <yorkelee@google.com> |
Revert "More work to hook up screen event logging" This reverts commit 8bea0950ff04891b7aaf58bb4ca758010c813fb4. Change-Id: I1ad4cbda2dc4e6212084399fe53142e9e19dc888
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
305eb447e82d5a67e7b558a769059c2e8e5842ef |
|
07-Nov-2015 |
Yorke Lee <yorkelee@google.com> |
Merge "More work to hook up screen event logging" into ub-contactsdialer-a-dev
|
8bea0950ff04891b7aaf58bb4ca758010c813fb4 |
|
06-Nov-2015 |
Yorke Lee <yorkelee@google.com> |
More work to hook up screen event logging * Replace inlined strings with consolidated string constants * Log event when import/export to contacts dialog is shown Bug: 23164804 Change-Id: I45ba0663f28bd7ea41c5c33c8a5106dc83cd41f3
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
a5437e6882bde69cb795ed8d929c1024a8fef16e |
|
05-Nov-2015 |
Ta-wei Yen <twyen@google.com> |
Call Blocking UI/String change + Adjusted UI/String according to new specifications. + Added class VisualVoicemailEnabledChecker + Block number dialog display different message depending on whether VVM is activated. Bug:25455707 Change-Id: I09425053c91a5517e309302d421beadcc2d81cd4
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
6e0fd6b77759baf43cb37d407041be051b4856b5 |
|
05-Nov-2015 |
Yorke Lee <yorkelee@google.com> |
Route all existing screen view events through the Logger * The logger is responsible for sending it to its logging implementation, and also to AnalyicsUtil. * Standardize logic for creating a tagged version of a screen name Bug: 23164804 Change-Id: I9b817fba5359f78340f2d9fdba54af9ea73cdb37
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
9e40502d2b5685b6996ecee7b3b3c812d5b06ec8 |
|
24-Oct-2015 |
Nancy Chen <nancychen@google.com> |
Fix voicemail tab items reading "speed dial" when selected. The voicemail entries were reading "speed dial" because the focus would go to the newly added "speed dial" tab since the tabs are all removed and readded when the tab info changes. Change the logic so that only the voicemail tab is changed when needed. The voicemail entry reads "seek playback" instead of the information about the voicemail because of custom expand logic for accessibilty. Change it so that only the call log items are expanded when selected (it is more important to be able to discover the overflow options). Also change content description text because it was too long and confusing. Bug: 25124120 Change-Id: I64c1b27d8c0db57525f7f4ada59655e9f8352245
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
1f6a2d5d0aa024be5348a20b737afcdcd454181e |
|
14-Sep-2015 |
Yorke Lee <yorkelee@google.com> |
Merge "Remove unused countryIso in ListsFragment" into ub-contactsdialer-a-dev
|
49aa5bf33be8b96d6409168cddbb819bc7539fab |
|
11-Sep-2015 |
Yorke Lee <yorkelee@google.com> |
Improve jump to tab via intent logic Respect the EXTRA_CALL_FILTER_TYPE extra if provided in an intent extra Fix bug where trying to jump to the voicemail tab for the first time before active voicemail sources were detected would not work. Bug: 23947505 Bug: 23388120 Change-Id: Ib4fcaf486ae01d023f21fd2fc3bfc78f1a0cf609
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
6b91b0cc2bacacd14ea23301b6095f8cdb318878 |
|
10-Sep-2015 |
Yorke Lee <yorkelee@google.com> |
Remove unused countryIso in ListsFragment Change-Id: Ia6554810f614e76d83a666ac3a4ceec01bd74aab
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
ea7c0b859a57a5c61c701bf0b710b44775f537c3 |
|
01-Sep-2015 |
Nancy Chen <nancychen@google.com> |
Display unread count for voicemail and update when vm is read. Query for number of unread voicemails when dialer starts and update this number when the user reads the voicemails. Pass the tab icons into the ViewPagerTabs class: changed so that the raw image is passed instead of the modified drawable because the ripple is applied in through the ViewPagerTabs layout instead of through the drawable containing the icons. Bug: 21086059 Change-Id: Ie426b042d72926ea3feb7baa4717108776152754
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
4e5df6b3a264cceba8774f6704697312b35f329d |
|
17-Aug-2015 |
Nancy Chen <nancychen@google.com> |
Merge "Convert Dialer activities to AppCompat to support Snackbar."
|
4de59fb9ceac10ed429cd8416251329aa03ad266 |
|
14-Aug-2015 |
Andrew Lee <anwlee@google.com> |
Rename "Recents" to "Call History". + All user-facing indications should now say "Call History". + I renamed many references in code to "Call Log", which is how we internally refer to many of the components related to call history. It seemed excessive to rename the fragment, list items, adapters, and other references to that throughout our codebase. Bug: 23017190 Change-Id: I99719122ce592962ff99705dcf4b16e17eee3ab7
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
44898ad0aa2a12788fc9cfc6b78fa7adc9d90f23 |
|
13-Aug-2015 |
Nancy Chen <nancychen@google.com> |
Convert Dialer activities to AppCompat to support Snackbar. In order to add an "Undo" snackbar for voicemail, dialer activities need to inherit from the AppCompat library. Add the relevant libraries to the make files and change the styles to be compatible. Bug: 22460745 Change-Id: Ia3cc4002cbd943da818fec67f888d085d53a3b25
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
a4adb2c035690a1c9600a20c2485886d9d5991d0 |
|
11-Aug-2015 |
Andrew Lee <anwlee@google.com> |
Show entire call history in Dialer tab. + Rename some logic around identifying the scenario (tab vs activity) for the call log. + Add padding at the bottom of the call log. + Make call log in tab show all history, not just recent history. + Rename promo card logic in CallLogAdapter, since it is VM specific. - Remove extra view holder, and associated logic. Bug: 23017190 Change-Id: I1f36f414647705a779ee14e8b43e88bf711bba56
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
d5de03bcc20fcdb667fdc9d0eb56f0d6c57da0c8 |
|
01-Jul-2015 |
Nancy Chen <nancychen@google.com> |
Ensure the EXTRA_SHOW_TAB is checked for all new intents. onNewIntent is only called when the activity is already active so when an intent is sent to start the DialtactsActivity on a specific tab when the DialtactsActivity is not already active, the code to switch to the specific tab is not called. Move this code to onResume() instead. Bug: 21120186 Change-Id: I735eae22ca5de54f4c17688777b4309616f2c691
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
75d5b2d7d73e184ed813cc5b42b19d7e21b6bd8c |
|
20-Jun-2015 |
Andrew Lee <anwlee@google.com> |
Add extra to jump to DialtactsActivity tab. + For the voicemail notification, jump to voicemail tab. + Jump through some hoops to handle this properly when waiting for the voicemail status to be retrieved. Bug: 21120186 Change-Id: I5a82f3ecafadb45246e6637e8275a09f78cc188a
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
89084f7e9eb9ea6765c3bece0c1538ff42c38c4f |
|
19-Jun-2015 |
Andrew Lee <anwlee@google.com> |
Cache whether voicemail tab should be shown. Bug: 21530107 Change-Id: Ib3023e7100157d6e061542075f0930a6b622e516
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.java
|
432d4b57728981f55a5ab5ee502e927e8d1d15fb |
|
21-May-2015 |
Andrew Lee <anwlee@google.com> |
Some ListsFragment cleanups. - Delete unused shortcut code. + Consolidate logic for reporting the current lists view. + Change page position logic to make private the list fragment's calculation of the type of tab in RTL. Bug: 21328994 Change-Id: Ic05a895fce77fea668798fca6e67863a2fcfd88a
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
50dfa5e6b49c72ca3a10b38207d04f233ec1a2e3 |
|
21-May-2015 |
Andrew Lee <anwlee@google.com> |
Add voicemail tab if there are active providers. Bug: 21328994 Change-Id: Id6cd45c5614fafcc6f01842a8ec1eaba45dc0928
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
5e6431ec9df6cb62cab970c0b46618be3570c2f7 |
|
06-May-2015 |
Andrew Lee <anwlee@google.com> |
Merge "Change FAB icon and behavior for contacts tab." into mnc-dev
|
fdfeaaf4e5ae0277a03529e501eb1c562f769851 |
|
05-May-2015 |
Andrew Lee <anwlee@google.com> |
Change FAB icon and behavior for contacts tab. + Change the icon/behavior depending on the tab position. + Move current tab position logic from DialtactsActivity into the lists fragment. - Delete unused method, shift some helpers around. Bug: 19366434 Change-Id: I6da767300907b3afd006248afb882bebde7bdfe6
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.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/list/ListsFragment.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/list/ListsFragment.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/list/ListsFragment.java
|
59b1088845d9c0f289e89cf49701263c9f12b50c |
|
07-Mar-2015 |
Andrew Lee <anwlee@google.com> |
Replace tabs-text with icons. + Add resources and drawables for icons to label the tabs. + Pass drawable ids to the ViewPagerTabs in ListsFragment. Change-Id: Ib7b3fcaa2257fc439b6fae8b017646c3d150eb56
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
dc500de99ccb42393d6dae3ecf4748b560775019 |
|
06-Mar-2015 |
Andrew Lee <anwlee@google.com> |
Remove OverlappingPaneLayout. - 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
52efda4d4a71a7b689a68e0ff68beb61bf8ca47b |
|
06-Mar-2015 |
Andrew Lee <anwlee@google.com> |
Remove the shortcut/recents card. - 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
594b864c336dd5cf1dfcbaff2c979201dcd6985e |
|
20-Feb-2015 |
Yorke Lee <yorkelee@google.com> |
Postpone enabling of layout transition Enable layout transition only when call shortcut is dismissed, to prevent the layout from sliding down at startup. Change-Id: Id218b5e3eb89b5df5aee30f35c036d2860541294
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
2b94c39bb8e54ae2bd78e582e8161f783c9dc516 |
|
06-Feb-2015 |
Yorke Lee <yorkelee@google.com> |
Remove shortcut cards list view 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
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
d9d409a86330c5fde0cc465562c6d3eb96ec10eb |
|
05-Feb-2015 |
Yorke Lee <yorkelee@google.com> |
Extract SwipeableShortcutCard into its own class Intial work to separate shortcut card view logic and the actual adapter to prepare for removal of the shortcut cards list view. Change-Id: Ie102fcd1d0d7be13c326cdf4c47502194a2f5ad6
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
f5554ceb3c152949b4b6278b7f5e1522148a574c |
|
27-Jan-2015 |
Yorke Lee <yorkelee@google.com> |
Add systrace events to track Dialer startup performance Bug: 18431193 Change-Id: I92db4ae61405d8d8445b72e7ac0daa0794af8335
/packages/apps/Dialer/src/com/android/dialer/list/ListsFragment.java
|
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
|