Searched defs:bmp (Results 1 - 4 of 4) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DAccountAvatarDrawable.java86 if (mBitmap != null && mBitmap.bmp != null) {
88 drawBitmap(mBitmap.bmp, mBitmap.getLogicalWidth(), mBitmap.getLogicalHeight(), canvas);
178 private void setBitmap(final ReusableBitmap bmp) { argument
179 if (mBitmap != null && mBitmap != bmp) {
182 mBitmap = bmp;
H A DContactDrawable.java126 if (mBitmap != null && mBitmap.bmp != null) {
128 drawBitmap(mBitmap.bmp, mBitmap.getLogicalWidth(), mBitmap.getLogicalHeight(), canvas);
271 private void setBitmap(final ReusableBitmap bmp) { argument
272 if (mBitmap != null && mBitmap != bmp) {
275 mBitmap = bmp;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragController.java169 * @param bmp The bitmap that represents the view being dragged
177 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, argument
184 (int) ((initialDragViewScale * bmp.getWidth() - bmp.getWidth()) / 2);
186 (int) ((initialDragViewScale * bmp.getHeight() - bmp.getHeight()) / 2);
188 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null,
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDragController.java159 * @param bmp The bitmap that represents the view being dragged
167 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, argument
174 (int) ((initialDragViewScale * bmp.getWidth() - bmp.getWidth()) / 2);
176 (int) ((initialDragViewScale * bmp.getHeight() - bmp.getHeight()) / 2);
178 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null,

Completed in 82 milliseconds