Searched refs:xOffSet (Results 1 – 2 of 2) sorted by relevance
415 int xOffSet = options.preDragCondition.getDragOffset().x; in beginDragShared() local417 if (xOffSet != 0 && yOffSet != 0) { in beginDragShared()418 dragLayerX += xOffSet; in beginDragShared()
1185 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()