Home
last modified time | relevance | path

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

12

/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java106 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in PhotoViewActivity
107 return mController.onOptionsItemSelected(item) || super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java106 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in PhotoViewActivity
107 return mController.onOptionsItemSelected(item) || super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DMyActivity.java25 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in MyActivity
33 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
DDrawerActivity.java107 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in DrawerActivity
110 if (drawerToggle.onOptionsItemSelected(item)) { in onOptionsItemSelected()
113 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
DActionBarTestActivity.java69 public boolean onOptionsItemSelected(MenuItem menu) { in onOptionsItemSelected() method in ActionBarTestActivity
DMenuActivity.java53 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in MenuActivity
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
DMainActivity.java68 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in MainActivity
76 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
160 public boolean onOptionsItemSelected(MenuItem item) {
167 return super.onOptionsItemSelected(item);
183 activity, you should implement the {@link android.app.Activity#onOptionsItemSelected
184 onOptionsItemSelected()} callback such that if the user presses the <em>Up</em> button
199 public boolean onOptionsItemSelected(MenuItem item) {
219 return super.onOptionsItemSelected(item);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
DMyActivity.classMyActivity.java package com.android.layoutlib.test.myapplication public com.android.layoutlib ...
/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/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java67 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in UsageStatsActivity
74 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/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/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/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java194 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in CaptivePortalLoginActivity
204 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.jd295 <code>onOptionsItemSelected</code>; we need to fill these
307 <li><code>onOptionsItemSelected()</code> is the other half of the
417 <p>Fill out the body of the <code>onOptionsItemSelected()</code> method:</p>
420 <code>onOptionsItemSelected()</code> method will be called with the
426 The <code>super.onOptionsItemSelected(item)</code> method call goes at the
434 <li>Return the result of the superclass' <code>onOptionsItemSelected()</code>
442 public boolean onOptionsItemSelected(MenuItem item) {
449 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

12