Home
last modified time | relevance | path

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

/aosp12/packages/apps/DeskClock/src/com/android/deskclock/
H A DMoveScreensaverRunnable.kt88 val newX = getRandomPoint(smallestDim - mSaverView.width.toFloat())
89 val newY = getRandomPoint(smallestDim - mSaverView.height.toFloat())
99 val newX = getRandomPoint(mContentView.width - mSaverView.width.toFloat())
100 val newY = getRandomPoint(mContentView.height - mSaverView.height.toFloat())
137 private fun getRandomPoint(maximum: Float): Float { regex