Searched refs:DpUtil (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownMethod.java | 55 import com.android.dialer.common.DpUtil; 475 -clampedProgress * DpUtil.dpToPx(getContext(), SWIPE_TO_ANSWER_MAX_TRANSLATION_Y_DP)); in updateSwipeTextAndPuckForTouch() 479 -clampedProgress * DpUtil.dpToPx(getContext(), SWIPE_TO_REJECT_MAX_TRANSLATION_Y_DP)); in updateSwipeTextAndPuckForTouch() 600 DpUtil.dpToPx(getContext(), 192 /* dp */), in startSwipeToAnswerEntryAnimation() 601 DpUtil.dpToPx(getContext(), -20 /* dp */)); in startSwipeToAnswerEntryAnimation() 609 DpUtil.dpToPx(getContext(), -20) /* dp */, in startSwipeToAnswerEntryAnimation() 622 DpUtil.dpToPx(getContext(), HINT_REJECT_FADE_TRANSLATION_Y_DP), in startSwipeToAnswerEntryAnimation() 632 DpUtil.dpToPx(getContext(), 400 /* dp */), in startSwipeToAnswerEntryAnimation() 633 DpUtil.dpToPx(getContext(), -12 /* dp */)); in startSwipeToAnswerEntryAnimation() 643 DpUtil.dpToPx(getContext(), -12 /* dp */), in startSwipeToAnswerEntryAnimation() [all …]
|
D | FlingUpDownTouchHandler.java | 34 import com.android.dialer.common.DpUtil; 181 falsingThresholdPx = DpUtil.dpToPx(context, FALSING_THRESHOLD_DP); in FlingUpDownTouchHandler() 182 acceptThresholdPx = DpUtil.dpToPx(context, ACCEPT_THRESHOLD_DP); in FlingUpDownTouchHandler() 183 rejectThresholdPx = DpUtil.dpToPx(context, REJECT_THRESHOLD_DP); in FlingUpDownTouchHandler()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | SmsBottomSheetFragment.java | 36 import com.android.dialer.common.DpUtil; 103 int padding = (int) DpUtil.dpToPx(context, 16); in newTextViewItem()
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | DpUtil.java | 22 public class DpUtil { class
|