Java Code Examples for androidx.core.graphics.drawable.DrawableCompat#setAutoMirrored()
The following examples show how to use
androidx.core.graphics.drawable.DrawableCompat#setAutoMirrored() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DrawableContainerCompat.java From MaterialProgressBar with Apache License 2.0 | 5 votes |
@Override public void setAutoMirrored(boolean mirrored) { if (mDrawableContainerState.mAutoMirrored != mirrored) { mDrawableContainerState.mAutoMirrored = mirrored; if (mCurrDrawable != null) { DrawableCompat.setAutoMirrored(mCurrDrawable, mDrawableContainerState.mAutoMirrored); } } }
Example 2
Source File: DrawableWrapper.java From MHViewer with Apache License 2.0 | 4 votes |
public void setAutoMirrored(boolean mirrored) { DrawableCompat.setAutoMirrored(this.mDrawable, mirrored); }
Example 3
Source File: ComparableDrawableWrapper.java From litho with Apache License 2.0 | 4 votes |
@Override public void setAutoMirrored(boolean mirrored) { DrawableCompat.setAutoMirrored(mDrawable, mirrored); }
Example 4
Source File: DrawableWrapper.java From MaterialPreference with Apache License 2.0 | 4 votes |
@Override public void setAutoMirrored(boolean mirrored) { DrawableCompat.setAutoMirrored(mDrawable, mirrored); }
Example 5
Source File: PaddingDrawable.java From material with Apache License 2.0 | 4 votes |
@Override public void setAutoMirrored(boolean mirrored) { if(mDrawable != null) DrawableCompat.setAutoMirrored(mDrawable, mirrored); }
Example 6
Source File: DrawableWrapper.java From EhViewer with Apache License 2.0 | 4 votes |
public void setAutoMirrored(boolean mirrored) { DrawableCompat.setAutoMirrored(this.mDrawable, mirrored); }