/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; 180 * it down; if gravity is BOTTOM it pushes it up; if gravity is 232 + ((container.bottom - container.top - h)/2) + yAdj; 233 outRect.bottom = outRect.top + h; 239 if (outRect.bottom > container.bottom) { [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
OverlayDisplayAdapter.java | 183 return Gravity.BOTTOM | Gravity.RIGHT; 188 return Gravity.BOTTOM | Gravity.LEFT;
|
/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; 104 /** Whether the bottom edge is being moved/resized */ 134 * All horizontal segments in the relative layout - top and bottom edges, baseline 135 * edges, and top and bottom edges offset by the applicable margins in each direction 196 * The current match on the bottom edge, or null if no match or if the bottom edge is 207 * The amount of margin to add to the bottom edge, or 0 329 if (margins.bottom != 0) { 330 mHorizontalEdges.add(new Segment(b.y2(), b.x, b.x2(), node, id, BOTTOM, 332 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...] |
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
display_options.js | 35 BOTTOM: 2, 71 * Gets the position of |point| to |rect|, left, right, top, or bottom. 78 // Separates the area into four (LEFT/RIGHT/TOP/BOTTOM) by the diagonals of 86 return options.SecondaryDisplayLayout.BOTTOM; 409 options.SecondaryDisplayLayout.BOTTOM : 412 case options.SecondaryDisplayLayout.BOTTOM: 415 options.SecondaryDisplayLayout.BOTTOM; 424 options.SecondaryDisplayLayout.BOTTOM; 428 options.SecondaryDisplayLayout.BOTTOM : 454 layoutToBase = options.SecondaryDisplayLayout.BOTTOM; [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
image_transform.js | 71 addCropFrame('left bottom corner'); 72 addCropFrame('bottom horizontal'); 73 addCropFrame('right bottom corner'); 272 * left/top/right/bottom held instead for convenience. 274 * @type {{left: number, right: number, top: number, bottom: number}} 281 this.bounds_[DraggableRect.BOTTOM] = rect.top + rect.height; 332 DraggableRect.BOTTOM = 'bottom'; 365 * Obtains the bottom position. 369 return this.bounds_[DraggableRect.BOTTOM]; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 285 assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.getGravity()); 299 mTextView.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); 300 assertEquals(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, mTextView.getGravity()); 2178 final Drawable bottom = getDrawable(R.drawable.red); local 2222 final Drawable bottom = getDrawable(R.drawable.red); local [all...] |
RadioGroup_LayoutParamsTest.java | 120 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity);
|
/external/pdfium/fpdfsdk/src/ |
fpdf_flatten.cpp | 14 enum FPDF_VALUE { TOP, LEFT, RIGHT, BOTTOM };
19 rect.bottom - rect.top > 0.000001f)
25 rect.bottom == 0.0f)
33 rect.bottom - rcPage.bottom < -10.000001f)
57 rc.bottom = pPageObject->m_Bottom;
164 case BOTTOM:
167 pArray[i] = CPDF_Rect(array.GetAt(i)).bottom;
199 rcRet.bottom = GetMinMaxValue(*pRectArray, MIN, BOTTOM);
319 FX_FLOAT bottom = FX_MIN(FX_MIN(y1, y2), FX_MIN(y3, y4)); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 172 if (rowMatch.type == SegmentType.BOTTOM) { 198 assert rowMatch.type == SegmentType.BOTTOM; 326 if (rowMatch.type == SegmentType.BOTTOM) {
|
/external/chromium_org/ash/display/ |
mouse_cursor_event_filter.cc | 69 std::abs(native_bounds.bottom() - start.y()) 71 : native_bounds.bottom() - 1; 83 end.set_y(indicator_bounds.bottom()); 105 if (native_bounds.bottom() < point_in_native->y()) 106 point_in_native->set_y(native_bounds.bottom()); 137 if (position == DisplayLayout::TOP || position == DisplayLayout::BOTTOM) 171 if (position == DisplayLayout::TOP || position == DisplayLayout::BOTTOM) 214 // edge. The right/bottom needs to be shrink by 2 to subtract 291 primary_bounds.bottom() - (from_primary ? kIndicatorThickness : 0)); 298 primary_bounds.bottom() - (from_primary ? 0 : kIndicatorThickness)) [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/ |
braille_key_types.js | 31 BOTTOM: 'bottom',
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 38 * android:layout_gravity to TOP or BOTTOM to pin it to the top or bottom 139 mGravity = a.getInteger(3, Gravity.BOTTOM); 396 case Gravity.BOTTOM:
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
TutorialJAJP.java | 170 if ((gravity & Gravity.BOTTOM) == Gravity.BOTTOM) offy -= window.getHeight();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
FileDialog.py | 56 self.botframe.pack(side=BOTTOM, fill=X) 59 self.selection.pack(side=BOTTOM, fill=X)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
FileDialog.py | 56 self.botframe.pack(side=BOTTOM, fill=X) 59 self.selection.pack(side=BOTTOM, fill=X)
|
/external/valgrind/main/exp-sgcheck/ |
pc_common.c | 53 #include "h_main.h" // NONPTR, BOTTOM, UNKNOWN 473 tl_assert(BOTTOM != seg1); 474 tl_assert(BOTTOM != seg2 && UNKNOWN != seg2); 550 tl_assert(BOTTOM != seglo && BOTTOM != seghi);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 188 // When there is an icon, make sure the text is at the bottom 189 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); 241 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { 242 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
IWindowManagerImpl.java | 98 public void setOverscan(int displayId, int left, int top, int right, int bottom) 451 return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DeviceProfile.java | 327 // landscape with the nav bar at the bottom, and landscape with the nav bar at the side. 329 // the height is the smallest height (either with the nav bar at the bottom or to the 352 int maxHeight = (availableHeightPx - workspacePadding.top - workspacePadding.bottom); 383 cellHeightPx = iconSizePx + iconDrawablePaddingPx + (int) Math.ceil(fm.bottom - fm.top); 567 heightPx - workspacePadding.bottom - insets.bottom); 572 heightPx - workspacePadding.bottom - insets.bottom); 575 int pageIndicatorTop = heightPx - insets.bottom - workspacePadding.bottom; [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
aboutDialog.py | 37 frameButtons.pack(side=BOTTOM, fill=X)
|
configHelpSourceEdit.py | 68 frameButtons.pack(side=BOTTOM, fill=X)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
aboutDialog.py | 37 frameButtons.pack(side=BOTTOM, fill=X)
|
configHelpSourceEdit.py | 68 frameButtons.pack(side=BOTTOM, fill=X)
|