Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DAppsCustomizePagedView.java653 int previewWidthInAppsCustomize = Math.min(previewSizeBeforeScale[0], in beginDraggingWidget() local
655 scale = previewWidthInAppsCustomize / (float) preview.getWidth(); in beginDraggingWidget()
659 if (previewWidthInAppsCustomize < previewDrawable.getIntrinsicWidth()) { in beginDraggingWidget()
661 (previewDrawable.getIntrinsicWidth() - previewWidthInAppsCustomize) / 2; in beginDraggingWidget()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java734 int previewWidthInAppsCustomize = Math.min(previewSizeBeforeScale[0], in beginDraggingWidget() local
736 scale = previewWidthInAppsCustomize / (float) preview.getWidth(); in beginDraggingWidget()
740 if (previewWidthInAppsCustomize < previewDrawable.getIntrinsicWidth()) { in beginDraggingWidget()
742 (previewDrawable.getIntrinsicWidth() - previewWidthInAppsCustomize) / 2; in beginDraggingWidget()