Searched defs:mode (Results 26 - 50 of 623) sorted by last modified time

1234567891011>>

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DAppCompatSpinner.java112 * 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 DDecorToolbar.java82 void setNavigationMode(int mode); argument
H A DListPopupWindow.java381 * 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 DToolbarWidgetWrapper.java462 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 DBaseWrapContentWithAspectRatioTest.java230 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 DServiceWorkerWebSettingsCompat.java56 * @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 DServiceWorkerWebSettingsImpl.java92 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 DSharingSupportProvider.java75 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 DPlaybackTransportControlGlueSample.java221 public void setMode(int mode) { argument
222 mRepeatAction.setIndex(mode);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DSharingSupportProvider.java75 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 DPlaybackTransportControlGlueSample.java221 public void setMode(int mode) { argument
222 mRepeatAction.setIndex(mode);
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DIconCompat.java324 * 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 DViewCompat.java173 * 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 DViewGroupCompat.java109 * @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 DAccessibilityNodeInfoCompat.java504 /** 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 DImageViewCompat.java72 * 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 DTextViewCompat.java218 // 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 DVectorDrawableCommon.java36 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 DGridLayout.java202 * 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 DMediaPlayerGlue.java346 * 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 DMediaPlayer2.java192 * <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 DMediaPlayer2Impl.java776 * 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 DMockFontProvider.java271 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument
/frameworks/support/compat/src/main/java/androidx/core/content/
H A DFileProvider.java278 * {@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 DCameraView.java57 byte mode = 0; field in class:CameraView
220 switch (mode) {
251 public void setMode(byte mode) { argument
252 this.mode = mode;
256 return mode;

Completed in 883 milliseconds

1234567891011>>