Home
last modified time | relevance | path

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

12

/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp189 …meSequenceState_gif::savePreserveBuffer(Color8888* outputPtr, int outputPixelStride, int frameNr) { in savePreserveBuffer() argument
190 if (frameNr == mPreserveBufferFrame) return; in savePreserveBuffer()
192 mPreserveBufferFrame = frameNr; in savePreserveBuffer()
219 long FrameSequenceState_gif::drawFrame(int frameNr, in drawFrame() argument
230 this, frameNr, outputPtr, previousFrameNr); in drawFrame()
240 for (int i = max(start - 1, 0); i < frameNr; i++) { in drawFrame()
251 for (int i = start; i <= frameNr; i++) { in drawFrame()
258 frameNr, i, frameOpaque, gcb.DisposalMode, gcb.DelayTime); in drawFrame()
306 if (i == frameNr || !willBeCleared) { in drawFrame()
330 const int lastFrame = (frameNr + maxFrame - 1) % maxFrame; in drawFrame()
DFrameSequence_webp.h71 bool isKeyFrame(size_t frameNr) const { return mIsKeyFrame[frameNr]; } in isKeyFrame() argument
92 virtual long drawFrame(int frameNr,
DFrameSequence_webp.cpp291 long FrameSequenceState_webp::drawFrame(int frameNr, in drawFrame() argument
297 ALOGD(" drawFrame called for frame# %d, previous frame# %d", frameNr, previousFrameNr); in drawFrame()
305 int earliestRequired = frameNr; in drawFrame()
320 Color8888* prevBuffer = (frameNr == 0) ? outputPtr : mPreservedBuffer; in drawFrame()
321 int prevStride = (frameNr == 0) ? outputPixelStride : canvasWidth; in drawFrame()
325 for (int i = start; i <= frameNr; i++) { in drawFrame()
351 if (i == frameNr || !willBeCleared(currIter)) { in drawFrame()
365 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);
/frameworks/base/libs/hwui/tests/common/scenes/
DBitmapFillrate.cpp47 void doFrame(int frameNr) override { in doFrame() argument
49 mNodes[ci]->mutateStagingProperties().setTranslationX(frameNr % 200); in doFrame()
50 mNodes[ci]->mutateStagingProperties().setTranslationY(frameNr % 200); in doFrame()
DJankyScene.cpp41 void doFrame(int frameNr) override { in doFrame() argument
42 int curFrame = frameNr % 150; in doFrame()
DHwLayerSizeAnimation.cpp39 void doFrame(int frameNr) override { in doFrame() argument
40 int curFrame = frameNr % 150; in doFrame()
DHwLayerAnimation.cpp38 void doFrame(int frameNr) override { in doFrame() argument
39 int curFrame = frameNr % 150; in doFrame()
DOvalAnimation.cpp39 void doFrame(int frameNr) override { in doFrame() argument
40 int curFrame = frameNr % 150; in doFrame()
DGlyphStressAnimation.cpp42 void doFrame(int frameNr) override { in doFrame() argument
54 paint.getSkFont().setSize(10 + (frameNr % 20) + i * 20); in doFrame()
DRectGridAnimation.cpp52 void doFrame(int frameNr) override { in doFrame() argument
53 int curFrame = frameNr % 150; in doFrame()
DTextAnimation.cpp50 void doFrame(int frameNr) override { in doFrame() argument
51 int curFrame = frameNr % 150; in doFrame()
DPartialDamageAnimation.cpp51 void doFrame(int frameNr) override { in doFrame() argument
52 int curFrame = frameNr % 150; in doFrame()
DClippingAnimation.cpp59 void doFrame(int frameNr) override { in doFrame() argument
60 int curFrame = frameNr % 150; in doFrame()
DSaveLayerAnimation.cpp58 void doFrame(int frameNr) override { in doFrame() argument
59 int curFrame = frameNr % 150; in doFrame()
DShadowShaderAnimation.cpp44 void doFrame(int frameNr) override { in doFrame() argument
45 int curFrame = frameNr % 10; in doFrame()
DShadowGridAnimation.cpp44 void doFrame(int frameNr) override { in doFrame() argument
45 int curFrame = frameNr % 150; in doFrame()
DShadowGrid2Animation.cpp44 void doFrame(int frameNr) override { in doFrame() argument
45 int curFrame = frameNr % 150; in doFrame()
DSimpleGradientAnimation.cpp38 void doFrame(int frameNr) override { in doFrame() argument
39 int curFrame = frameNr % 20; in doFrame()
DRoundRectClippingAnimation.cpp50 void doFrame(int frameNr) override { in doFrame() argument
51 int curFrame = frameNr % 50; in doFrame()
DMagnifierAnimation.cpp64 void doFrame(int frameNr) override { in doFrame() argument
65 int curFrame = frameNr % 150; in doFrame()
DSimpleColorMatrixAnimation.cpp41 void doFrame(int frameNr) override { in doFrame() argument
42 int curFrame = frameNr % 20; in doFrame()
DOpPropAnimation.cpp64 void doFrame(int frameNr) override { in doFrame() argument
65 float value = (abs((frameNr % 200) - 100)) / 100.0f; in doFrame()
/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/
DTestListViewSceneBase.cpp54 void TestListViewSceneBase::doFrame(int frameNr) { in doFrame() argument
55 int scrollPx = dp(frameNr) * 3; in doFrame()

12