Home
last modified time | relevance | path

Searched refs:actionBar (Results 1 – 25 of 116) sorted by relevance

12345

/packages/apps/Messaging/src/com/android/messaging/ui/
DBugleActionBarActivity.java139 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/
DFilterUtils.java80 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()
DMovieActivity.java129 final ActionBar actionBar = getActionBar(); in initializeActionBar() local
130 if (actionBar == null) { in initializeActionBar()
134 actionBar.setDisplayOptions( in initializeActionBar()
140 actionBar.setTitle(title); in initializeActionBar()
155 actionBar.setTitle((displayName == null) ? "" : in initializeActionBar()
DActivityState.java200 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()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListActivity.java41 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()
DArchivedConversationListActivity.java39 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/
DMediaChooser.java137 void updateActionBar(final ActionBar actionBar) { in updateActionBar() argument
140 actionBar.hide(); in updateActionBar()
142 actionBar.setCustomView(null); in updateActionBar()
143 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE); in updateActionBar()
144 actionBar.setDisplayHomeAsUpEnabled(true); in updateActionBar()
145 actionBar.show(); in updateActionBar()
147 actionBar.setHomeAsUpIndicator(R.drawable.ic_remove_small_light); in updateActionBar()
148 actionBar.setTitle(actionBarTitleResId); in updateActionBar()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerBaseFragment.java60 ActionBar actionBar = parentActivity.getActionBar(); in onResume() local
61 if (actionBar != null) { in onResume()
62 setupActionBar(actionBar); in onResume()
79 protected void setupActionBar(@NonNull ActionBar actionBar) { in setupActionBar() argument
80 actionBar.setTitle(getActionBarTitle()); in setupActionBar()
81 actionBar.setCustomView(null); in setupActionBar()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DViewNumbersToImportFragment.java74 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()
DBlockedNumbersFragment.java119 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/UnifiedEmail/src/com/android/mail/ui/
DHelpActivity.java44 final ActionBar actionBar = getActionBar(); in onCreate() local
45 if (actionBar != null) { in onCreate()
46 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
47 actionBar.setTitle(R.string.help_and_info); in onCreate()
54 actionBar.setSubtitle(getString(R.string.version, appName, pi.versionName)); in onCreate()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java105 ActionBar actionBar = getActionBar(); in onCreate() local
106 if (actionBar != null) { in onCreate()
107 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); in onCreate()
109 actionBar.setIcon(android.R.color.transparent); in onCreate()
110 actionBar.setDisplayUseLogoEnabled(false); in onCreate()
401 final ActionBar actionBar = getActivity().getActionBar(); in onDataLoaded() local
403 if (actionBar != null) { in onDataLoaded()
404 actionBar.setTitle(mailboxName); in onDataLoaded()
405 actionBar.setSubtitle(getString(R.string.mailbox_settings_activity_title)); in onDataLoaded()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferenceActivity.java72 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/
DInputMethodAndSubtypeEnablerActivity.java30 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/
DInputMethodAndSubtypeEnablerActivity.java30 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/
DMovieDetailsActivity.java55 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()
DOtherDetailsActivity.java59 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()
DAlbumDetailsActivity.java61 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()
DGenreDetailsActivity.java62 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()
DArtistDetailsActivity.java64 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()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsFragment.java140 protected void setupActionBar(@NonNull ActionBar actionBar) { in setupActionBar() argument
141 actionBar.setCustomView(R.layout.contact_details_action_bar); in setupActionBar()
142 actionBar.setTitle(null); in setupActionBar()
145 View customView = actionBar.getCustomView(); in setupActionBar()
153 getRecyclerView().setScrollBarPadding(actionBar.getHeight(), 0); in setupActionBar()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppEnrolleeActivity.java64 ActionBar actionBar = getActionBar(); in onCreate() local
65 if (actionBar != null) { in onCreate()
66 actionBar.setElevation(0); in onCreate()
67 actionBar.setDisplayShowTitleEnabled(false); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsActivity.java47 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/
DWifiDppEnrolleeActivity.java69 ActionBar actionBar = getActionBar(); in onCreate() local
70 if (actionBar != null) { in onCreate()
71 actionBar.setElevation(0); in onCreate()
72 actionBar.setDisplayShowTitleEnabled(false); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
DMailPreferenceActivity.java54 final ActionBar actionBar = getActionBar(); in onCreate() local
55 if (actionBar != null) { in onCreate()
57 actionBar.setIcon(android.R.color.transparent); in onCreate()
58 actionBar.setDisplayUseLogoEnabled(false); in onCreate()

12345