/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | AppCompatSpinner.java | 112 * mode of displaying choices. <code>mode</code> may be one of 117 * @param mode Constant describing how the user will select choices from the spinner. 121 public AppCompatSpinner(Context context, int mode) { argument 122 this(context, null, R.attr.spinnerStyle, mode); 153 * and default style. <code>mode</code> may be one of {@link #MODE_DIALOG} or 162 * @param mode Constant describing how the user will select choices from the spinner. 166 public AppCompatSpinner(Context context, AttributeSet attrs, int defStyleAttr, int mode) { argument 167 this(context, attrs, defStyleAttr, mode, null); 173 * attribute set, default styles, popup mode (on 194 AppCompatSpinner(Context context, AttributeSet attrs, int defStyleAttr, int mode, Resources.Theme popupTheme) argument [all...] |
H A D | DecorToolbar.java | 82 void setNavigationMode(int mode); argument
|
H A D | ListPopupWindow.java | 381 * Sets the operating mode for the soft input area. 383 * @param mode The desired mode, see 390 public void setSoftInputMode(int mode) { argument 391 mPopup.setSoftInputMode(mode); 790 public void setInputMethodMode(int mode) { argument 791 mPopup.setInputMethodMode(mode); 1008 // of touch mode.
|
H A D | ToolbarWidgetWrapper.java | 462 public void setNavigationMode(int mode) { argument 464 if (mode != oldMode) { 478 mNavigationMode = mode; 480 switch (mode) { 497 throw new IllegalArgumentException("Invalid navigation mode " + mode);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | BaseWrapContentWithAspectRatioTest.java | 230 public static MeasureSpecMatcher is(int size, int mode) { argument 231 MeasureSpecMatcher matcher = new MeasureSpecMatcher(size, mode); 244 public static MeasureSpecMatcher mode(int mode) { argument 245 MeasureSpecMatcher matcher = new MeasureSpecMatcher(0, mode); 251 private MeasureSpecMatcher(int size, int mode) { argument 253 mMode = mode; 264 final int mode = View.MeasureSpec.getMode(intValue); 268 if (checkMode && mode != mMode) { 278 final int mode 299 modeName(int mode) argument [all...] |
/frameworks/support/webkit/src/main/java/androidx/webkit/ |
H A D | ServiceWorkerWebSettingsCompat.java | 56 * @param mode the mode to use. One of {@link WebSettings#LOAD_DEFAULT}, 64 public abstract void setCacheMode(@CacheMode int mode); argument 68 * Gets the current setting for overriding the cache mode. 70 * @return the current setting for overriding the cache mode
|
/frameworks/support/webkit/src/main/java/androidx/webkit/internal/ |
H A D | ServiceWorkerWebSettingsImpl.java | 92 public void setCacheMode(int mode) { argument 95 getFrameworksImpl().setCacheMode(mode); 97 getBoundaryInterface().setCacheMode(mode);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 75 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument 77 if (mode.equals("r") &&
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | PlaybackTransportControlGlueSample.java | 221 public void setMode(int mode) { argument 222 mRepeatAction.setIndex(mode);
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 75 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument 77 if (mode.equals("r") &&
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | PlaybackTransportControlGlueSample.java | 221 public void setMode(int mode) { argument 222 mRepeatAction.setIndex(mode);
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
H A D | IconCompat.java | 324 * Store a blending mode to use whenever this Icon is drawn. 326 * @param mode a blending mode, as in {@link Drawable#setTintMode(PorterDuff.Mode)}, may be null 329 public IconCompat setTintMode(PorterDuff.Mode mode) { argument 330 mTintMode = mode; 607 sb.append(" mode=").append(mTintMode);
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | ViewCompat.java | 173 * Live region mode specifying that accessibility services should not 175 * region mode for most views. 182 * Live region mode specifying that accessibility services should announce 190 * Live region mode specifying that accessibility services should interrupt 216 * is useful to apply a specific color filter and/or blending mode and/or 244 * blending mode and/or translucency to a view and all its children.</p> 506 * Returns the over-scroll mode for this view. The result will be 512 * @return This view's over-scroll mode. 524 * Set the over-scroll mode for this view. Valid over-scroll modes are 529 * Setting the over-scroll mode o 765 setImportantForAutofill(@onNull View v, @AutofillImportance int mode) argument 1016 setImportantForAccessibility(@onNull View view, @ImportantForAccessibility int mode) argument 1498 setAccessibilityLiveRegion(@onNull View view, @AccessibilityLiveRegion int mode) argument 2407 setBackgroundTintMode(@onNull View view, PorterDuff.Mode mode) argument [all...] |
H A D | ViewGroupCompat.java | 109 * @return the layout mode to use during layout operations 125 * @param mode the layout mode to use during layout operations 129 public static void setLayoutMode(@NonNull ViewGroup group, int mode) { argument 131 group.setLayoutMode(mode);
|
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 504 /** Selection mode where items are not selectable. */ 507 /** Selection mode where a single item may be selected. */ 510 /** Selection mode where multiple items may be selected. */ 521 * @param selectionMode The collection's selection mode, one of: 606 * Gets the collection's selection mode. 608 * @return The collection's selection mode, one of: 2329 * Gets the node's live region mode. 2334 * notification, that view should be marked as a live region with mode 2341 * @return The live region mode, or 2355 * Sets the node's live region mode 2366 setLiveRegion(int mode) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | ImageViewCompat.java | 72 * Return the blending mode used to apply the tint to the image drawable, if specified. 85 * Specifies the blending mode used to apply the tint specified by 87 * to the image drawable. The default mode is {@link PorterDuff.Mode#SRC_IN}. 89 public static void setImageTintMode(@NonNull ImageView view, @Nullable PorterDuff.Mode mode) { argument 91 view.setImageTintMode(mode); 107 ((TintableImageSourceView) view).setSupportImageTintMode(mode);
|
H A D | TextViewCompat.java | 218 // If the max mode is using lines, we can grab the maximum value 244 // If the min mode is using lines, we can grab the maximum value 466 * Sets a selection action mode callback on a TextView. 484 * @param textView The TextView to set the action selection mode callback on. 485 * @param callback The action selection mode callback to set on textView. 525 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 526 return mCallback.onCreateActionMode(mode, menu); 530 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 532 return mCallback.onPrepareActionMode(mode, menu); 536 public boolean onActionItemClicked(ActionMode mode, MenuIte argument 541 onDestroyActionMode(ActionMode mode) argument [all...] |
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
H A D | VectorDrawableCommon.java | 36 public void setColorFilter(int color, PorterDuff.Mode mode) { argument 38 mDelegateDrawable.setColorFilter(color, mode); 41 super.setColorFilter(color, mode);
|
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/ |
H A D | GridLayout.java | 202 * For example, when {@code GridLayout} is in {@link #ALIGN_BOUNDS} mode, 217 * For example, when {@code GridLayout} is in {@link #ALIGN_MARGINS} mode, 338 * in multi-line mode (the default) it is normally best to leave GridLayout's 343 * GridLayout, so it's fine to leave GridLayout in {@code HORIZONTAL} mode even if 474 * Returns the alignment mode. 476 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS} 490 * Sets the alignment mode to be used for all of the alignments between the 1750 int mode = MeasureSpec.getMode(measureSpec); 1752 switch (mode) { 2661 * @param mode th 2664 getAlignmentValue(View view, int viewSize, int mode) argument [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
H A D | MediaPlayerGlue.java | 346 * Sets the playback mode. It currently support no repeat, repeat once and infinite 347 * loop mode. 349 public void setMode(int mode) { argument 350 switch(mode) {
|
/frameworks/support/media/src/main/java/androidx/media/ |
H A D | MediaPlayer2.java | 192 * <li>If the looping mode was set to <var>false 303 * Same as {@link #seekTo(long, int)} with {@code mode = SEEK_PREVIOUS_SYNC}. 309 seekTo(msec, SEEK_PREVIOUS_SYNC /* mode */); 493 /* Do not change these video scaling mode values below without updating 499 * Specifies a video scaling mode. The content is stretched to the 504 * There is no content cropping with this video scaling mode. 573 * Sets A/V sync mode. 581 * Gets the A/V sync mode. 592 * Do not change these mode values without updating their counterparts 596 * This mode i 658 seekTo(long msec, @SeekMode int mode) argument [all...] |
H A D | MediaPlayer2Impl.java | 776 * Sets A/V sync mode. 794 * Gets the A/V sync mode. 807 * Moves the media to specified time position by considering the given mode. 814 * position or mode is different. 821 * @param mode the mode indicating where exactly to seek to. 834 * @throws IllegalArgumentException if the mode is invalid. 837 public void seekTo(final long msec, @SeekMode final int mode) { argument 841 mPlayer.seekTo(msec, mode); 1253 * mode b 2267 seekTo(long msec, int mode) argument [all...] |
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
H A D | MockFontProvider.java | 271 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument
|
/frameworks/support/compat/src/main/java/androidx/core/content/ |
H A D | FileProvider.java | 278 * {@link Uri}, using the desired mode flags. This grants temporary access permission for the 556 * @param mode Access mode for the file. May be "r" for read-only access, "rw" for read and 561 public ParcelFileDescriptor openFile(@NonNull Uri uri, @NonNull String mode) argument 565 final int fileMode = modeToMode(mode); 788 private static int modeToMode(String mode) { argument 790 if ("r".equals(mode)) { 792 } else if ("w".equals(mode) || "wt".equals(mode)) { 796 } else if ("wa".equals(mode)) { [all...] |
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraView.java | 57 byte mode = 0; field in class:CameraView 220 switch (mode) { 251 public void setMode(byte mode) { argument 252 this.mode = mode; 256 return mode;
|