/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | BugleActionBarActivity.java | 139 final ActionBar actionBar = getSupportActionBar(); in onDisplayHeightChanged() local 140 if (actionBar != null && actionBar.isShowing()) { in onDisplayHeightChanged() 141 screenHeight -= actionBar.getHeight(); in onDisplayHeightChanged() 260 protected void updateActionBar(final ActionBar actionBar) { in updateActionBar() argument 261 actionBar.setHomeAsUpIndicator(null); in updateActionBar() 345 public void updateActionBar(final ActionBar actionBar) { in updateActionBar() argument 346 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP); in updateActionBar() 347 actionBar.setDisplayShowTitleEnabled(false); in updateActionBar() 348 actionBar.setDisplayShowCustomEnabled(false); in updateActionBar() 350 actionBar.setBackgroundDrawable(new ColorDrawable( in updateActionBar() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | FilterUtils.java | 80 public static void setupMenuItems(GalleryActionBar actionBar, Path path, boolean inAlbum) { in setupMenuItems() argument 89 setMenuItemApplied(actionBar, CLUSTER_BY_TIME, in setupMenuItems() 91 setMenuItemApplied(actionBar, CLUSTER_BY_LOCATION, in setupMenuItems() 93 setMenuItemApplied(actionBar, CLUSTER_BY_TAG, in setupMenuItems() 95 setMenuItemApplied(actionBar, CLUSTER_BY_FACE, in setupMenuItems() 98 actionBar.setClusterItemVisibility(CLUSTER_BY_ALBUM, !inAlbum || ctype == 0); in setupMenuItems() 100 setMenuItemApplied(actionBar, R.id.action_cluster_album, ctype == 0, in setupMenuItems() 105 setMenuItemAppliedEnabled(actionBar, R.string.show_images_only, in setupMenuItems() 109 setMenuItemAppliedEnabled(actionBar, R.string.show_videos_only, in setupMenuItems() 113 setMenuItemAppliedEnabled(actionBar, R.string.show_all, in setupMenuItems()
|
D | ActivityState.java | 200 ActionBar actionBar = activity.getActionBar(); in resume() local 201 if (actionBar != null) { in resume() 203 actionBar.hide(); in resume() 205 actionBar.show(); in resume() 210 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in resume()
|
D | MovieActivity.java | 132 final ActionBar actionBar = getActionBar(); in initializeActionBar() local 133 if (actionBar == null) { in initializeActionBar() 137 actionBar.setDisplayOptions( in initializeActionBar() 143 actionBar.setTitle(title); in initializeActionBar() 158 actionBar.setTitle((displayName == null) ? "" : in initializeActionBar()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListActivity.java | 41 protected void updateActionBar(final ActionBar actionBar) { in updateActionBar() argument 42 actionBar.setTitle(getString(R.string.app_name)); in updateActionBar() 43 actionBar.setDisplayShowTitleEnabled(true); in updateActionBar() 44 actionBar.setDisplayHomeAsUpEnabled(false); in updateActionBar() 45 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in updateActionBar() 46 actionBar.setBackgroundDrawable(new ColorDrawable( in updateActionBar() 48 actionBar.show(); in updateActionBar() 49 super.updateActionBar(actionBar); in updateActionBar()
|
D | ArchivedConversationListActivity.java | 39 protected void updateActionBar(ActionBar actionBar) { in updateActionBar() argument 40 actionBar.setTitle(getString(R.string.archived_activity_title)); in updateActionBar() 41 actionBar.setDisplayShowTitleEnabled(true); in updateActionBar() 42 actionBar.setDisplayHomeAsUpEnabled(true); in updateActionBar() 43 actionBar.setBackgroundDrawable(new ColorDrawable( in updateActionBar() 46 actionBar.show(); in updateActionBar() 47 super.updateActionBar(actionBar); in updateActionBar()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MediaChooser.java | 138 void updateActionBar(final ActionBar actionBar) { in updateActionBar() argument 141 actionBar.hide(); in updateActionBar() 143 actionBar.setCustomView(null); in updateActionBar() 144 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE); in updateActionBar() 145 actionBar.setDisplayHomeAsUpEnabled(true); in updateActionBar() 146 actionBar.show(); in updateActionBar() 148 actionBar.setHomeAsUpIndicator(R.drawable.ic_remove_small_light); in updateActionBar() 149 actionBar.setTitle(actionBarTitleResId); in updateActionBar()
|
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/ |
D | ViewNumbersToImportFragment.java | 74 ActionBar actionBar = ((AppCompatActivity) getActivity()).getSupportActionBar(); in onResume() local 75 actionBar.setTitle(R.string.import_send_to_voicemail_numbers_label); in onResume() 76 actionBar.setDisplayShowCustomEnabled(false); in onResume() 77 actionBar.setDisplayHomeAsUpEnabled(true); in onResume() 78 actionBar.setDisplayShowHomeEnabled(true); in onResume() 79 actionBar.setDisplayShowTitleEnabled(true); in onResume()
|
D | BlockedNumbersFragment.java | 119 ActionBar actionBar = ((AppCompatActivity) getActivity()).getSupportActionBar(); in onResume() local 122 actionBar.setBackgroundDrawable(backgroundDrawable); in onResume() 123 actionBar.setDisplayShowCustomEnabled(false); in onResume() 124 actionBar.setDisplayHomeAsUpEnabled(true); in onResume() 125 actionBar.setDisplayShowHomeEnabled(true); in onResume() 126 actionBar.setDisplayShowTitleEnabled(true); in onResume() 127 actionBar.setTitle(R.string.manage_blocked_numbers_label); in onResume()
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferenceActivity.java | 72 final ActionBar actionBar = mCompatDelegate.getSupportActionBar(); in onCreate() local 73 if (actionBar != null) { in onCreate() 74 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); in onCreate() 195 final ActionBar actionBar = mCompatDelegate.getSupportActionBar(); in setActivityTitle() local 196 if (actionBar != null) { in setActivityTitle() 197 actionBar.setTitle(res); in setActivityTitle()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodAndSubtypeEnablerActivity.java | 30 final ActionBar actionBar = getActionBar(); in onCreate() local 31 if (actionBar != null) { in onCreate() 32 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate() 33 actionBar.setHomeButtonEnabled(true); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/ |
D | InputMethodAndSubtypeEnablerActivity.java | 30 final ActionBar actionBar = getActionBar(); in onCreate() local 31 if (actionBar != null) { in onCreate() 32 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate() 33 actionBar.setHomeButtonEnabled(true); in onCreate()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | MovieDetailsActivity.java | 55 ActionBar actionBar = getSupportActionBar(); in onCreate() local 56 if (actionBar != null) { in onCreate() 57 actionBar.setDisplayShowTitleEnabled(false); in onCreate() 58 actionBar.setDisplayShowHomeEnabled(true); in onCreate() 59 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
|
D | OtherDetailsActivity.java | 59 ActionBar actionBar = getSupportActionBar(); in onCreate() local 60 if (actionBar != null) { in onCreate() 61 actionBar.setDisplayShowTitleEnabled(false); in onCreate() 62 actionBar.setDisplayShowHomeEnabled(true); in onCreate() 63 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
|
D | GenreDetailsActivity.java | 62 ActionBar actionBar = getSupportActionBar(); in onCreate() local 63 if (actionBar != null) { in onCreate() 64 actionBar.setDisplayShowTitleEnabled(false); in onCreate() 65 actionBar.setDisplayShowHomeEnabled(true); in onCreate() 66 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
|
D | AlbumDetailsActivity.java | 61 ActionBar actionBar = getSupportActionBar(); in onCreate() local 62 if (actionBar != null) { in onCreate() 63 actionBar.setDisplayShowTitleEnabled(false); in onCreate() 64 actionBar.setDisplayShowHomeEnabled(true); in onCreate() 65 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
|
D | ArtistDetailsActivity.java | 64 ActionBar actionBar = getSupportActionBar(); in onCreate() local 65 if (actionBar != null) { in onCreate() 66 actionBar.setDisplayShowTitleEnabled(false); in onCreate() 67 actionBar.setDisplayShowHomeEnabled(true); in onCreate() 68 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
|
D | PlaylistDetailsActivity.java | 68 ActionBar actionBar = getSupportActionBar(); in onCreate() local 69 if (actionBar != null) { in onCreate() 70 actionBar.setDisplayShowTitleEnabled(false); in onCreate() 71 actionBar.setDisplayShowHomeEnabled(true); in onCreate() 72 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiDppEnrolleeActivity.java | 64 ActionBar actionBar = getActionBar(); in onCreate() local 65 if (actionBar != null) { in onCreate() 66 actionBar.setElevation(0); in onCreate() 67 actionBar.setDisplayShowTitleEnabled(false); in onCreate()
|
D | WifiDppQrCodeGeneratorFragment.java | 75 final ActionBar actionBar = getActivity().getActionBar(); in onActivityCreated() local 76 if (actionBar != null) { in onActivityCreated() 77 actionBar.setDisplayHomeAsUpEnabled(true); in onActivityCreated() 78 actionBar.show(); in onActivityCreated()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsActivity.java | 47 final ActionBar actionBar = getActionBar(); in onCreate() local 49 if (actionBar != null) { in onCreate() 51 actionBar.setDisplayHomeAsUpEnabled(mShowHomeAsUp); in onCreate() 52 actionBar.setHomeButtonEnabled(mShowHomeAsUp); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppEnrolleeActivity.java | 69 ActionBar actionBar = getActionBar(); in onCreate() local 70 if (actionBar != null) { in onCreate() 71 actionBar.setElevation(0); in onCreate() 72 actionBar.setDisplayShowTitleEnabled(false); in onCreate()
|
D | WifiDppQrCodeGeneratorFragment.java | 75 final ActionBar actionBar = getActivity().getActionBar(); in onActivityCreated() local 76 if (actionBar != null) { in onActivityCreated() 77 actionBar.setDisplayHomeAsUpEnabled(true); in onActivityCreated() 78 actionBar.show(); in onActivityCreated()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogActivity.java | 70 final ActionBar actionBar = getSupportActionBar(); in onCreate() local 71 actionBar.setDisplayShowHomeEnabled(true); in onCreate() 72 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate() 73 actionBar.setDisplayShowTitleEnabled(true); in onCreate() 74 actionBar.setElevation(0); in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppHeaderViewPreferenceControllerTest.java | 119 final ActionBar actionBar = mock(ActionBar.class); in onStart_shouldStyleActionBar() local 120 when(mActivity.getActionBar()).thenReturn(actionBar); in onStart_shouldStyleActionBar() 124 verifyZeroInteractions(actionBar); in onStart_shouldStyleActionBar() 128 verify(actionBar).setBackgroundDrawable(any(Drawable.class)); in onStart_shouldStyleActionBar()
|