Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java415 int xOffSet = options.preDragCondition.getDragOffset().x; in beginDragShared() local
417 if (xOffSet != 0 && yOffSet != 0) { in beginDragShared()
418 dragLayerX += xOffSet; in beginDragShared()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt1185 private fun switchViews(forward: Boolean, xOffSet: Float, width: Float, velocity: Float): View { in switchViews()
1186 mAnimationDistance = width - xOffSet in switchViews()
1188 Log.d(TAG, "switchViews($forward) O:$xOffSet Dist:$mAnimationDistance") in switchViews()
1190 var progress: Float = Math.abs(xOffSet) / width in switchViews()
1239 val duration = calculateDuration(width - Math.abs(xOffSet), width, velocity) in switchViews()