Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2008 int bmpWidth = v.getMeasuredWidth(); in onExternalDragStartedWithItem() local
2015 bmpWidth = bounds.width(); in onExternalDragStartedWithItem()
2020 Bitmap b = Bitmap.createBitmap(bmpWidth, bmpHeight, in onExternalDragStartedWithItem()
2382 final int bmpWidth = b.getWidth(); in beginDragShared() local
2386 int dragLayerX = Math.round(mTempXY[0] - (bmpWidth - scale * child.getWidth()) / 2); in beginDragShared()
2397 int left = (bmpWidth - iconSize) / 2; in beginDragShared()
2408 dragLayerX = Math.round(mTempXY[0] + relativeTouchPos.x - (bmpWidth / 2)); in beginDragShared()
2466 int bmpWidth = tmpB.getWidth(); in beginExternalDragShared() local
2467 float iconScale = (float) bmpWidth / iconSize; in beginExternalDragShared()
2469 int dragLayerX = Math.round(mTempXY[0] - (bmpWidth - scale * child.getWidth()) / 2); in beginExternalDragShared()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java1903 final int bmpWidth = b.getWidth();
1908 Math.round(mTempXY[0] - (bmpWidth - scale * child.getWidth()) / 2);
1919 int left = (bmpWidth - iconSize) / 2;