Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt188 val newR = Math.max(1f, powf(adjustPressure(s.pressure), 2f).toFloat() * _brushWidth) in plot() constant
192 if (d > 1f && (r + newR) > 1f) { in plot()
193 val N = (2 * d / Math.min(4f, r + newR)).toInt() in plot()
197 val stepR = (newR - r) / N in plot()
207 c.drawCircle(s.x, s.y, newR, _drawPaint) in plot()
210 _lastR = newR in plot()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java121 int newR = 128 + deltaR & 0xFF; in assertImageSimilar() local
130 int newRGB = avgAlpha | newR << 16 | newG << 8 | newB; in assertImageSimilar()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootTaskTests.java1394 final ActivityRecord newR = new ActivityBuilder(mAtm).build(); in testResetTaskWithFinishingActivities() local
1395 final ActivityRecord result = task.resetTaskIfNeeded(taskTop, newR); in testResetTaskWithFinishingActivities()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java1669 ActivityRecord performClearTop(ActivityRecord newR, int launchFlags, int[] finishCount) { in performClearTop() argument
1676 result = clearTopActivities(newR, launchFlags, finishCount); in performClearTop()
1697 private ActivityRecord clearTopActivities(ActivityRecord newR, int launchFlags, in clearTopActivities() argument
1699 final ActivityRecord r = findActivityInHistory(newR.mActivityComponent, newR.mUserId); in clearTopActivities()