HomeSort by relevance Sort by last modified time
    Searched refs:topMargin (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /packages/apps/Camera2/src/com/android/camera/ui/
CameraControls.java 110 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
117 result.top = b - th + lp.topMargin;
123 result.top = (b + t) / 2 - th / 2 + lp.topMargin;
130 result.top = t + lp.topMargin;
137 result.top = (b + t) / 2 - th / 2 + lp.topMargin;
147 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
151 cy - th / 2 + lp.topMargin,
159 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
168 t = cy - th / 2 + lp.topMargin;
175 t = other.bottom + lp.topMargin;
    [all...]
RotatableLayout.java 222 int mt = lp.topMargin;
226 lp.topMargin = ml;
265 int mt = lp.topMargin;
269 lp.topMargin = mr;
  /cts/tests/tests/view/src/android/view/cts/
ViewGroup_MarginLayoutParamsTest.java 80 assertEquals(30, mMarginLayoutParams.topMargin);
95 assertEquals(30, mMarginLayoutParams.topMargin);
114 assertEquals(30, mMarginLayoutParams.topMargin);
128 assertEquals(30, mMarginLayoutParams.topMargin);
145 assertEquals(30, mMarginLayoutParams.topMargin);
159 assertEquals(30, mMarginLayoutParams.topMargin);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMarginLayoutParams.java 22 realMarginLayoutParams.topMargin = top;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MarginLayoutParamsTest.java 24 assertThat(marginLayoutParams.topMargin, equalTo(2));
  /frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
AbstractLayoutTest.java 55 lp.topMargin = (lp.topMargin + 1) % 31;
  /packages/apps/DeskClock/src/com/android/deskclock/
CircleButtonsLayout.java 100 labelParams.topMargin = circleDiam/6;
102 labelParams.topMargin += (frameHeight-frameWidth)/2;
158 int y = frameHeight / 2 - labelParams.topMargin;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarOverlayLayout.java 77 if (top && lp.topMargin != insets.top) {
79 lp.topMargin = insets.top;
LinearLayoutICS.java 94 params.topMargin = mDividerHeight;
118 drawSupportHorizontalDivider(canvas, child.getTop() - lp.topMargin);
  /cts/tests/tests/widget/src/android/widget/cts/
RadioGroup_LayoutParamsTest.java 90 assertEquals(0, mLayoutParams.topMargin);
96 source.topMargin = 2;
105 assertEquals(2, mLayoutParams.topMargin);
122 assertEquals(5, mLayoutParams.topMargin);
  /frameworks/base/core/java/android/widget/
FrameLayout.java 315 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
369 lp.topMargin - lp.bottomMargin,
374 lp.topMargin + lp.bottomMargin,
440 childTop = parentTop + lp.topMargin;
444 lp.topMargin - lp.bottomMargin;
450 childTop = parentTop + lp.topMargin;
LinearLayout.java 327 final int top = child.getTop() - lp.topMargin - mDividerHeight;
504 return childTop + lp.topMargin + childBaseline;
678 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
788 lp.topMargin + lp.bottomMargin + getNextLocationOffset(child));
    [all...]
RelativeLayout.java 504 top = Math.min(top, params.mTop - params.topMargin);
523 top = Math.min(top, params.mTop - params.topMargin);
686 params.topMargin, params.bottomMargin,
701 params.topMargin - params.bottomMargin);
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarOverlayLayout.java 177 if (top && lp.topMargin != insets.top) {
179 lp.topMargin = insets.top;
259 mActionBarTop.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
269 mActionBarBottom.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
332 mContent.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
371 childTop = parentTop + lp.topMargin;
  /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 77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin);
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
TitlesFragment.java 220 if (params.topMargin != barHeight) {
221 params.topMargin = barHeight;
226 params.topMargin = 0;
  /development/samples/ApiDemos/src/com/example/android/apis/view/
CustomLayout.java 111 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin);
169 mTmpContainerRect.top = parentTop + lp.topMargin;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 211 public void setMargins(int leftMargin, int topMargin, int rightMargin, int bottomMargin) {
214 mTopMargin = Math.max(0, topMargin);
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java 473 topMargin - bottomMargin;
477 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin;
480 y = myCellY * (cellHeight + heightGap) + topMargin;
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedViewCellLayout.java 468 topMargin - bottomMargin;
472 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin;
475 y = myCellY * (cellHeight + heightGap) + topMargin;
  /packages/apps/Browser/src/com/android/browser/
BookmarkItem.java 190 mPaddingTop + mPaddingBottom + lp.topMargin + lp.bottomMargin
  /packages/apps/Dialer/src/com/android/dialer/list/
TileInteractionTeaserView.java 80 arrowParams.topMargin = mTextTop + lineHeight / 2;
  /frameworks/support/v4/java/android/support/v4/widget/
DrawerLayout.java 650 heightSize - lp.topMargin - lp.bottomMargin, MeasureSpec.EXACTLY);
664 lp.topMargin + lp.bottomMargin,
690 child.layout(lp.leftMargin, lp.topMargin,
692 lp.topMargin + child.getMeasuredHeight());
714 child.layout(childLeft, lp.topMargin, childLeft + childWidth,
715 lp.topMargin + childHeight);
734 if (childTop < lp.topMargin) {
735 childTop = lp.topMargin;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
InterpolatingLayout.java 247 parentHeight - params.topMargin - params.bottomMargin,
308 mInRect.set(offset + leftMargin, params.topMargin,

Completed in 1012 milliseconds

1 2 3 4