Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 47) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/view/
DList15.java52 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
55 mode.setTitle("Select Items"); in onCreateActionMode()
56 setSubtitle(mode); in onCreateActionMode()
60 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
64 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
69 mode.finish(); in onActionItemClicked()
79 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
82 public void onItemCheckedStateChanged(ActionMode mode, in onItemCheckedStateChanged() argument
84 setSubtitle(mode); in onItemCheckedStateChanged()
87 private void setSubtitle(ActionMode mode) { in setSubtitle() argument
[all …]
DList16.java54 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
57 mode.setTitle("Select Items"); in onCreateActionMode()
61 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
65 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
70 mode.finish(); in onActionItemClicked()
80 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
83 public void onItemCheckedStateChanged(ActionMode mode, in onItemCheckedStateChanged() argument
88 mode.setSubtitle(null); in onItemCheckedStateChanged()
91 mode.setSubtitle("One item selected"); in onItemCheckedStateChanged()
94 mode.setSubtitle("" + checkedCount + " items selected"); in onItemCheckedStateChanged()
DGrid3.java133 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
134 mode.setTitle("Select Items"); in onCreateActionMode()
135 mode.setSubtitle("One item selected"); in onCreateActionMode()
139 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
143 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
147 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
150 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, in onItemCheckedStateChanged() argument
155 mode.setSubtitle("One item selected"); in onItemCheckedStateChanged()
158 mode.setSubtitle("" + selectCount + " items selected"); in onItemCheckedStateChanged()
DSystemUIModes.java78 @Override public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument
79 mode.setTitle("My Action Mode!"); in onCreateActionMode()
80 mode.setSubtitle(null); in onCreateActionMode()
81 mode.setTitleOptionalHint(false); in onCreateActionMode()
87 @Override public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
91 @Override public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument
95 @Override public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument
/development/samples/browseable/ImmersiveMode/
D_index.jd8 One of the features introduced in KitKat is "immersive mode". Immersive mode gives the
10 click the "Toggle immersive mode" button, then try swiping the bar in and out!
/development/scripts/gdb/
Ddalvik.gdb36 printf "ART debugging mode is enabled.\n"
42 printf "ART debugging mode is already enabled.\n"
47 Enter ART debugging mode. In ART debugging mode, SIGSEGV signals are ignored
52 To switch ART debugging mode off, use "art-off"
64 printf "ART debugging mode is disabled.\n"
69 Leave ART debugging mode. Signal handling is restored to default settings.
71 Use the command "art-on" to enable ART debugging mode.
/development/samples/browseable/BasicImmersiveMode/
D_index.jd8 \"Immersive Mode\" is a new UI mode which improves \"hide full screen\" and
10 demonstrates how to enable and disable immersive mode programmatically.
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixGrabber.java55 private void getMatrix(GL10 gl, int mode, float[] mat) { in getMatrix() argument
57 gl2.glMatrixMode(mode); in getMatrix()
DMatrixTrackingGL.java172 public void glCullFace(int mode) { in glCullFace() argument
173 mgl.glCullFace(mode); in glCullFace()
208 public void glDrawArrays(int mode, int first, int count) { in glDrawArrays() argument
209 mgl.glDrawArrays(mode, first, count); in glDrawArrays()
212 public void glDrawElements(int mode, int count, int type, Buffer indices) { in glDrawElements() argument
213 mgl.glDrawElements(mode, count, type, indices); in glDrawElements()
256 public void glFrontFace(int mode) { in glFrontFace() argument
257 mgl.glFrontFace(mode); in glFrontFace()
300 public void glHint(int target, int mode) { in glHint() argument
301 mgl.glHint(target, mode); in glHint()
[all …]
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
DAssetProvider.java79 public AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile() argument
93 return super.openAssetFile(uri, mode); in openAssetFile()
99 return super.openAssetFile(uri, mode); in openAssetFile()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarDisplayOptions.java157 final int mode; in onItemSelected() local
160 mode = ActionBar.NAVIGATION_MODE_TABS; in onItemSelected()
163 mode = ActionBar.NAVIGATION_MODE_LIST; in onItemSelected()
166 mode = ActionBar.NAVIGATION_MODE_STANDARD; in onItemSelected()
168 bar.setNavigationMode(mode); in onItemSelected()
DPresentationActivity.java422 for (Display.Mode mode : modes) { in getView()
424 mode.getModeId(), in getView()
425 mode.getPhysicalWidth(), mode.getPhysicalHeight(), in getView()
426 mode.getRefreshRate())); in getView()
427 if (contents.displayModeId == mode.getModeId()) { in getView()
/development/samples/browseable/DrawableTinting/
D_index.jd14 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java77 int mode = (TextUtils.equals(fileMode, "r") ? ParcelFileDescriptor.MODE_READ_ONLY : in openFile() local
81 return ParcelFileDescriptor.open(file, mode); in openFile()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java389 PaintMode mode; in onTouchOrHoverEvent() local
392 mode = PaintMode.Splat; in onTouchOrHoverEvent()
395 mode = PaintMode.Draw; in onTouchOrHoverEvent()
408 paint(getPaintModeForTool(event.getToolType(j), mode), in onTouchOrHoverEvent() local
420 paint(getPaintModeForTool(event.getToolType(j), mode), in onTouchOrHoverEvent() local
447 private void paint(PaintMode mode, float x, float y) { in paint() argument
448 paint(mode, x, y, 1.0f, 0, 0, 0, 0, 0); in paint()
451 private void paint(PaintMode mode, float x, float y, float pressure, in paint() argument
460 switch (mode) { in paint()
/development/tools/mkstubs/src/com/android/mkstubs/
DMain.java199 char mode = s.charAt(0); in addString() local
202 if (mode == '@') { in addString()
205 } else if (mode == '-') { in addString()
213 } else if (mode == '+') { in addString()
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile() argument
87 if (!"r".equals(mode)) { in openAssetFile()
/development/testrunner/
Dcreate_test.py118 tests_manifest = open(tests_manifest_path, mode="w")
147 mk_file = open(mk_path, mode="a")
168 tests_mk = open(tests_mk_path, mode="w")
/development/samples/browseable/Flashlight/
D_index.jd9 a party-mode option (swipe left), if you want to make things interesting.
/development/samples/browseable/MultiWindowPlayground/
D_index.jd11 Switch the sample app into multi-window mode to see how it affects
/development/samples/browseable/AdvancedImmersiveMode/
D_index.jd10 lets the user experiment with immersive mode by seeing how it interacts
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java357 for (int mode : modes) { in createThumbnail()
358 mFilterMode = mode; in createThumbnail()
359 float f = getFilterParameter(parameter[mode]); in createThumbnail()
366 ThumbnailRadioButton button = (ThumbnailRadioButton) findViewById(ids[mode]); in createThumbnail()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DViewfinderProcessor.java101 public void setRenderMode(int mode) { in setRenderMode() argument
102 mMode = mode; in setRenderMode()
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/
DDrawableTintingFragment.java256 public void updateTint(int color, PorterDuff.Mode mode) { in updateTint() argument
261 mMode = mode; in updateTint()
266 mode.toString())); in updateTint()
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradle.properties15 # When configured, Gradle will run in incubating parallel mode.

12