Home
last modified time | relevance | path

Searched refs:canvasHeight (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp36 static bool isFullFrame(const WebPIterator& frame, int canvasWidth, int canvasHeight) { in isFullFrame() argument
37 return (frame.width == canvasWidth && frame.height == canvasHeight); in isFullFrame()
54 const int canvasHeight = getHeight(); in constructDependencyChain() local
69 isFullFrame(curr, canvasWidth, canvasHeight)) { in constructDependencyChain()
73 (isFullFrame(prev, canvasWidth, canvasHeight) || mIsKeyFrame[i - 1]); in constructDependencyChain()
196 const int canvasHeight = mFrameSequence.getHeight(); in FrameSequenceState_webp() local
197 mPreservedBuffer = new Color8888[canvasWidth * canvasHeight]; in FrameSequenceState_webp()
207 const int canvasHeight = mFrameSequence.getHeight(); in initializeFrame() local
211 for (int y = 0; y < canvasHeight; y++) { in initializeFrame()
247 const int canvasHeight = mFrameSequence.getHeight(); in decodeFrame() local
[all …]
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DTaskThumbnailView.java436 int canvasWidth, int canvasHeight, DeviceProfile dp, int currentRotation, in updateThumbnailMatrix() argument
467 if (canvasWidth == 0 || canvasHeight == 0 || scale == 0) { in updateThumbnailMatrix()
482 float canvasAspect = canvasWidth / (float) canvasHeight; in updateThumbnailMatrix()
516 targetW = canvasHeight; in updateThumbnailMatrix()
520 targetH = canvasHeight; in updateThumbnailMatrix()
606 heightWithInsets - mClippedInsets.top - canvasHeight); in updateThumbnailMatrix()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DSpline.java240 public void draw(Canvas canvas, int color, int canvasWidth, int canvasHeight, in draw() argument
243 float h = canvasHeight - mCurveHandleSize; in draw()
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1084 public static void getNavigationBarRect(int canvasWidth, int canvasHeight, Rect systemBarInsets, in getNavigationBarRect() argument
1091 outRect.set(canvasWidth - size, 0, canvasWidth, canvasHeight); in getNavigationBarRect()
1093 outRect.set(0, 0, size, canvasHeight); in getNavigationBarRect()
1095 outRect.set(0, canvasHeight - size, canvasWidth, canvasHeight); in getNavigationBarRect()