Home
last modified time | relevance | path

Searched refs:TabIndex (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavBar.java40 TabIndex.SPEED_DIAL,
41 TabIndex.CALL_LOG,
42 TabIndex.CONTACTS,
43 TabIndex.VOICEMAIL,
45 public @interface TabIndex { annotation in BottomNavBar
58 private @TabIndex int selectedTab;
79 if (selectedTab != TabIndex.SPEED_DIAL) { in onFinishInflate()
83 selectTab(TabIndex.SPEED_DIAL); in onFinishInflate()
87 if (selectedTab != TabIndex.CALL_LOG) { in onFinishInflate()
91 selectTab(TabIndex.CALL_LOG); in onFinishInflate()
[all …]
DMissedCallCountObserver.java27 import com.android.dialer.main.impl.bottomnav.BottomNavBar.TabIndex;
77 count -> bottomNavBar.setNotificationCount(TabIndex.CALL_LOG, count == null ? 0 : count), in onChange()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DOldMainActivityPeer.java105 import com.android.dialer.main.impl.bottomnav.BottomNavBar.TabIndex;
212 public static Intent getShowTabIntent(Context context, @TabIndex int tabIndex) { in getShowTabIntent()
224 static @TabIndex int getTabFromIntent(Intent intent) { in getTabFromIntent()
435 @TabIndex int tabToSelect; in onHandleIntent()
440 tabToSelect = TabIndex.VOICEMAIL; in onHandleIntent()
444 tabToSelect = TabIndex.CALL_LOG; in onHandleIntent()
471 private void logImpressionForSelectedTab(@TabIndex int tab) { in logImpressionForSelectedTab()
472 if (tab == TabIndex.SPEED_DIAL) { in logImpressionForSelectedTab()
474 } else if (tab == TabIndex.CALL_LOG) { in logImpressionForSelectedTab()
476 } else if (tab == TabIndex.CONTACTS) { in logImpressionForSelectedTab()
[all …]
DMainActivity.java31 import com.android.dialer.main.impl.bottomnav.BottomNavBar.TabIndex;
51 return getShowTabIntent(context, TabIndex.CALL_LOG); in getShowCallLogIntent()
55 public static Intent getShowTabIntent(Context context, @TabIndex int tabIndex) { in getShowTabIntent()
DNewMainActivityPeer.java31 import com.android.dialer.main.impl.bottomnav.BottomNavBar.TabIndex;
53 bottomNav.selectTab(TabIndex.SPEED_DIAL); in onActivityCreate()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DDialtactsPagerAdapter.java44 public @interface TabIndex {} annotation in DialtactsPagerAdapter
149 public CharSequence getPageTitle(@TabIndex int position) { in getPageTitle()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java76 import com.android.dialer.app.list.DialtactsPagerAdapter.TabIndex;
1063 @TabIndex in displayFragment()