Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 4 of 4) sorted by relevance

/development/tools/winscope/src/mixins/
DTimeline.js175 for (let curr=0; curr<transitions.length; curr++) {
178 for (let prev=0; prev<curr; prev++) {
181 if (this.isSimultaneousTransition(transitions[curr], transitions[prev])) {
182 transitions[curr].overlap++;
188 if (transitions[curr].overlap === Math.max(...overlapStore)) {
190 return transition.overlap===transitions[curr].overlap;
192 if (this.isSimultaneousTransition(transitions[curr], previousTransition)) {
193 transitions[curr].overlap++;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorFilters.java48 private static void addToTheRight(Drawable curr, Drawable prev) { in addToTheRight() argument
52 int h = curr.getIntrinsicHeight(); in addToTheRight()
55 curr.setBounds(x, y, x + curr.getIntrinsicWidth(), y + h); in addToTheRight()
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java282 Particle curr = mBalls[i]; in update() local
285 float dx = ball.mPosX - curr.mPosX; in update()
286 float dy = ball.mPosY - curr.mPosY; in update()
300 curr.mPosX -= dx * c; in update()
301 curr.mPosY -= dy * c; in update()
311 curr.resolveCollisionWithBounds(); in update()
/development/tools/winscope/src/
Dtransform.js411 const closestTimestamp = timeline.reduce((prev, curr) => {
412 return Math.abs(curr-roundedTimestamp) < Math.abs(prev-roundedTimestamp) ? curr : prev;