Searched refs:previewWidthInAppsCustomize (Results 1 – 2 of 2) sorted by relevance
653 int previewWidthInAppsCustomize = Math.min(previewSizeBeforeScale[0], in beginDraggingWidget() local655 scale = previewWidthInAppsCustomize / (float) preview.getWidth(); in beginDraggingWidget()659 if (previewWidthInAppsCustomize < previewDrawable.getIntrinsicWidth()) { in beginDraggingWidget()661 (previewDrawable.getIntrinsicWidth() - previewWidthInAppsCustomize) / 2; in beginDraggingWidget()
734 int previewWidthInAppsCustomize = Math.min(previewSizeBeforeScale[0], in beginDraggingWidget() local736 scale = previewWidthInAppsCustomize / (float) preview.getWidth(); in beginDraggingWidget()740 if (previewWidthInAppsCustomize < previewDrawable.getIntrinsicWidth()) { in beginDraggingWidget()742 (previewDrawable.getIntrinsicWidth() - previewWidthInAppsCustomize) / 2; in beginDraggingWidget()