OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:previewBitmapWidth
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Launcher3/src/com/android/launcher3/widget/
PendingItemDragHelper.java
66
* @param
previewBitmapWidth
The actual width of the bitmap displayed in the view.
70
public void startDrag(Rect previewBounds, int
previewBitmapWidth
, int previewViewWidth,
85
int maxWidth = Math.min((int) (
previewBitmapWidth
* MAX_WIDGET_SCALE), mEstimatedCellSize[0]);
98
if (previewSizeBeforeScale[0] <
previewBitmapWidth
) {
100
int padding = (
previewBitmapWidth
- previewSizeBeforeScale[0]) / 2;
101
if (
previewBitmapWidth
> previewViewWidth) {
102
padding = padding * previewViewWidth /
previewBitmapWidth
;
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
BaseItemDragListener.java
68
public BaseItemDragListener(Rect previewRect, int
previewBitmapWidth
, int previewViewWidth) {
70
mPreviewBitmapWidth =
previewBitmapWidth
;
PinItemDragListener.java
53
int
previewBitmapWidth
, int previewViewWidth) {
54
super(previewRect,
previewBitmapWidth
, previewViewWidth);
/packages/apps/Launcher2/src/com/android/launcher2/
WidgetPreviewLoader.java
583
final int
previewBitmapWidth
= preview.getWidth();
590
final int badgeLeft =
previewBitmapWidth
- mProfileBadgeSize - mProfileBadgeMargin;
Completed in 107 milliseconds