Home
last modified time | relevance | path

Searched refs:frameNr (Results 1 – 22 of 22) sorted by relevance

/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp187 …meSequenceState_gif::savePreserveBuffer(Color8888* outputPtr, int outputPixelStride, int frameNr) { in savePreserveBuffer() argument
188 if (frameNr == mPreserveBufferFrame) return; in savePreserveBuffer()
190 mPreserveBufferFrame = frameNr; in savePreserveBuffer()
217 long FrameSequenceState_gif::drawFrame(int frameNr, in drawFrame() argument
228 this, frameNr, outputPtr, previousFrameNr); in drawFrame()
238 for (int i = max(start - 1, 0); i < frameNr; i++) { in drawFrame()
249 for (int i = start; i <= frameNr; i++) { in drawFrame()
256 frameNr, i, frameOpaque, gcb.DisposalMode, gcb.DelayTime); in drawFrame()
304 if (i == frameNr || !willBeCleared) { in drawFrame()
329 const int lastFrame = (frameNr + maxFrame - 1) % maxFrame; in drawFrame()
DFrameSequence_webp.h62 bool isKeyFrame(size_t frameNr) const { return mIsKeyFrame[frameNr]; } in isKeyFrame() argument
83 virtual long drawFrame(int frameNr,
DFrameSequence_webp.cpp279 long FrameSequenceState_webp::drawFrame(int frameNr, in drawFrame() argument
285 ALOGD(" drawFrame called for frame# %d, previous frame# %d", frameNr, previousFrameNr); in drawFrame()
293 int earliestRequired = frameNr; in drawFrame()
308 Color8888* prevBuffer = (frameNr == 0) ? outputPtr : mPreservedBuffer; in drawFrame()
309 int prevStride = (frameNr == 0) ? outputPixelStride : canvasWidth; in drawFrame()
313 for (int i = start; i <= frameNr; i++) { in drawFrame()
339 if (i == frameNr || !willBeCleared(currIter)) { in drawFrame()
353 const int lastFrame = (frameNr + frameCount - 1) % frameCount; in drawFrame()
DFrameSequence_gif.h81 virtual long drawFrame(int frameNr,
85 void savePreserveBuffer(Color8888* outputPtr, int outputPixelStride, int frameNr);
DFrameSequenceJNI.cpp112 JNIEnv* env, jobject clazz, jlong frameSequenceStateLong, jint frameNr, in nativeGetFrame() argument
133 jlong delayMs = frameSequenceState->drawFrame(frameNr, in nativeGetFrame()
DFrameSequence.h32 virtual long drawFrame(int frameNr,
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequence.java48 private static native long nativeGetFrame(long nativeState, int frameNr, in nativeGetFrame() argument
141 public long getFrame(int frameNr, Bitmap output, int previousFrameNr) { in getFrame() argument
148 return nativeGetFrame(mNativeState, frameNr, output, previousFrameNr); in getFrame()
/frameworks/base/libs/hwui/tests/common/scenes/
DHwLayerAnimation.cpp40 void doFrame(int frameNr) override { in doFrame() argument
41 int curFrame = frameNr % 150; in doFrame()
DOvalAnimation.cpp43 void doFrame(int frameNr) override { in doFrame() argument
44 int curFrame = frameNr % 150; in doFrame()
DRectGridAnimation.cpp55 void doFrame(int frameNr) override { in doFrame() argument
56 int curFrame = frameNr % 150; in doFrame()
DTextAnimation.cpp54 void doFrame(int frameNr) override { in doFrame() argument
55 int curFrame = frameNr % 150; in doFrame()
DGlyphStressAnimation.cpp44 void doFrame(int frameNr) override { in doFrame() argument
57 paint.setTextSize(10 + (frameNr % 20) + i * 20); in doFrame()
DClippingAnimation.cpp61 void doFrame(int frameNr) override { in doFrame() argument
62 int curFrame = frameNr % 150; in doFrame()
DSaveLayerAnimation.cpp59 void doFrame(int frameNr) override { in doFrame() argument
60 int curFrame = frameNr % 150; in doFrame()
DPartialDamageAnimation.cpp55 void doFrame(int frameNr) override { in doFrame() argument
56 int curFrame = frameNr % 150; in doFrame()
DShadowGrid2Animation.cpp45 void doFrame(int frameNr) override { in doFrame() argument
46 int curFrame = frameNr % 150; in doFrame()
DShadowGridAnimation.cpp45 void doFrame(int frameNr) override { in doFrame() argument
46 int curFrame = frameNr % 150; in doFrame()
DOpPropAnimation.cpp65 void doFrame(int frameNr) override { in doFrame() argument
66 float value = (abs((frameNr % 200) - 100)) / 100.0f; in doFrame()
DRecentsAnimation.cpp60 void doFrame(int frameNr) override { in doFrame() argument
61 int curFrame = frameNr % 150; in doFrame()
DShapeAnimation.cpp101 void doFrame(int frameNr) override { in doFrame() argument
102 card->mutateStagingProperties().setTranslationY(frameNr % 150); in doFrame()
DListViewAnimation.cpp60 void doFrame(int frameNr) override { in doFrame() argument
61 int scrollPx = dp(frameNr) * 3; in doFrame()
/frameworks/base/libs/hwui/tests/common/
DTestScene.h69 virtual void doFrame(int frameNr) = 0;