OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mBackgroundPadding
(Results
1 - 8
of
8
) sorted by null
/packages/apps/Launcher3/src/com/android/launcher3/
BaseRecyclerView.java
64
protected Rect
mBackgroundPadding
= new Rect();
169
mBackgroundPadding
.set(padding);
173
return
mBackgroundPadding
;
192
int visibleHeight = getHeight() -
mBackgroundPadding
.top -
mBackgroundPadding
.bottom;
203
int visibleHeight = getHeight() -
mBackgroundPadding
.top -
mBackgroundPadding
.bottom;
256
int scrollBarY =
mBackgroundPadding
.top +
262
scrollBarX =
mBackgroundPadding
.left;
264
scrollBarX = getWidth() -
mBackgroundPadding
.right - mScrollbar.getWidth()
[
all
...]
AppWidgetResizeFrame.java
36
private final int
mBackgroundPadding
;
132
mBackgroundPadding
= getResources()
134
mTouchTargetWidth = 2 *
mBackgroundPadding
;
398
int newWidth = mWidgetView.getWidth() + 2 *
mBackgroundPadding
400
int newHeight = mWidgetView.getHeight() + 2 *
mBackgroundPadding
407
int newX = mTmpPt[0] -
mBackgroundPadding
+ mWidgetPadding.left;
408
int newY = mTmpPt[1] -
mBackgroundPadding
+ mWidgetPadding.top;
/packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetsRecyclerView.java
84
canvas.clipRect(
mBackgroundPadding
.left,
mBackgroundPadding
.top,
85
getWidth() -
mBackgroundPadding
.right,
86
getHeight() -
mBackgroundPadding
.bottom);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyPreviewView.java
42
private final Rect
mBackgroundPadding
= new Rect();
84
background.getPadding(
mBackgroundPadding
);
85
final int maxWidth = background.getIntrinsicWidth() -
mBackgroundPadding
.left
86
-
mBackgroundPadding
.right;
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsGridAdapter.java
119
c.drawRect(
mBackgroundPadding
.left, 0,
mBackgroundPadding
.left + mSectionNamesMargin,
139
c.drawLine(
mBackgroundPadding
.left, top,
140
parent.getWidth() -
mBackgroundPadding
.right, top,
170
parent.getWidth() -
mBackgroundPadding
.left - mSectionNamesMargin :
171
mBackgroundPadding
.left;
290
@Thunk final Rect
mBackgroundPadding
= new Rect();
360
mBackgroundPadding
.set(padding);
AllAppsRecyclerView.java
111
canvas.clipRect(
mBackgroundPadding
.left,
mBackgroundPadding
.top,
112
getWidth() -
mBackgroundPadding
.right,
113
getHeight() -
mBackgroundPadding
.bottom);
/packages/apps/Launcher2/src/com/android/launcher2/
AppWidgetResizeFrame.java
53
private int
mBackgroundPadding
;
136
mBackgroundPadding
= (int) Math.ceil(density * BACKGROUND_PADDING);
137
mTouchTargetWidth = 2 *
mBackgroundPadding
;
407
int newWidth = mWidgetView.getWidth() + 2 *
mBackgroundPadding
- mWidgetPaddingLeft -
409
int newHeight = mWidgetView.getHeight() + 2 *
mBackgroundPadding
- mWidgetPaddingTop -
412
int newX = mWidgetView.getLeft() -
mBackgroundPadding
+ xOffset + mWidgetPaddingLeft;
413
int newY = mWidgetView.getTop() -
mBackgroundPadding
+ yOffset + mWidgetPaddingTop;
/frameworks/base/core/java/com/android/internal/policy/
PhoneWindow.java
[
all
...]
Completed in 226 milliseconds