Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterTouchTarget.kt63 val currentTouchTargetWidth = hitRect.width() in configureSizeUsingWidthOnly() constant
64 if (currentTouchTargetWidth < minTouchTargetSize) { in configureSizeUsingWidthOnly()
66 val adjustInsetBy = (minTouchTargetSize - currentTouchTargetWidth) / 2 in configureSizeUsingWidthOnly()
87 val currentTouchTargetWidth = hitRect.width() in configureSizeUsingBothWidthAndHeight() constant
89 if (currentTouchTargetWidth < minTouchTargetSize) { in configureSizeUsingBothWidthAndHeight()
90 (minTouchTargetSize - currentTouchTargetWidth) / 2 in configureSizeUsingBothWidthAndHeight()