Home
last modified time | relevance | path

Searched refs:onOptionsItemSelected (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DSettingsActivity.java56 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in SettingsActivity
61 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
DDocumentsActivity.java606 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in DocumentsActivity
607 if (mDrawerToggle != null && mDrawerToggle.onOptionsItemSelected(item)) { in onOptionsItemSelected()
639 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithEmptyView.java84 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in ListWithEmptyView
97 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModel.java80 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in SimpleModel
92 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestApp.java81 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in TestApp
91 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/docs/html/training/implementing-navigation/
Dancestral.jd123 {@link android.app.Activity#onOptionsItemSelected onOptionsItemSelected()}. The
142 public boolean onOptionsItemSelected(MenuItem item) {
149 return super.onOptionsItemSelected(item);
166 activity, you should implement the {@link android.app.Activity#onOptionsItemSelected
167 onOptionsItemSelected()} callback such that if the user presses the <em>Up</em> button
182 public boolean onOptionsItemSelected(MenuItem item) {
202 return super.onOptionsItemSelected(item);
Dnav-drawer.jd368 public boolean onOptionsItemSelected(MenuItem item) {
371 if (mDrawerToggle.onOptionsItemSelected(item)) {
376 return super.onOptionsItemSelected(item);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBench.java93 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in RsBench
133 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/docs/html/training/search/
Dbackward-compat.jd48 …older than 3.0 call {@link android.app.Activity#onOptionsItemSelected onOptionsItemSelected()} whe…
53 public boolean onOptionsItemSelected(MenuItem item) {
/frameworks/base/core/tests/coretests/src/android/view/
DListContextMenu.java177 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in ListContextMenu
180 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java93 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in TrackerActivity
122 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java176 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in NetworkActivity
186 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/
DKeyguardTestActivity.java207 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in KeyguardTestActivity
232 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/docs/html/training/basics/actionbar/
Dadding-buttons.jd136 the system calls your activity's {@link android.app.Activity#onOptionsItemSelected
137 onOptionsItemSelected()} callback method. In your implementation of this method,
144 public boolean onOptionsItemSelected(MenuItem item) {
154 return super.onOptionsItemSelected(item);
/frameworks/base/docs/html/guide/topics/ui/
Dactionbar.jd320 android.app.Activity#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} method. Using the
327 public boolean onOptionsItemSelected(MenuItem item) {
337 return super.onOptionsItemSelected(item);
345 android.app.Fragment#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} for that
348 android.app.Activity#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} on the activity,
627 android.app.Activity#onOptionsItemSelected onOptionsItemSelected()} callback. The system still calls
628 {@link android.app.Activity#onOptionsItemSelected onOptionsItemSelected()}, but if
695 android.app.Activity#onOptionsItemSelected onOptionsItemSelected()} method. If necessary though,
696 you can still listen for the click event in the {@link android.app.Activity#onOptionsItemSelected
697 onOptionsItemSelected()} method in case you need to simultaneously perform another action. But be
[all …]
Dmenus.jd295 the system calls your activity's {@link android.app.Activity#onOptionsItemSelected(MenuItem)
296 onOptionsItemSelected()} method. This method passes the {@link android.view.MenuItem} selected. You
304 public boolean onOptionsItemSelected(MenuItem item) {
314 return super.onOptionsItemSelected(item);
321 android.app.Activity#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} (the default
325 android.app.Activity#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} for the activity then
339 onCreateOptionsMenu()} and {@link android.app.Activity#onOptionsItemSelected(MenuItem)
340 onOptionsItemSelected()} methods. Then extend this class for each activity that should share the
916 (such as {@link android.app.Activity#onOptionsItemSelected(MenuItem) onOptionsItemSelected()}). It
924 public boolean onOptionsItemSelected(MenuItem item) {
[all …]
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex1.jd294 <code>onOptionsItemSelected</code>; we need to fill these
306 <li><code>onOptionsItemSelected()</code> is the other half of the
416 <p>Fill out the body of the <code>onOptionsItemSelected()</code> method:</p>
419 <code>onOptionsItemSelected()</code> method will be called with the
425 The <code>super.onOptionsItemSelected(item)</code> method call goes at the
433 <li>Return the result of the superclass' <code>onOptionsItemSelected()</code>
441 public boolean onOptionsItemSelected(MenuItem item) {
448 return super.onOptionsItemSelected(item);
/frameworks/base/docs/html/guide/topics/resources/
Dmenu-resource.jd111 callback to {@link android.app.Activity#onOptionsItemSelected onOptionsItemSelected()}. See the
296 …item clicks are handled by {@link android.app.Activity#onOptionsItemSelected onOptionsItemSelected
/frameworks/support/v4/java/android/support/v4/app/
DActionBarDrawerToggle.java287 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in ActionBarDrawerToggle
DFragment.java1282 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in Fragment
1608 if (onOptionsItemSelected(item)) { in performOptionsItemSelected()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DSelectPrinterFragment.java269 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in SelectPrinterFragment
274 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/docs/html/training/basics/firstapp/
Dstarting-activity.jd247 <li>There's also an implementation of {@link android.app.Activity#onOptionsItemSelected
248 onOptionsItemSelected()} which handles the behavior for the action bar's <em>Up</em> behavior.
278 public boolean onOptionsItemSelected(MenuItem item) {
284 return super.onOptionsItemSelected(item);
/frameworks/base/core/java/android/app/
DFragment.java1486 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in Fragment
1806 if (onOptionsItemSelected(item)) { in performOptionsItemSelected()
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java336 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in PhotoViewActivity
342 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java335 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in PhotoViewActivity
341 return super.onOptionsItemSelected(item); in onOptionsItemSelected()

12