Searched refs:TouchTargetEnforcer (Results 1 – 4 of 4) sorted by relevance
30 public class TouchTargetEnforcer { class45 public TouchTargetEnforcer(float density) { in TouchTargetEnforcer() method in TouchTargetEnforcer55 TouchTargetEnforcer(float density, TouchDelegateProvider touchDelegateProvider) { in TouchTargetEnforcer() method in TouchTargetEnforcer
30 import com.android.managedprovisioning.common.TouchTargetEnforcer;41 private final TouchTargetEnforcer mTouchTargetEnforcer;50 new TouchTargetEnforcer(activity.getResources().getDisplayMetrics().density); in PrimaryConsentUiHelper()
45 import com.android.managedprovisioning.common.TouchTargetEnforcer;70 private final TouchTargetEnforcer mTouchTargetEnforcer;82 new TouchTargetEnforcer(activity.getResources().getDisplayMetrics().density); in LegacyConsentUiHelper()
50 private TouchTargetEnforcer mEnforcer;61 mEdgeValue = Math.round(TouchTargetEnforcer.MIN_TARGET_DP * SAMPLE_DENSITY); in setUp()63 mEnforcer = new TouchTargetEnforcer(SAMPLE_DENSITY, (bounds, target) -> { in setUp()