Searched refs:dt (Results 1 – 22 of 22) sorted by relevance
33 fun update(sim: Simulator, dt: Float)59 if (dt <= 0) return62 val vscaled = velocity * dt73 if (dt <= 0) return74 velocity = (pos - opos) / dt80 fun solve(sim: Simulator, dt: Float)113 var dt: Float = 0f145 this.now += dt152 updateAll(dt, localEntities)155 solveAll(dt, localConstraints)[all …]
77 super.update(sim, dt)84 super.postUpdate(sim, dt)119 anim += dt266 ) * dt270 super.updateAll(dt, entities)357 super.solveAll(dt, constraints)361 super.postUpdateAll(dt, entities)401 super.update(sim, dt)402 lifetime -= dt478 super.update(sim, dt)[all …]
208 double dt = getTimeMillis() - t1; in runMemoryBandwidthTest() local209 dt /= 1000; in runMemoryBandwidthTest()211 double bw = ((double)size) * mMemLoopCount / dt; in runMemoryBandwidthTest()215 if (dt > targetTime) { in runMemoryBandwidthTest()216 mMemLoopCount = (size_t)((double)mMemLoopCount / (dt / targetTime)); in runMemoryBandwidthTest()268 double dt = getTimeNanos() - t1; in runMemoryLatencyTest() local269 double dts = dt / 1000000000; in runMemoryLatencyTest()270 double lat = dt / (loops * mMemLoopCount); in runMemoryLatencyTest()362 double dt = getTimeNanos() - t1; in runGFlopsTest() local364 dt /= 1000.f * 1000.f * 1000.f; in runGFlopsTest()[all …]
143 double dt = t2 - t1; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest() local144 dt /= 1000 * 1000 * 1000; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()145 double bw = ((double)subtest) * count / dt; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest()
56 double dt = ((double) (now - mLastEventTime)) / 1000.0; in getInterarrivalEstimate() local57 dt = Math.max(dt, MINIMUM_DT); in getInterarrivalEstimate()59 return (RATE_ALPHA * mInterarrivalTime + (1.0 - RATE_ALPHA) * dt); in getInterarrivalEstimate()
1085 if ((dt != DataType.UNSIGNED_5_6_5) && in Element()1089 mSize = dt.mSize * 4; in Element()1091 mSize = dt.mSize * size; in Element()1094 mSize = dt.mSize; in Element()1096 mType = dt; in Element()1118 if(dt.mID == dataBuffer[0]){ in updateFromNative()1119 mType = dt; in updateFromNative()1183 switch (dt) { in createVector()1232 if (!(dt == DataType.UNSIGNED_8 || in createPixel()1233 dt == DataType.UNSIGNED_16 || in createPixel()[all …]
1474 Element.DataType dt, int arrayLen) { in copy2DRangeFromUnchecked() argument1482 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked()1495 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local1759 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked()1772 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local1861 private void copyTo(Object array, Element.DataType dt, int arrayLen) { in copyTo() argument1870 if (dt.mSize * arrayLen < mSize / 4 * 3) { in copyTo()1875 if (dt.mSize * arrayLen < mSize) { in copyTo()2393 Element.DataType dt, int arrayLen) { in copy2DRangeToUnchecked() argument2401 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked()[all …]
546 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding); in nAllocationData1D()576 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D() argument579 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D() argument610 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D() argument617 dt.mID, mSize, usePadding); in nAllocationData3D()623 rsnAllocationRead(mContext, id, d, dt.mID, mSize, usePadding); in nAllocationRead()627 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D() argument631 rsnAllocationRead1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding); in nAllocationRead1D()643 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationRead2D() argument646 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationRead2D() argument[all …]
84 long dt = secondFinalEvent.getEventTime() - firstFinalEvent.getEventTime(); in isDoubleTap() local86 if (dt > mDoubleTapTimeMs) { in isDoubleTap()87 reason.append("Time between taps too large: ").append(dt).append("ms"); in isDoubleTap()
98 long dt = (now - mLastPokeTime); in getSize() local99 if (dt > mHold + mDecay) { in getSize()101 } else if (dt < mHold) { in getSize()104 return (int) lerp(mSizeMax, mSizeMin, (float) (dt - mHold) / mDecay); in getSize()
102 long dt = (now - mLastPokeTime); in getSize() local103 if (dt > mHold + mDecay) in getSize()105 if (dt < mHold) in getSize()107 return (int) lerp(mSizeMax, mSizeMin, (float) (dt - mHold) / mDecay); in getSize()
70 Dot14 dt = Dot14_HALF; in SkUnitCubicInterp() local72 dt >>= 1; in SkUnitCubicInterp()75 t -= dt; in SkUnitCubicInterp()77 t += dt; in SkUnitCubicInterp()
160 private long postEvents(long start, long dt, int num) { in postEvents() argument164 time += dt; in postEvents()
253 private int clampApplyScroll(int tmpDt, int dt) { in clampApplyScroll() argument255 tmpDt -= dt; in clampApplyScroll()
1360 private void recycleViewsFromStart(RecyclerView.Recycler recycler, int dt) { in recycleViewsFromStart() argument1361 if (dt < 0) { in recycleViewsFromStart()1369 final int limit = dt; in recycleViewsFromStart()1405 private void recycleViewsFromEnd(RecyclerView.Recycler recycler, int dt) { in recycleViewsFromEnd() argument1407 if (dt < 0) { in recycleViewsFromEnd()1414 final int limit = mOrientationHelper.getEnd() - dt; in recycleViewsFromEnd()
269 float dt = duration / (float)steps; in drag() local276 long time = startime + (int) (i * dt); in drag()
498 public void update(long dt) { in update() argument499 mDt = dt; in update()
507 LocalDateTime dt = LocalDateTime.ofEpochSecond(config.getLastModifiedTimeMillis(), 0, in status() local509 writer.println("Last Modified Date: " + dt.format(DateTimeFormatter.ISO_DATE_TIME)); in status()
1942 final int dt = displayFrame.top; in configInsetsState() local1955 .setFrame(dl, dt, sl, db); in configInsetsState()1957 if (st > dt) { in configInsetsState()1959 .setFrame(dl, dt, dr, st); in configInsetsState()1963 .setFrame(sr, dt, dr, db); in configInsetsState()
2 …26\337=\252d\203\007\245I\345\200*6^i\276V{S\01484\345\213\332\245HI=*\342[dt\251\222\320\223\322\…
Error! Your browser does not support the video tag. There was an error! Java heap space java.lang.OutOfMemoryError: Java heap space
Java heap space
java.lang.OutOfMemoryError: Java heap space