Home
last modified time | relevance | path

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

/frameworks/ex/framesequence/jni/
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()
217 copyFrame(prevBuffer, prevStride, currBuffer, currStride, canvasWidth, canvasHeight); in initializeFrame()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1085 public static void getNavigationBarRect(int canvasWidth, int canvasHeight, Rect systemBarInsets, in getNavigationBarRect() argument
1092 outRect.set(canvasWidth - size, 0, canvasWidth, canvasHeight); in getNavigationBarRect()
1094 outRect.set(0, 0, size, canvasHeight); in getNavigationBarRect()
1096 outRect.set(0, canvasHeight - size, canvasWidth, canvasHeight); in getNavigationBarRect()