Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
H A DPhysics.kt33 fun update(sim: Simulator, dt: Float)
59 if (dt <= 0) return
62 val vscaled = velocity * dt
73 if (dt <= 0) return
74 velocity = (pos - opos) / dt
80 fun solve(sim: Simulator, dt: Float)
113 var dt: Float = 0f
145 this.now += dt
152 updateAll(dt, localEntities)
155 solveAll(dt, localConstraints)
[all …]
H A DUniverse.kt77 super.update(sim, dt)
84 super.postUpdate(sim, dt)
119 anim += dt
266 ) * dt
270 super.updateAll(dt, entities)
357 super.solveAll(dt, constraints)
361 super.postUpdateAll(dt, entities)
401 super.update(sim, dt)
402 lifetime -= dt
478 super.update(sim, dt)
[all …]
/aosp14/frameworks/base/tests/JankBench/app/src/main/jni/
H A DBench.cpp208 double dt = getTimeMillis() - t1; in runMemoryBandwidthTest() local
209 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() local
269 double dts = dt / 1000000000; in runMemoryLatencyTest()
270 double lat = dt / (loops * mMemLoopCount); in runMemoryLatencyTest()
362 double dt = getTimeNanos() - t1; in runGFlopsTest() local
364 dt /= 1000.f * 1000.f * 1000.f; in runGFlopsTest()
[all …]
H A Dtest.cpp143 double dt = t2 - t1; in Java_com_android_benchmark_synthetic_TestInterface_nMemoryTest() local
144 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()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DRateEstimator.java56 double dt = ((double) (now - mLastEventTime)) / 1000.0; in getInterarrivalEstimate() local
57 dt = Math.max(dt, MINIMUM_DT); in getInterarrivalEstimate()
59 return (RATE_ALPHA * mInterarrivalTime + (1.0 - RATE_ALPHA) * dt); in getInterarrivalEstimate()
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DElement.java1085 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 …]
H A DAllocation.java1474 Element.DataType dt, int arrayLen) { in copy2DRangeFromUnchecked() argument
1482 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked()
1495 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local
1759 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked()
1772 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local
1861 private void copyTo(Object array, Element.DataType dt, int arrayLen) { in copyTo() argument
1870 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() argument
2401 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked()
[all …]
H A DRenderScript.java546 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() argument
579 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D() argument
610 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D() argument
617 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() argument
631 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() argument
646 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationRead2D() argument
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DDoubleTapClassifier.java84 long dt = secondFinalEvent.getEventTime() - firstFinalEvent.getEventTime(); in isDoubleTap() local
86 if (dt > mDoubleTapTimeMs) { in isDoubleTap()
87 reason.append("Time between taps too large: ").append(dt).append("ms"); in isDoubleTap()
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/
H A DDeadZone.java98 long dt = (now - mLastPokeTime); in getSize() local
99 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DDeadZone.java102 long dt = (now - mLastPokeTime); in getSize() local
103 if (dt > mHold + mDecay) in getSize()
105 if (dt < mHold) in getSize()
107 return (int) lerp(mSizeMax, mSizeMin, (float) (dt - mHold) / mDecay); in getSize()
/aosp14/frameworks/base/libs/hwui/
H A DSkiaInterpolator.cpp70 Dot14 dt = Dot14_HALF; in SkUnitCubicInterp() local
72 dt >>= 1; in SkUnitCubicInterp()
75 t -= dt; in SkUnitCubicInterp()
77 t += dt; in SkUnitCubicInterp()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DRateEstimatorTest.java160 private long postEvents(long start, long dt, int num) { in postEvents() argument
164 time += dt; in postEvents()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLinearSmoothScroller.java253 private int clampApplyScroll(int tmpDt, int dt) { in clampApplyScroll() argument
255 tmpDt -= dt; in clampApplyScroll()
H A DLinearLayoutManager.java1360 private void recycleViewsFromStart(RecyclerView.Recycler recycler, int dt) { in recycleViewsFromStart() argument
1361 if (dt < 0) { in recycleViewsFromStart()
1369 final int limit = dt; in recycleViewsFromStart()
1405 private void recycleViewsFromEnd(RecyclerView.Recycler recycler, int dt) { in recycleViewsFromEnd() argument
1407 if (dt < 0) { in recycleViewsFromEnd()
1414 final int limit = mOrientationHelper.getEnd() - dt; in recycleViewsFromEnd()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java269 float dt = duration / (float)steps; in drag() local
276 long time = startime + (int) (i * dt); in drag()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java498 public void update(long dt) { in update() argument
499 mDt = dt; in update()
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/
H A DFontManagerShellCommand.java507 LocalDateTime dt = LocalDateTime.ofEpochSecond(config.getLastModifiedTimeMillis(), 0, in status() local
509 writer.println("Last Modified Date: " + dt.format(DateTimeFormatter.ISO_DATE_TIME)); in status()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskLaunchParamsModifierTests.java1942 final int dt = displayFrame.top; in configInsetsState() local
1955 .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()
/aosp14/frameworks/base/core/res/geoid_height_map_assets/
H A Dtile-b.textpb2 …26\337=\252d\203\007\245I\345\200*6^i\276V{S\01484\345\213\332\245HI=*\342[dt\251\222\320\223\322\…
/aosp14/frameworks/base/native/graphics/jni/fuzz/corpus/
H A Dsample_raf.raf Error!