Searched refs:mOpticalInsets (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchPeeker.h | 35 memset(mOpticalInsets, 0, 4 * sizeof(int32_t)); in NinePatchPeeker() 48 int32_t mOpticalInsets[4]; variable
|
D | NinePatchPeeker.cpp | 41 memcpy(&mOpticalInsets, data, sizeof(int32_t) * 4); in readChunk()
|
D | BitmapFactory.cpp | 450 …peeker.mOpticalInsets[0], peeker.mOpticalInsets[1], peeker.mOpticalInsets[2], peeker.mOpticalInset… in doDecode()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 77 private Insets mOpticalInsets = Insets.NONE; field in NinePatchDrawable 307 final Insets opticalInsets = mOpticalInsets; in getOpticalInsets() 456 state.mOpticalInsets = Insets.of(opticalInsets); in updateStateFromTypedArray() 586 Insets mOpticalInsets = Insets.NONE; field in NinePatchDrawable.NinePatchState 610 mOpticalInsets = Insets.of(opticalInsets); in NinePatchState() 621 mOpticalInsets = orig.mOpticalInsets; in NinePatchState() 670 final Insets sourceOpticalInsets = mNinePatchState.mOpticalInsets; in computeBitmapSize() 680 mOpticalInsets = Insets.of(left, top, right, bottom); in computeBitmapSize() 682 mOpticalInsets = Insets.NONE; in computeBitmapSize()
|
D | VectorDrawable.java | 444 final Insets opticalInsets = mVectorState.mOpticalInsets; in computeVectorSize() 655 R.styleable.VectorDrawable_opticalInsetLeft, state.mOpticalInsets.left); in updateStateFromTypedArray() 657 R.styleable.VectorDrawable_opticalInsetTop, state.mOpticalInsets.top); in updateStateFromTypedArray() 659 R.styleable.VectorDrawable_opticalInsetRight, state.mOpticalInsets.right); in updateStateFromTypedArray() 661 R.styleable.VectorDrawable_opticalInsetBottom, state.mOpticalInsets.bottom); in updateStateFromTypedArray() 662 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in updateStateFromTypedArray() 778 Insets mOpticalInsets = Insets.NONE; field in VectorDrawable.VectorDrawableState 817 mOpticalInsets = copy.mOpticalInsets; in VectorDrawableState() 938 mOpticalInsets.left, sourceDensity, targetDensity, false); in applyDensityScaling() 940 mOpticalInsets.top, sourceDensity, targetDensity, false); in applyDensityScaling() [all …]
|
D | GradientDrawable.java | 1274 R.styleable.GradientDrawable_opticalInsetLeft, state.mOpticalInsets.left); 1276 R.styleable.GradientDrawable_opticalInsetTop, state.mOpticalInsets.top); 1278 R.styleable.GradientDrawable_opticalInsetRight, state.mOpticalInsets.right); 1280 R.styleable.GradientDrawable_opticalInsetBottom, state.mOpticalInsets.bottom); 1281 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); 1647 return mGradientState.mOpticalInsets; 1762 public Insets mOpticalInsets = Insets.NONE; 1823 mOpticalInsets = orig.mOpticalInsets; 1875 if (mOpticalInsets != Insets.NONE) { 1877 mOpticalInsets.left, sourceDensity, targetDensity, true); [all …]
|
D | BitmapDrawable.java | 101 private Insets mOpticalInsets = Insets.NONE; field in BitmapDrawable 588 mOpticalInsets = Insets.of(left, top, right, bottom); in updateDstRectAndInsetsIfDirty() 591 mOpticalInsets = Insets.NONE; in updateDstRectAndInsetsIfDirty() 603 return mOpticalInsets; in getOpticalInsets()
|