/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 527 SLresult audioPlayer_setPerformanceMode(CAudioPlayer* ap, SLuint32 mode) { argument 529 SL_LOGV("performance mode set to %d", mode); 532 switch (mode) { 551 // performance mode needs to be set before the object is realized 1446 // performance mode 1485 // performance mode 1537 //TODO: query effect for EFFECT_FLAG_HW_ACC_xx flag to refine mode 1590 // AudioTrack to adjust performance mode based on actual output flags 1707 // update performance mode accordin [all...] |
H A D | AudioRecorder_to_android.cpp | 77 SLresult audioRecorder_setPerformanceMode(CAudioRecorder* ar, SLuint32 mode) { argument 79 SL_LOGV("performance mode set to %d", mode); 82 switch (mode) { 101 // performance mode needs to be set before the object is realized 450 // performance mode 488 // performance mode 610 // AudioRecord to adjust performance mode based on actual input flags 715 // update performance mode according to actual flags granted to AudioRecord
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 238 ReadOptions::SeekMode mode; local 239 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.cpp | 22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) argument 26 switch (mode) { 32 thiz->mMode = mode;
|
/frameworks/support/slices/view/src/main/java/androidx/slice/ |
H A D | SliceUtils.java | 185 * The default mode is {@link #MODE_THROW}. 186 * @param mode The desired mode. 188 public SerializeOptions setActionMode(@FormatMode int mode) { argument 189 mActionMode = mode; 196 * The default mode is {@link #MODE_THROW}. 197 * @param mode The desired mode. 199 public SerializeOptions setImageMode(@FormatMode int mode) { argument 200 mImageMode = mode; [all...] |
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
H A D | LargeSliceAdapter.java | 107 public void setSliceItems(List<SliceItem> slices, int color, int mode) { argument 114 mSlices.add(new SliceWrapper(s, mIdGen, mode)); 203 public SliceWrapper(SliceItem item, IdGenerator idGen, int mode) { argument 206 mId = idGen.getId(item, mode); 250 int mode = mParent != null ? mParent.getMode() : MODE_LARGE; 251 mSliceChildView.setMode(mode); 289 public long getId(SliceItem item, int mode) { argument 293 str += mode; // mode matters
|
H A D | ListContent.java | 233 int count, int mode) { 238 int height = mode == MODE_SMALL ? gc.getSmallHeight() : gc.getActualHeight(); 242 return mode == MODE_SMALL ? rc.getSmallHeight() : rc.getActualHeight(); 232 getHeight(Context context, SliceItem item, boolean isHeader, int index, int count, int mode) argument
|
H A D | SliceChildView.java | 108 * Set the mode of the slice being presented. 110 public void setMode(int mode) { argument 111 mMode = mode; 115 * @return the mode of the slice being presented.
|
H A D | SliceView.java | 58 * content, and the mode that SliceView is configured for. The modes that SliceView supports are: 314 int mode = getMode(); 315 if (mode == MODE_SHORTCUT) { 318 return mode == MODE_LARGE 353 // Not enough space available for slice in current mode 464 * Set the mode this view should present in. 466 public void setMode(@SliceMode int mode) { argument 467 setMode(mode, false /* animate */); 511 public void setMode(@SliceMode int mode, boolean animate) { argument 515 if (mMode == mode) { 647 modeToString(@liceMode int mode) argument [all...] |
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
H A D | FadeTest.java | 288 InterruptibleFade(int mode, Runnable middle, float[] alphaValues) { argument 289 super(mode);
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | Visibility.java | 102 int mode = TypedArrayUtils.getNamedInt(a, (XmlResourceParser) attrs, 106 if (mode != 0) { 107 setMode(mode); 113 * on <code>mode</code>. 115 * @param mode The behavior supported by this transition, a combination of 118 public void setMode(@Mode int mode) { argument 119 if ((mode & ~(MODE_IN | MODE_OUT)) != 0) { 122 mMode = mode;
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
H A D | AppCompatTintableViewActions.java | 67 * Sets the passed mode as the background tint mode on a <code>View</code>. 69 public static ViewAction setBackgroundTintMode(final PorterDuff.Mode mode) { argument 78 return "set background tint mode"; 85 ViewCompat.setBackgroundTintMode(view, mode); 119 * Sets the passed mode as the image source tint mode on a <code>View</code>. 121 public static ViewAction setImageSourceTintMode(final PorterDuff.Mode mode) { argument 130 return "set image source tint mode"; 137 ImageViewCompat.setImageTintMode((ImageView) view, mode); [all...] |
H A D | BaseTestActivity.java | 191 public void onSupportActionModeStarted(@NonNull ActionMode mode) { argument 193 mAppCompatCallback.onSupportActionModeStarted(mode); 198 public void onSupportActionModeFinished(@NonNull ActionMode mode) { argument 200 mAppCompatCallback.onSupportActionModeFinished(mode);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
H A D | ActionBar.java | 80 * your activity, you can enable an action mode that offers actions specific to the selected 101 * Standard navigation mode. Consists of either a logo or icon 115 * List navigation mode. Instead of static title text this mode 128 * Tab navigation mode. Instead of static title text this mode 206 * Set the action bar into custom navigation mode, supplying a view 220 * Set the action bar into custom navigation mode, supplying a view 240 * Set the action bar into custom navigation mode, supplying a view 319 * Set the adapter and navigation callback for list navigation mode 600 setNavigationMode(@avigationMode int mode) argument [all...] |
H A D | AppCompatActivity.java | 249 * Notifies the Activity that a support action mode has been started. 252 * @param mode The new action mode. 256 public void onSupportActionModeStarted(@NonNull ActionMode mode) { argument 260 * Notifies the activity that a support action mode has finished. 263 * @param mode The action mode that just finished. 267 public void onSupportActionModeFinished(@NonNull ActionMode mode) { argument 271 * Called when a support action mode is being started for this window. Gives the 272 * callback an opportunity to handle the action mode i [all...] |
H A D | AppCompatCallback.java | 31 * Called when a support action mode has been started. 33 * @param mode The new action mode. 35 void onSupportActionModeStarted(ActionMode mode); argument 38 * Called when a support action mode has finished. 40 * @param mode The action mode that just finished. 42 void onSupportActionModeFinished(ActionMode mode); argument 45 * Called when a support action mode is being started for this window. Gives the 46 * callback an opportunity to handle the action mode i [all...] |
H A D | AppCompatDelegate.java | 93 * Mode which means to not use night mode, and therefore prefer {@code notnight} qualified 101 * Mode which means to always use night mode, and therefore prefer {@code night} qualified 109 * Mode which means to use night mode when it is determined that it is night or not. 121 * Mode which uses the system's night mode setting to determine if it is night or not. 160 * <p>This mode is especially useful with {@code View.SYSTEM_UI_FLAG_FULLSCREEN}, which allows 162 * When an ActionBar is in this mode it will adjust the insets provided to 172 * If overlay is enabled, the action mode UI will be allowed to cover existing window content. 346 * Start an action mode. 348 * @param callback Callback that will manage lifecycle events for this context mode 416 * <p>You can override the night mode usin 439 setLocalNightMode(@ightMode int mode) argument 454 setDefaultNightMode(@ightMode int mode) argument [all...] |
H A D | AppCompatDialog.java | 175 public void onSupportActionModeStarted(ActionMode mode) { argument 179 public void onSupportActionModeFinished(ActionMode mode) { argument
|
H A D | ToolbarActionBar.java | 202 "setSelectedNavigationIndex not valid for current navigation mode"); 314 public void setNavigationMode(@NavigationMode int mode) { argument 315 if (mode == ActionBar.NAVIGATION_MODE_TABS) { 318 mDecorToolbar.setNavigationMode(mode);
|
H A D | WindowDecorActionBar.java | 116 // The fade duration for toolbar and action bar when entering/exiting action mode. 185 * Only for edit mode. 419 "setSelectedNavigationIndex not valid for current navigation mode"); 529 ActionModeImpl mode = new ActionModeImpl(mContextView.getContext(), callback); 530 if (mode.dispatchOnCreate()) { 533 mActionMode = mode; 534 mode.invalidate(); 535 mContextView.initForMode(mode); 538 return mode; 634 // If we're not in edit mode an 1330 setNavigationMode(int mode) argument [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/ |
H A D | ActionMode.java | 29 * Represents a contextual mode of the user interface. Action modes can be used to provide 75 * Set the title of the action mode. This method will have no visible effect if 86 * Set the title of the action mode. This method will have no visible effect if 97 * Set the subtitle of the action mode. This method will have no visible effect if 108 * Set the subtitle of the action mode. This method will have no visible effect if 119 * Set whether or not the title/subtitle display for this action mode 122 * <p>In many cases the supplied title for an action mode is merely 124 * mode to be useful. If the title is optional, the system may choose 138 * @return true if this action mode has been given a hint to consider the 149 * @return true if this action mode consider 256 onCreateActionMode(ActionMode mode, Menu menu) argument 265 onPrepareActionMode(ActionMode mode, Menu menu) argument 275 onActionItemClicked(ActionMode mode, MenuItem item) argument 282 onDestroyActionMode(ActionMode mode) argument [all...] |
H A D | SupportActionModeWrapper.java | 157 public boolean onCreateActionMode(androidx.appcompat.view.ActionMode mode, Menu menu) { argument 158 return mWrappedCallback.onCreateActionMode(getActionModeWrapper(mode), 163 public boolean onPrepareActionMode(androidx.appcompat.view.ActionMode mode, Menu menu) { argument 164 return mWrappedCallback.onPrepareActionMode(getActionModeWrapper(mode), 169 public boolean onActionItemClicked(androidx.appcompat.view.ActionMode mode, argument 171 return mWrappedCallback.onActionItemClicked(getActionModeWrapper(mode), 176 public void onDestroyActionMode(androidx.appcompat.view.ActionMode mode) { argument 177 mWrappedCallback.onDestroyActionMode(getActionModeWrapper(mode)); 189 public ActionMode getActionModeWrapper(androidx.appcompat.view.ActionMode mode) { argument 190 // First see if we already have a wrapper for this mode [all...] |
H A D | WindowCallbackWrapper.java | 165 public void onActionModeStarted(ActionMode mode) { argument 166 mWrapped.onActionModeStarted(mode); 170 public void onActionModeFinished(ActionMode mode) { argument 171 mWrapped.onActionModeFinished(mode);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActionBarContextView.java | 160 public void initForMode(final ActionMode mode) { argument 173 mode.finish(); 177 final MenuBuilder menu = (MenuBuilder) mode.getMenu(); 360 // Action mode started
|
H A D | AppCompatDrawableManager.java | 105 * using the default mode using a raw color filter. 146 * using the {@link android.graphics.PorterDuff.Mode#MULTIPLY} mode and a color filter. 269 // If there is a blending mode specified for the drawable, use it 512 PorterDuff.Mode mode = null; 515 mode = PorterDuff.Mode.MULTIPLY; 518 return mode; 677 PorterDuffColorFilter get(int color, PorterDuff.Mode mode) { argument 678 return get(generateCacheKey(color, mode)); 681 PorterDuffColorFilter put(int color, PorterDuff.Mode mode, PorterDuffColorFilter filter) { argument 682 return put(generateCacheKey(color, mode), filte 685 generateCacheKey(int color, PorterDuff.Mode mode) argument 725 getPorterDuffColorFilter(int color, PorterDuff.Mode mode) argument 738 setPorterDuffColorFilter(Drawable d, int color, PorterDuff.Mode mode) argument [all...] |