Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
DPhotoEditor.java37 private ActionBar actionBar; field in PhotoEditor
52 actionBar = (ActionBar) findViewById(R.id.action_bar); in onCreate()
58 actionBar.updateButtons(canUndo, canRedo); in onCreate()
63 actionBar.updateSave(saveUri == null); in onCreate()
71 actionBar.setClickRunnable(R.id.undo_button, createUndoRedoRunnable(true)); in onCreate()
72 actionBar.setClickRunnable(R.id.redo_button, createUndoRedoRunnable(false)); in onCreate()
73 actionBar.setClickRunnable(R.id.save_button, createSaveRunnable()); in onCreate()
74 actionBar.setClickRunnable(R.id.share_button, createShareRunnable()); in onCreate()
75 actionBar.setClickRunnable(R.id.action_bar_back, createBackRunnable()); in onCreate()
145 actionBar.updateSave(saveUri == null);
[all …]
/packages/apps/Contacts/src/com/android/contacts/activities/
DJoinContactActivity.java136 final ActionBar actionBar = getActionBar(); in prepareSearchViewAndActionBar() local
137 if (actionBar != null) { in prepareSearchViewAndActionBar()
143 final View searchViewLayout = LayoutInflater.from(actionBar.getThemedContext()) in prepareSearchViewAndActionBar()
157 actionBar.setCustomView(searchViewLayout, in prepareSearchViewAndActionBar()
159 actionBar.setDisplayShowCustomEnabled(true); in prepareSearchViewAndActionBar()
160 actionBar.setDisplayShowHomeEnabled(true); in prepareSearchViewAndActionBar()
161 actionBar.setDisplayHomeAsUpEnabled(true); in prepareSearchViewAndActionBar()
DContactSelectionActivity.java162 final ActionBar actionBar = getActionBar(); in prepareSearchViewAndActionBar() local
163 if (actionBar != null) { in prepareSearchViewAndActionBar()
164 actionBar.setDisplayShowHomeEnabled(true); in prepareSearchViewAndActionBar()
165 actionBar.setDisplayHomeAsUpEnabled(true); in prepareSearchViewAndActionBar()
166 actionBar.setDisplayShowTitleEnabled(true); in prepareSearchViewAndActionBar()
173 final ActionBar actionBar = getActionBar(); in prepareSearchViewAndActionBar() local
174 if (actionBar != null) { in prepareSearchViewAndActionBar()
180 final View searchViewContainer = LayoutInflater.from(actionBar.getThemedContext()) in prepareSearchViewAndActionBar()
194 actionBar.setCustomView(searchViewContainer, in prepareSearchViewAndActionBar()
196 actionBar.setDisplayShowCustomEnabled(true); in prepareSearchViewAndActionBar()
[all …]
DContactDetailActivity.java105 ActionBar actionBar = getActionBar(); in onCreate() local
106 if (actionBar != null) { in onCreate()
107 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_TITLE, in onCreate()
110 actionBar.setTitle(""); in onCreate()
258 ActionBar actionBar = getActionBar(); in setupTitle() local
259 actionBar.setTitle(displayName); in setupTitle()
260 actionBar.setSubtitle(company); in setupTitle()
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()
DDialtactsActivity.java188 final ActionBar actionBar = getActionBar(); in onPageSelected() local
203 actionBar.selectTab(actionBar.getTabAt(position)); in onPageSelected()
1097 final ActionBar actionBar = getActionBar(); in enterSearchUi() local
1099 final Tab tab = actionBar.getSelectedTab(); in enterSearchUi()
1108 actionBar.setDisplayShowCustomEnabled(true); in enterSearchUi()
1109 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in enterSearchUi()
1110 actionBar.setDisplayShowHomeEnabled(true); in enterSearchUi()
1111 actionBar.setDisplayHomeAsUpEnabled(true); in enterSearchUi()
1153 final ActionBar actionBar = getActionBar(); in exitSearchUi() local
1165 actionBar.setDisplayShowCustomEnabled(false); in exitSearchUi()
[all …]
DGroupDetailActivity.java70 ActionBar actionBar = getActionBar(); in onCreate() local
71 if (actionBar != null) { in onCreate()
72 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_TITLE, in onCreate()
DContactEditorActivity.java94 ActionBar actionBar = getActionBar(); in onCreate() local
95 if (actionBar != null) { in onCreate()
109 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM, in onCreate()
112 actionBar.setCustomView(customActionBarView); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DActivityState.java139 ActionBar actionBar = activity.getActionBar(); in resume() local
140 if (actionBar != null) { in resume()
142 actionBar.hide(); in resume()
144 actionBar.show(); in resume()
149 actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); in resume()
DMovieActivity.java109 final ActionBar actionBar = getActionBar(); in initializeActionBar() local
112 actionBar.setLogo(new BitmapDrawable(getResources(), logo)); in initializeActionBar()
114 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, in initializeActionBar()
119 actionBar.setTitle(title); in initializeActionBar()
134 actionBar.setTitle((displayName == null) ? "" : in initializeActionBar()
DAlbumPage.java506 GalleryActionBar actionBar = mActivity.getGalleryActionBar(); in onCreateActionBar() local
514 actionBar.setTitle(GalleryUtils.getSelectionModePrompt(typeBits)); in onCreateActionBar()
517 actionBar.setTitle(mMediaSet.getName()); in onCreateActionBar()
524 FilterUtils.setupMenuItems(actionBar, mMediaSetPath, true); in onCreateActionBar()
538 actionBar.setTitle(mMediaSet.getName()); in onCreateActionBar()
540 actionBar.setSubtitle(null); in onCreateActionBar()
/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()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java120 ActionBar actionBar = getActionBar(); in onCreate() local
121 if (actionBar != null) { in onCreate()
122 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); in onCreate()
227 ActionBar actionBar = getActionBar(); in onDataLoaded() local
229 if (actionBar != null) { in onDataLoaded()
230 actionBar.setTitle(mailboxName); in onDataLoaded()
231 actionBar.setSubtitle(getString(R.string.mailbox_settings_activity_title)); in onDataLoaded()
/packages/apps/Browser/src/com/android/browser/
DBrowserPreferencesPage.java39 ActionBar actionBar = getActionBar(); in onCreate() local
40 if (actionBar != null) { in onCreate()
41 actionBar.setDisplayOptions( in onCreate()
/packages/apps/Phone/src/com/android/phone/
DGsmUmtsAdditionalCallOptions.java58 ActionBar actionBar = getActionBar(); in onCreate() local
59 if (actionBar != null) { in onCreate()
61 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
DFdnList.java44 ActionBar actionBar = getActionBar(); in onCreate() local
45 if (actionBar != null) { in onCreate()
47 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
DGsmUmtsCallForwardOptions.java75 ActionBar actionBar = getActionBar(); in onCreate() local
76 if (actionBar != null) { in onCreate()
78 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
DFdnSetting.java451 ActionBar actionBar = getActionBar(); in onCreate() local
452 if (actionBar != null) { in onCreate()
454 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
DRespondViaSmsManager.java404 ActionBar actionBar = getActionBar(); in onCreate() local
405 if (actionBar != null) { in onCreate()
407 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
DSimContacts.java233 ActionBar actionBar = getActionBar(); in onCreate() local
234 if (actionBar != null) { in onCreate()
236 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DProjectsActivity.java95 final ActionBar actionBar = getActionBar(); in onCreate() local
101 actionBar.setDisplayOptions(actionBar.getDisplayOptions() | in onCreate()
103 actionBar.setTitle(R.string.full_app_name); in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DSetAlarm.java116 ActionBar actionBar = getActionBar(); in onCreate() local
117 if (actionBar != null) { in onCreate()
118 actionBar.setDisplayOptions( in onCreate()
123 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM, in onCreate()
126 actionBar.setCustomView(customActionBarView); in onCreate()
DAlarmClock.java247 ActionBar actionBar = getActionBar(); in updateLayout() local
248 if (actionBar != null) { in updateLayout()
249 actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP); in updateLayout()
/packages/apps/Contacts/src/com/android/contacts/list/
DAccountFilterActivity.java75 ActionBar actionBar = getActionBar(); in onCreate() local
76 if (actionBar != null) { in onCreate()
77 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()
/packages/apps/Phone/src/com/android/phone/sip/
DSipSettings.java159 ActionBar actionBar = getActionBar(); in onCreate() local
160 if (actionBar != null) { in onCreate()
162 actionBar.setDisplayHomeAsUpEnabled(true); in onCreate()

12