OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:leftMargin
(Results
1 - 25
of
222
) sorted by null
1
2
3
4
5
6
7
8
9
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
HorizontalHoverCardSwitcher.java
53
params.
leftMargin
= rightLimit - view.getMeasuredWidth();
55
params.
leftMargin
= leftLimit;
57
params.
leftMargin
= mCardRight - view.getMeasuredWidth();
59
params.
leftMargin
= mCardLeft;
ScaleFrameLayout.java
112
lp.
leftMargin
- lp.rightMargin;
119
childLeft = parentLeft + lp.
leftMargin
;
/cts/tests/tests/view/src/android/view/cts/
ViewGroup_MarginLayoutParamsTest.java
78
assertEquals(20, mMarginLayoutParams.
leftMargin
);
100
assertEquals(0, mMarginLayoutParams.
leftMargin
);
114
assertEquals(20, mMarginLayoutParams.
leftMargin
);
135
assertEquals(20, mMarginLayoutParams.
leftMargin
);
147
assertEquals(20, mMarginLayoutParams.
leftMargin
);
168
assertEquals(120, mMarginLayoutParams.
leftMargin
);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMarginLayoutParams.java
21
realMarginLayoutParams.
leftMargin
= left;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MarginLayoutParamsTest.java
23
assertThat(marginLayoutParams.
leftMargin
, equalTo(1));
/frameworks/base/core/java/com/android/internal/widget/
TextProgressBar.java
154
int contentWidth = mProgressBar.getWidth() - (params.
leftMargin
+ params.rightMargin);
156
mProgressBar.getMax()) + params.
leftMargin
;
170
if (leadingEdge < params.
leftMargin
) {
171
leadingEdge = params.
leftMargin
;
177
params.
leftMargin
= leadingEdge;
DialogViewAnimator.java
72
+ lp.
leftMargin
+ lp.rightMargin);
116
- lp.
leftMargin
- lp.rightMargin,
120
getPaddingLeft() + getPaddingRight() + lp.
leftMargin
+ lp.rightMargin,
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
AbstractLayoutTest.java
62
lp.
leftMargin
= (lp.
leftMargin
+ 1) % 31;
/development/samples/ApiDemos/src/com/example/android/apis/view/
CustomLayout.java
102
child.getMeasuredWidth() + lp.
leftMargin
+ lp.rightMargin);
105
child.getMeasuredWidth() + lp.
leftMargin
+ lp.rightMargin);
108
child.getMeasuredWidth() + lp.
leftMargin
+ lp.rightMargin);
158
mTmpContainerRect.left = leftPos + lp.
leftMargin
;
163
mTmpContainerRect.left = rightPos - width - lp.
leftMargin
;
166
mTmpContainerRect.left = middleLeft + lp.
leftMargin
;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
OrientationHelper.java
219
return mLayoutManager.getDecoratedMeasuredWidth(view) + params.
leftMargin
242
return mLayoutManager.getDecoratedLeft(view) - params.
leftMargin
;
303
return mLayoutManager.getDecoratedMeasuredWidth(view) + params.
leftMargin
/packages/apps/Calculator/src/com/android/calculator2/
CalculatorPadLayout.java
82
final int childLeft = paddingLeft + lp.
leftMargin
+
84
final int childRight = childLeft - lp.
leftMargin
- lp.rightMargin + columnWidth;
/cts/tests/tests/widget/src/android/widget/cts/
RadioGroup_LayoutParamsTest.java
89
assertEquals(0, mLayoutParams.
leftMargin
);
95
source.
leftMargin
= 1;
104
assertEquals(1, mLayoutParams.
leftMargin
);
121
assertEquals(5, mLayoutParams.
leftMargin
);
/cts/apps/CtsVerifier/src/android/support/wearable/view/
BoxInsetLayout.java
127
marginLeft = lp.
leftMargin
;
140
marginLeft = lp.
leftMargin
;
195
totalMargin += plwf + lp.
leftMargin
;
289
childLeft = parentLeft + lp.
leftMargin
;
294
lp.
leftMargin
- lp.rightMargin;
313
childLeft = parentLeft + lp.
leftMargin
;
/external/droiddriver/src/io/appium/droiddriver/actions/
SwipeAction.java
149
int
leftMargin
= (int) (elementRect.width() * leftMarginRatio);
153
int adjustedLeft = elementRect.left +
leftMargin
;
/frameworks/base/core/java/android/widget/
ActionMenuView.java
165
lp.
leftMargin
= lp.rightMargin = 0;
226
lp.
leftMargin
= 0;
339
lp.
leftMargin
= -extraPixels / 2;
352
lp.
leftMargin
= extraPixels / 2;
465
l = getPaddingLeft() + p.
leftMargin
;
478
final int size = v.getMeasuredWidth() + p.
leftMargin
+ p.rightMargin;
517
startRight -= width + lp.
leftMargin
+ spacerSize;
528
startLeft += lp.
leftMargin
;
FrameLayout.java
197
child.getMeasuredWidth() + lp.
leftMargin
+ lp.rightMargin);
239
- lp.
leftMargin
- lp.rightMargin);
245
lp.
leftMargin
+ lp.rightMargin,
309
lp.
leftMargin
- lp.rightMargin;
318
childLeft = parentLeft + lp.
leftMargin
;
/frameworks/support/v4/java/android/support/v4/view/
MarginLayoutParamsCompat.java
43
return lp.
leftMargin
;
53
lp.
leftMargin
= marginStart;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
ActionMenuView.java
169
lp.
leftMargin
= lp.rightMargin = 0;
230
lp.
leftMargin
= 0;
343
lp.
leftMargin
= -extraPixels / 2;
356
lp.
leftMargin
= extraPixels / 2;
468
l = getPaddingLeft() + p.
leftMargin
;
481
final int size = v.getMeasuredWidth() + p.
leftMargin
+ p.rightMargin;
520
startRight -= width + lp.
leftMargin
+ spacerSize;
531
startLeft += lp.
leftMargin
;
LinearLayoutCompat.java
330
position = child.getLeft() - lp.
leftMargin
- mDividerWidth;
349
position = child.getLeft() - lp.
leftMargin
- mDividerWidth;
702
final int margin = lp.
leftMargin
+ lp.rightMargin;
793
lp.
leftMargin
+ lp.rightMargin, lp.width);
821
final int margin = lp.
leftMargin
+ lp.rightMargin;
[
all
...]
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
IconEditor.java
87
lp.bottomMargin = lp.topMargin = lp.
leftMargin
= lp.rightMargin = outerMargin;
93
flp.bottomMargin = flp.topMargin = flp.
leftMargin
= flp.rightMargin = innerMargin;
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
FrameLayoutMarginTest.java
65
((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).
leftMargin
);
/packages/apps/DeskClock/src/com/android/deskclock/widget/
EllipsizeLayout.java
102
+ layoutParams.
leftMargin
+ layoutParams.rightMargin;
/external/mdnsresponder/mDNSPosix/
parselog.py
172
leftMargin
= typesize * 60
174
pageRect = CGRectMake (-
leftMargin
, -bottomMargin,
leftMargin
+ width, bottomMargin + pageHeight) # landscape
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumLabelMaker.java
175
int x = s.
leftMargin
+ s.iconSize;
179
drawText(canvas, x, y, title, labelWidth - s.
leftMargin
- x -
193
canvas.translate(s.
leftMargin
, (s.labelBackgroundHeight -
/frameworks/support/percent/src/android/support/percent/
PercentLayoutHelper.java
375
mPreservedParams.
leftMargin
= params.
leftMargin
;
385
params.
leftMargin
= (int) (widthHint * leftMarginPercent);
426
params.
leftMargin
= mPreservedParams.
leftMargin
;
Completed in 1849 milliseconds
1
2
3
4
5
6
7
8
9