Home
last modified time | relevance | path

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

12

/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.jd366 public boolean onOptionsItemSelected(MenuItem item) {
369 if (mDrawerToggle.onOptionsItemSelected(item)) {
374 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/docs/html/guide/topics/ui/
Dactionbar.jd279 {@link android.app.Activity#onOptionsItemSelected(MenuItem)
280 onOptionsItemSelected()}, passing the ID supplied by the {@code android:id} attribute&mdash;the same
300 android.app.Fragment#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} method for that
303 android.app.Activity#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} on the activity before
456 android.app.Activity#onOptionsItemSelected onOptionsItemSelected()} method with the {@code
469 <p>For example, here's an implementation of {@link android.app.Activity#onOptionsItemSelected
470 onOptionsItemSelected()} that returns to the application's "home" activity:</p>
474 public boolean onOptionsItemSelected(MenuItem item) {
483 return super.onOptionsItemSelected(item);
571 android.app.Activity#onOptionsItemSelected onOptionsItemSelected()} method with the {@code
[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/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
DDirListActivity.java246 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in DirListActivity
252 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewActivity.java246 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in PhotoViewActivity
251 return super.onOptionsItemSelected(item); in onOptionsItemSelected()
/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/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/support/v4/java/android/support/v4/app/
DActionBarDrawerToggle.java284 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in ActionBarDrawerToggle
DFragment.java1252 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in Fragment
1578 if (onOptionsItemSelected(item)) { in performOptionsItemSelected()
/frameworks/base/core/java/android/app/
DFragment.java1481 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in Fragment
1801 if (onOptionsItemSelected(item)) { in performOptionsItemSelected()
DDialog.java874 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in Dialog
DActivity.java2566 if (onOptionsItemSelected(item)) { in onMenuItemSelected()
2710 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() method in Activity
2712 return mParent.onOptionsItemSelected(item); in onOptionsItemSelected()
/frameworks/base/docs/html/guide/topics/search/
Dsearch-dialog.jd791 so, you must implement {@link android.app.Activity#onOptionsItemSelected onOptionsItemSelected()} to
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd145 android.app.Activity#onOptionsItemSelected onOptionsItemSelected()} method to handle click
/frameworks/base/docs/html/guide/components/
Dfragments.jd628 android.app.Fragment#onOptionsItemSelected(MenuItem) onOptionsItemSelected()} when a menu item

12