Home
last modified time | relevance | path

Searched refs:frameCount (Results 1 – 25 of 54) sorted by relevance

123

/external/replicaisland/src/com/replica/replicaisland/
DSpriteAnimation.java32 public SpriteAnimation(int animationId, int frameCount) { in SpriteAnimation() argument
34 mFrames = new FixedSizeArray<AnimationFrame>(frameCount); in SpriteAnimation()
35 mFrameStartTimes = new float[frameCount]; in SpriteAnimation()
47 final int frameCount = frames.getCount(); in getFrame() local
48 result = frames.get(frameCount - 1); in getFrame()
50 if (frameCount > 1) { in getFrame()
68 for (int x = 0; x < frameCount; x++) { in getFrame()
DUtils.java87 public final static float framesToTime(int framesPerSecond, int frameCount) { in framesToTime() argument
88 return (1.0f / framesPerSecond) * frameCount; in framesToTime()
/external/deqp/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp76 int frameCount; member
661 for (int frameNdx = 0; frameNdx < m_config.frameCount; frameNdx++) in render()
991 …red: : " << config.triangleCount * config.drawCallCount * config.frameCount * config.perThre… in logTestConfig()
994 …log << TestLog::Message << "Number of frames rendered with each context: " << config.frameCount in logTestConfig()
1098 basicConfig.frameCount = 10; in init()
1147 smallConfig.frameCount = 10; in init()
1150 smallConfig.frameCount *= 4; in init()
1159 bigConfig.frameCount = 10; in init()
1162 bigConfig.frameCount *= 4; in init()
1195 smallConfig.frameCount = 10; in init()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
DVisualSampleEntry.java68 private int frameCount = 1; field in VisualSampleEntry
95 return frameCount; in getFrameCount()
126 public void setFrameCount(int frameCount) { in setFrameCount() argument
127 this.frameCount = frameCount; in setFrameCount()
150 frameCount = IsoTypeReader.readUInt16(content); in _parseDetails()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DJDWPStackTraceBaseTest.java99 int frameCount = jdwpGetFrameCount(threadID); in findFrameInfo() local
100 logWriter.println("=> frames count = " + frameCount); in findFrameInfo()
103 FrameInfo[] frameIDs = jdwpGetFrames(threadID, 0, frameCount); in findFrameInfo()
104 if (frameIDs.length != frameCount) { in findFrameInfo()
107 + frameCount); in findFrameInfo()
112 for (int i = 0; i < frameCount; i++) { in findFrameInfo()
DThisObjectTest.java88 int frameCount = jdwpGetFrameCount(mainThread); in testThisObjectTest001() local
89 logWriter.println("==> frames count = " + frameCount); in testThisObjectTest001()
92 FrameInfo[] frameIDs = jdwpGetFrames(mainThread, 0, frameCount); in testThisObjectTest001()
94 assertEquals("Invalid number of frames,", frameCount, frameIDs.length); in testThisObjectTest001()
97 for (int i = 0; i < frameCount; i++) { in testThisObjectTest001()
DJDWPStackFrameAccessTest.java356 int frameCount = jdwpGetFrameCount(threadID); in getFrameInfo() local
359 assertTrue("Not enough frames", frameCount > 2); in getFrameInfo()
361 FrameInfo[] frames = jdwpGetFrames(threadID, 0, frameCount); in getFrameInfo()
/external/skia/src/utils/
DSkInterpolator.cpp26 void SkInterpolatorBase::reset(int elemCount, int frameCount) { in reset() argument
29 fFrameCount = SkToS16(frameCount); in reset()
136 SkInterpolator::SkInterpolator(int elemCount, int frameCount) { in SkInterpolator() argument
138 this->reset(elemCount, frameCount); in SkInterpolator()
141 void SkInterpolator::reset(int elemCount, int frameCount) { in reset() argument
142 INHERITED::reset(elemCount, frameCount); in reset()
144 sizeof(SkTimeCode)) * frameCount); in reset()
146 fValues = (SkScalar*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
/external/skia/src/animator/
DSkOperandIterpolator.cpp18 SkOperandInterpolator::SkOperandInterpolator(int elemCount, int frameCount, in SkOperandInterpolator() argument
21 this->reset(elemCount, frameCount, type); in SkOperandInterpolator()
24 void SkOperandInterpolator::reset(int elemCount, int frameCount, SkDisplayTypes type) in reset() argument
28 INHERITED::reset(elemCount, frameCount); in reset()
30 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); in reset()
32 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
DSkOperandInterpolator.h20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type);
23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFrameCountTest.java76 int frameCount = reply.getNextValueAsInt(); in testFrameCount001() local
77 logWriter.println("\tframe count = " + frameCount); in testFrameCount001()
79 if (frameCount != expectedCount) { in testFrameCount001()
80 printErrorAndFail("Unexpected frame count = " + frameCount in testFrameCount001()
DOwnedMonitorsStackDepthInfoTest.java104 int frameCount = jdwpGetFrameCount(testedThreadID); in testOwnedMonitorsStackDepthInfo() local
106 int[] expectedStackDepth = new int[] { frameCount - 4, frameCount - 4, frameCount - 2 }; in testOwnedMonitorsStackDepthInfo()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DMockSpdyPeer.java40 private int frameCount = 0; field in MockSpdyPeer
63 frameCount++; in acceptFrame()
72 public int frameCount() { in frameCount() method in MockSpdyPeer
73 return frameCount; in frameCount()
77 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), false)); in sendFrame()
86 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), false)); in sendFrame()
142 for (int i = 0; i < frameCount; i++) { in readAndWriteFrames()
/external/skia/include/utils/
DSkInterpolator.h26 void reset(int elemCount, int frameCount);
90 SkInterpolator(int elemCount, int frameCount);
91 void reset(int elemCount, int frameCount);
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifHeader.java15 int frameCount = 0; field in GifHeader
48 return frameCount; in getNumFrames()
DGifDecoder.java187 framePointer = (framePointer + 1) % header.frameCount; in advance()
198 if ((n >= 0) && (n < header.frameCount)) { in getDelay()
208 if (header.frameCount <= 0 || framePointer < 0) { in getNextDelay()
221 return header.frameCount; in getFrameCount()
252 if (header.frameCount <= 0 || framePointer < 0) { in getNextFrame()
254 …Log.d(TAG, "unable to decode frame, frameCount=" + header.frameCount + " framePointer=" + framePoi… in getNextFrame()
/external/proguard/src/proguard/preverify/
DCodePreverifier.java175 int frameCount = stackMapFrameList.size(); in visitCodeAttribute0() local
192 if (frameCount != originalFrameCount || in visitCodeAttribute0()
199 else if (frameCount != 0) in visitCodeAttribute0()
205 if (frameCount == 0) in visitCodeAttribute0()
218 FullFrame[] stackMapFrames = new FullFrame[frameCount]; in visitCodeAttribute0()
227 StackMapFrame[] stackMapFrames = new StackMapFrame[frameCount]; in visitCodeAttribute0()
/external/v8/test/mjsunit/es6/debug-promises/
Dreject-caught-by-default-reject-handler.js48 assertEquals(0, exec_state.frameCount());
52 assertEquals(0, exec_state.frameCount());
/external/v8/test/mjsunit/
Ddebug-evaluate-locals-optimized.js60 assertEquals(6, exec_state.frameCount());
62 for (var i = 0; i < exec_state.frameCount(); i++) {
64 if (i < exec_state.frameCount() - 1) {
Ddebug-evaluate-locals-optimized-double.js69 assertEquals(6, exec_state.frameCount());
71 for (var i = 0; i < exec_state.frameCount(); i++) {
73 if (i < exec_state.frameCount() - 1) {
Ddebug-step-stub-callfunction.js38 if (exec_state.frameCount() > 1) {
/external/v8/src/
Ddebug-debugger.js960 ExecutionState.prototype.frameCount = function() { method in ExecutionState
971 if (opt_index < 0 || opt_index >= this.frameCount()) {
979 if (i < 0 || i >= this.frameCount()) throw new Error('Illegal frame index.');
1131 if (this.exec_state_.frameCount() > 0) {
1810 var total_frames = this.exec_state_.frameCount();
1866 if (this.exec_state_.frameCount() == 0) {
1873 if (index < 0 || this.exec_state_.frameCount() <= index) {
1889 if (frame_index < 0 || this.exec_state_.frameCount() <= frame_index) {
1918 if (this.exec_state_.frameCount() == 0) {
2090 if (this.exec_state_.frameCount() == 0) {
[all …]
/external/v8/test/mjsunit/regress/
Dregress-crbug-259300.js38 for (var i = 0; i < exec_state.frameCount(); i++) {
Dregress-frame-details-null-receiver.js35 for (var i = 0; i < exec_state.frameCount(); i++) {
Dregress-109195.js32 for (var i = 0, n = exec_state.frameCount(); i < n; i++) {

123