/frameworks/base/core/java/android/view/ |
Gravity.java | 34 /** Raw bit controlling how the right/bottom edge is placed. */ 36 /** Raw bit controlling whether the right/bottom edge is clipped to its 47 /** Push object to the bottom of its container, not changing its size. */ 48 public static final int BOTTOM = (AXIS_PULL_AFTER|AXIS_SPECIFIED)<<AXIS_Y_SHIFT; 59 public static final int FILL_VERTICAL = TOP|BOTTOM; 179 * it down; if gravity is BOTTOM it pushes it up; if gravity is 231 + ((container.bottom - container.top - h)/2) + yAdj; 232 outRect.bottom = outRect.top + h; 238 if (outRect.bottom > container.bottom) { [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayoutTest.java | 157 // -- BOTTOM && RIGHT 160 relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT); 169 // -- BOTTOM 172 relativeLayout.setGravity(Gravity.BOTTOM); 273 // BOTTOM 276 relativeLayout.setVerticalGravity(Gravity.BOTTOM);
|
ToastTest.java | 379 mToast.setGravity(Gravity.BOTTOM, 0, 0); 386 assertEquals(Gravity.BOTTOM, mToast.getGravity()); 395 // bottom view is below of center view 402 mToast.setGravity(Gravity.BOTTOM, xOffset, yOffset); 409 assertEquals(Gravity.BOTTOM, mToast.getGravity());
|
RadioGroup_LayoutParamsTest.java | 165 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 66 public static final int BOTTOM = 3; 112 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM); 120 mWidgetPaddingBottom = p.bottom; 264 vSpanInc = Math.min(mExpandability[BOTTOM], vSpanInc);
|
/cts/tests/tests/view/src/android/view/cts/ |
GravityTest.java | 82 assertEquals(23, mOutRect.bottom); 87 assertEquals(28, mOutRect.bottom); 92 assertEquals(23, mOutRect.bottom); 97 assertEquals(23, mOutRect.bottom); 99 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, mOutRect); 103 assertEquals(40, mOutRect.bottom); 104 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, 5, 5, mOutRect); 108 assertEquals(35, mOutRect.bottom); 109 applyGravity(Gravity.BOTTOM, 2, 3, mInRect, mOutRect, false /* LTR direction */); 113 assertEquals(40, mOutRect.bottom); [all...] |
/development/apps/Development/src/com/android/development/ |
LogViewer.java | 57 text.setGravity(Gravity.BOTTOM | Gravity.LEFT);
|
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 162 public void setPadding(int left, int top, int right, int bottom) { 163 super.setPadding(left, top, right, bottom); 179 case Gravity.BOTTOM:
|
LinearLayout.java | 113 @ViewDebug.FlagToString(mask = Gravity.BOTTOM, 114 equals = Gravity.BOTTOM, name = "BOTTOM"), 318 int bottom = 0; local 320 bottom = getHeight() - getPaddingBottom() - mDividerHeight; 323 bottom = child.getBottom() + lp.bottomMargin; 325 drawHorizontalDivider(canvas, bottom); 456 case Gravity.BOTTOM: [all...] |
CompoundButton.java | 236 case Gravity.BOTTOM:
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
AlignmentTest.java | 36 public static final Alignment[] VERTICAL_ALIGNMENTS = {TOP, CENTER, BASELINE, BOTTOM, FILL};
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextureViewActivity.java | 96 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM));
|
/packages/apps/Camera/src/com/android/camera/ |
OnScreenHint.java | 45 int mGravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/ |
UsagePermissionPage.java | 85 GridData gdLaterLabel = new GridData(SWT.FILL, SWT.BOTTOM, false, true, 1, 1);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
TutorialEN.java | 168 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 22 import static com.android.ide.common.api.SegmentType.BOTTOM; 102 /** Whether the bottom edge is being moved/resized */ 132 * All horizontal segments in the relative layout - top and bottom edges, baseline 133 * edges, and top and bottom edges offset by the applicable margins in each direction 194 * The current match on the bottom edge, or null if no match or if the bottom edge is 205 * The amount of margin to add to the bottom edge, or 0 322 if (margins.bottom != 0) { 323 mHorizontalEdges.add(new Segment(b.y2(), b.x, b.x2(), node, id, BOTTOM, 325 mHorizontalEdges.add(new Segment(b.y2() + margins.bottom, b.x, b.x2(), node [all...] |
ConstraintPainter.java | 22 import static com.android.ide.common.api.SegmentType.BOTTOM; 367 * nodes do not overlap horizontally and the target node has a bottom margin: 441 if (targetSegmentTypeY == BOTTOM && targetMargins.bottom > 5) { 442 int sharedY = targetY + targetMargins.bottom; 481 if (sourceSegmentTypeY == BOTTOM || sourceSegmentTypeY == BASELINE) { 537 } else if (targetSegmentTypeY == BOTTOM) { 538 sharedY += targetMargins.bottom; 589 } else if (targetSegmentTypeY == BOTTOM) { 591 int margin = targetMargins.bottom; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridDropHandler.java | 270 * Adds a match to align the bottom edge with some other edge. 277 rowMatches.add(new GridMatch(SegmentType.BOTTOM, distance, rowY, 380 //rowMatches.add(new GridMatch(SegmentType.BOTTOM, distance, matchedLine, 479 // bottom half! 512 if (mRowMatch.type == SegmentType.BOTTOM) { 537 mRowMatch.type == SegmentType.BOTTOM ? endRow : row, 1)) { 538 if (mRowMatch.type == SegmentType.BOTTOM) { 664 if (mRowMatch.type == SegmentType.BOTTOM) {
|
GridLayoutPainter.java | 169 if (rowMatch.type == SegmentType.BOTTOM) { 195 assert rowMatch.type == SegmentType.BOTTOM;
|
/external/webkit/Source/WebCore/editing/mac/ |
EditorMac.mm | 126 case BOTTOM:
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
TutorialJAJP.java | 170 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight();
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ScaleDrawableTest.java | 413 assertEquals(expected.bottom, mockDrawable.getBounds().bottom); 419 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); 423 Gravity.apply(Gravity.BOTTOM | Gravity.RIGHT, 430 assertEquals(expected.bottom, mockDrawable.getBounds().bottom); 435 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); 441 assertEquals(bounds.bottom, mockDrawable.getBounds().bottom); 446 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight) [all...] |
/external/valgrind/main/exp-ptrcheck/ |
pc_common.c | 53 #include "h_main.h" // NONPTR, BOTTOM, UNKNOWN 468 tl_assert(BOTTOM != seg1); 469 tl_assert(BOTTOM != seg2 && UNKNOWN != seg2); 546 tl_assert(BOTTOM != seglo && BOTTOM != seghi);
|
/external/webkit/Source/WebCore/rendering/style/ |
RenderStyleConstants.h | 111 TEXT_BOTTOM, TOP, BOTTOM, BASELINE_MIDDLE, LENGTH
|
/frameworks/base/core/java/android/app/ |
ActionBar.java | [all...] |