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 | 40 memcpy(&mOpticalInsets, data, sizeof(int32_t) * 4); in readChunk()
|
D | BitmapFactory.cpp | 495 peeker.mOpticalInsets[0], peeker.mOpticalInsets[1], in doDecode() 496 peeker.mOpticalInsets[2], peeker.mOpticalInsets[3], in doDecode()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 76 private Insets mOpticalInsets = Insets.NONE; field in NinePatchDrawable 306 final Insets opticalInsets = mOpticalInsets; in getOpticalInsets() 455 state.mOpticalInsets = Insets.of(opticalInsets); in updateStateFromTypedArray() 591 Insets mOpticalInsets = Insets.NONE; field in NinePatchDrawable.NinePatchState 615 mOpticalInsets = Insets.of(opticalInsets); in NinePatchState() 626 mOpticalInsets = orig.mOpticalInsets; in NinePatchState() 666 final Insets sourceOpticalInsets = mNinePatchState.mOpticalInsets; in computeBitmapSize() 676 mOpticalInsets = Insets.of(left, top, right, bottom); in computeBitmapSize() 678 mOpticalInsets = Insets.NONE; in computeBitmapSize()
|
D | GradientDrawable.java | 1312 R.styleable.GradientDrawable_opticalInsetLeft, state.mOpticalInsets.left); 1314 R.styleable.GradientDrawable_opticalInsetTop, state.mOpticalInsets.top); 1316 R.styleable.GradientDrawable_opticalInsetRight, state.mOpticalInsets.right); 1318 R.styleable.GradientDrawable_opticalInsetBottom, state.mOpticalInsets.bottom); 1319 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); 1685 return mGradientState.mOpticalInsets; 1800 public Insets mOpticalInsets = Insets.NONE; 1861 mOpticalInsets = orig.mOpticalInsets; 1913 if (mOpticalInsets != Insets.NONE) { 1915 mOpticalInsets.left, sourceDensity, targetDensity, true); [all …]
|
D | VectorDrawable.java | 481 final Insets opticalInsets = mVectorState.mOpticalInsets; in computeVectorSize() 692 R.styleable.VectorDrawable_opticalInsetLeft, state.mOpticalInsets.left); in updateStateFromTypedArray() 694 R.styleable.VectorDrawable_opticalInsetTop, state.mOpticalInsets.top); in updateStateFromTypedArray() 696 R.styleable.VectorDrawable_opticalInsetRight, state.mOpticalInsets.right); in updateStateFromTypedArray() 698 R.styleable.VectorDrawable_opticalInsetBottom, state.mOpticalInsets.bottom); in updateStateFromTypedArray() 699 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in updateStateFromTypedArray() 826 Insets mOpticalInsets = Insets.NONE; field in VectorDrawable.VectorDrawableState 886 mOpticalInsets = copy.mOpticalInsets; in VectorDrawableState() 1012 mOpticalInsets.left, sourceDensity, targetDensity, false); in applyDensityScaling() 1014 mOpticalInsets.top, sourceDensity, targetDensity, false); in applyDensityScaling() [all …]
|
D | BitmapDrawable.java | 102 private Insets mOpticalInsets = Insets.NONE; field in BitmapDrawable 605 mOpticalInsets = Insets.of(left, top, right, bottom); in updateDstRectAndInsetsIfDirty() 608 mOpticalInsets = Insets.NONE; in updateDstRectAndInsetsIfDirty() 620 return mOpticalInsets; in getOpticalInsets()
|