/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List15.java | 52 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 …]
|
D | List16.java | 54 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()
|
D | Grid3.java | 133 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()
|
D | SystemUIModes.java | 78 @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/scripts/gdb/ |
D | dalvik.gdb | 36 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/ImmersiveMode/ |
D | _index.jd | 8 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/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ActionBarDisplayOptions.java | 157 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()
|
D | PresentationActivity.java | 423 for (Display.Mode mode : modes) { in getView() 425 mode.getModeId(), in getView() 426 mode.getPhysicalWidth(), mode.getPhysicalHeight(), in getView() 427 mode.getRefreshRate())); in getView() 428 if (contents.displayModeId == mode.getModeId()) { in getView()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixTrackingGL.java | 172 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 …]
|
D | MatrixGrabber.java | 55 private void getMatrix(GL10 gl, int mode, float[] mat) { in getMatrix() argument 57 gl2.glMatrixMode(mode); in getMatrix()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchPaint.java | 389 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/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/ |
D | AssetProvider.java | 79 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/tools/mkstubs/src/com/android/mkstubs/ |
D | Main.java | 199 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/BasicImmersiveMode/ |
D | _index.jd | 8 \"Immersive Mode\" is a new UI mode which improves \"hide full screen\" and 10 demonstrates how to enable and disable immersive mode programmatically.
|
/development/testrunner/ |
D | create_test.py | 118 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/DrawableTinting/ |
D | _index.jd | 14 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/ |
D | MmsFileProvider.java | 77 int mode = (TextUtils.equals(fileMode, "r") ? ParcelFileDescriptor.MODE_READ_ONLY : in openFile() local 81 return ParcelFileDescriptor.open(file, mode); in openFile()
|
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/ |
D | AssetProvider.java | 79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile() argument 87 if (!"r".equals(mode)) { in openAssetFile()
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
D | MainActivity.java | 357 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/StorageProvider/src/com.example.android.storageprovider/ |
D | MyCloudProvider.java | 292 public ParcelFileDescriptor openDocument(final String documentId, final String mode, in openDocument() argument 295 Log.v(TAG, "openDocument, mode: " + mode); in openDocument() 302 final int accessMode = ParcelFileDescriptor.parseMode(mode); in openDocument() 304 final boolean isWrite = (mode.indexOf('w') != -1); in openDocument() 322 " and mode " + mode); in openDocument()
|
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
D | DrawableTintingFragment.java | 256 public void updateTint(int color, PorterDuff.Mode mode) { in updateTint() argument 261 mMode = mode; in updateTint() 266 mode.toString())); in updateTint()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | ViewfinderProcessor.java | 101 public void setRenderMode(int mode) { in setRenderMode() argument 102 mMode = mode; in setRenderMode()
|
/development/samples/Vault/src/com/example/android/vault/ |
D | VaultProvider.java | 499 String documentId, String mode, CancellationSignal signal) in openDocument() argument 505 if ("r".equals(mode)) { in openDocument() 507 } else if ("w".equals(mode) || "wt".equals(mode)) { in openDocument() 510 throw new IllegalArgumentException("Unsupported mode: " + mode); in openDocument()
|
/development/tools/logblame/ |
D | sample.txt | 30 VR mode is disallowed 58 Set power mode=0, type=0 flinger=0x7542c6c000 62 Unable to find color mode 0, ignoring request. 66 hwc_setPowerMode: Setting mode 0 on display: 0 72 hwc_setPowerMode: Done setting mode 0 on display 0 249 Set power mode=1, type=0 flinger=0x7542c6c000 257 hwc_setPowerMode: Setting mode 1 on display: 0 272 Unable to find color mode 0, ignoring request. 299 hwc_setPowerMode: Done setting mode 1 on display 0 348 Set power mode=2, type=0 flinger=0x7542c6c000 [all …]
|
/development/samples/browseable/Flashlight/ |
D | _index.jd | 9 a party-mode option (swipe left), if you want to make things interesting.
|