Home
last modified time | relevance | path

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

123

/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()
DAlbumPage.java414 GalleryActionBar actionBar = mActivity.getGalleryActionBar(); in onResume() local
415 actionBar.setDisplayOptions(enableHomeButton, false); in onResume()
417 actionBar.enableAlbumModeMenu(GalleryActionBar.ALBUM_GRID_MODE_SELECTED, this); in onResume()
543 GalleryActionBar actionBar = mActivity.getGalleryActionBar(); in onCreateActionBar() local
549 actionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreateActionBar()
552 actionBar.setTitle(mMediaSet.getName()); in onCreateActionBar()
554 FilterUtils.setupMenuItems(actionBar, mMediaSetPath, true); in onCreateActionBar()
562 actionBar.setSubtitle(null); in onCreateActionBar()
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()
DTrimVideo.java78 ActionBar actionBar = getActionBar(); in onCreate() local
80 actionBar.setDisplayOptions(0, displayOptions); in onCreate()
82 actionBar.setDisplayOptions(displayOptions, displayOptions); in onCreate()
83 actionBar.setCustomView(R.layout.trim_menu); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactSelectionActivity.java141 final ActionBar actionBar = getActionBar(); in prepareSearchViewAndActionBar() local
142 mSearchViewContainer = LayoutInflater.from(actionBar.getThemedContext()) in prepareSearchViewAndActionBar()
151 if (actionBar != null) { in prepareSearchViewAndActionBar()
152 actionBar.setDisplayShowHomeEnabled(true); in prepareSearchViewAndActionBar()
153 actionBar.setDisplayHomeAsUpEnabled(true); in prepareSearchViewAndActionBar()
154 actionBar.setDisplayShowTitleEnabled(true); in prepareSearchViewAndActionBar()
161 actionBar.setDisplayShowHomeEnabled(true); in prepareSearchViewAndActionBar()
162 actionBar.setDisplayHomeAsUpEnabled(true); in prepareSearchViewAndActionBar()
175 actionBar.setCustomView(mSearchViewContainer, in prepareSearchViewAndActionBar()
177 actionBar.setDisplayShowCustomEnabled(true); in prepareSearchViewAndActionBar()
[all …]
DContactEditorBaseActivity.java222 ActionBar actionBar = getActionBar(); in onCreate() local
223 if (actionBar != null) { in onCreate()
225 actionBar.setTitle(getResources().getString( in onCreate()
228 actionBar.setTitle(getResources().getString( in onCreate()
231 actionBar.setDisplayShowHomeEnabled(true); in onCreate()
232 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
DGroupEditorActivity.java61 ActionBar actionBar = getActionBar(); in onCreate() local
62 if (actionBar != null) { in onCreate()
77 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM, in onCreate()
80 actionBar.setCustomView(customActionBarView); in onCreate()
/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/InCallUI/src/com/android/incallui/
DConferenceManagerFragment.java100 ActionBar actionBar = getActivity().getActionBar(); in onVisibilityChanged() local
102 actionBar.setTitle(R.string.manageConferenceLabel); in onVisibilityChanged()
103 actionBar.setElevation(mActionBarElevation); in onVisibilityChanged()
104 actionBar.setHideOffset(0); in onVisibilityChanged()
105 actionBar.show(); in onVisibilityChanged()
113 actionBar.setElevation(0); in onVisibilityChanged()
114 actionBar.setHideOffset(actionBar.getHeight()); in onVisibilityChanged()
/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/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/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()
DLicensesActivity.java46 final ActionBar actionBar = getActionBar(); in onCreate() local
47 if (actionBar != null) { in onCreate()
48 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java1537 private void updateActionAndStatusBarColor(final ActionBar actionBar) { in updateActionAndStatusBarColor() argument
1539 actionBar.setBackgroundDrawable(new ColorDrawable(themeColor)); in updateActionAndStatusBarColor()
1543 public void updateActionBar(final ActionBar actionBar) { in updateActionBar() argument
1544 if (mComposeMessageView == null || !mComposeMessageView.updateActionBar(actionBar)) { in updateActionBar()
1545 updateActionAndStatusBarColor(actionBar); in updateActionBar()
1548 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); in updateActionBar()
1549 actionBar.setDisplayHomeAsUpEnabled(true); in updateActionBar()
1551 actionBar.setHomeAsUpIndicator(0); in updateActionBar()
1552 View customView = actionBar.getCustomView(); in updateActionBar()
1563 actionBar.setCustomView(customView); in updateActionBar()
[all …]
DConversationActivity.java179 public void updateActionBar(final ActionBar actionBar) { in updateActionBar() argument
180 super.updateActionBar(actionBar); in updateActionBar()
184 contactPicker.updateActionBar(actionBar); in updateActionBar()
186 conversation.updateActionBar(actionBar); in updateActionBar()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogActivity.java124 final ActionBar actionBar = getActionBar(); in onCreate() local
125 actionBar.setDisplayShowHomeEnabled(true); in onCreate()
126 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
127 actionBar.setDisplayShowTitleEnabled(true); in onCreate()
128 actionBar.setElevation(0); in onCreate()
/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/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java519 final ActionBar actionBar = getSupportActionBar(); in onCreate() local
520 if (actionBar != null) { in onCreate()
522 actionBar.setIcon(null); in onCreate()
523 actionBar.setDisplayUseLogoEnabled(false); in onCreate()
1112 final ActionBar actionBar = getSupportActionBar(); in getMode() local
1113 if (actionBar != null in getMode()
1114 && actionBar.getNavigationMode() == ActionBar.NAVIGATION_MODE_LIST) { in getMode()
1115 mode = actionBar.getSelectedNavigationIndex(); in getMode()
1490 final ActionBar actionBar = getSupportActionBar(); in initActionBar() local
1491 if (actionBar == null) { in initActionBar()
[all …]
/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/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()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceActivity.java38 ActionBar actionBar = getActionBar(); in onCreate() local
39 if (actionBar != null) { in onCreate()
40 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferenceActivity.java42 ActionBar actionBar = getActionBar(); in onCreate() local
43 if (actionBar != null) { in onCreate()
44 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); in onCreate()

123