/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 185 // When there is an icon, make sure the text is at the bottom 186 setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); 238 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { 239 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
IWindowManagerImpl.java | 107 public void setOverscan(int displayId, int left, int top, int right, int bottom) 443 return Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuItemView.java | 200 // Show along the bottom center 201 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height);
|
/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)
|
configDialog.py | 101 frameActionButtons.pack(side=BOTTOM) 102 Frame(self, height=2, borderwidth=0).pack(side=BOTTOM) 247 buttonSaveCustomTheme.pack(side=BOTTOM,fill=X,padx=5,pady=5) 303 frameCustom.pack(side=BOTTOM,padx=5,pady=5,expand=TRUE,fill=BOTH) 304 frameKeySets.pack(side=BOTTOM,padx=5,pady=5,fill=BOTH) 306 self.buttonNewKeys.pack(side=BOTTOM,fill=X,padx=5,pady=5) [all...] |
/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)
|
configDialog.py | 101 frameActionButtons.pack(side=BOTTOM) 102 Frame(self, height=2, borderwidth=0).pack(side=BOTTOM) 247 buttonSaveCustomTheme.pack(side=BOTTOM,fill=X,padx=5,pady=5) 303 frameCustom.pack(side=BOTTOM,padx=5,pady=5,expand=TRUE,fill=BOTH) 304 frameKeySets.pack(side=BOTTOM,padx=5,pady=5,fill=BOTH) 306 self.buttonNewKeys.pack(side=BOTTOM,fill=X,padx=5,pady=5) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseLayoutRule.java | 131 String bottom = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_BOTTOM); 133 right, top, bottom); 693 case BOTTOM: 728 case BOTTOM: 786 if (state.horizontalEdgeType == SegmentType.BOTTOM && !state.wrapHeight) { [all...] |
AbsoluteLayoutRule.java | 124 // Use preview lines to indicate the bottom quadrant as well (to 221 * this case, the bottom right corner will stay fixed). 245 if (horizontalEdge == SegmentType.BOTTOM && verticalEdge == SegmentType.RIGHT) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 127 feedback.tooltipY = SegmentType.BOTTOM;
|
/frameworks/base/core/java/android/widget/ |
LinearLayout.java | 115 @ViewDebug.FlagToString(mask = Gravity.BOTTOM, 116 equals = Gravity.BOTTOM, name = "BOTTOM"), 335 int bottom = 0; local 337 bottom = getHeight() - getPaddingBottom() - mDividerHeight; 340 bottom = child.getBottom() + lp.bottomMargin; 342 drawHorizontalDivider(canvas, bottom); 491 case Gravity.BOTTOM: [all...] |
/external/chromium_org/chrome/browser/chromeos/display/ |
display_preferences_unittest.cc | 130 insets_value->SetInteger("insets_bottom", insets.bottom()); 246 int top = 0, left = 0, bottom = 0, right = 0; local 249 EXPECT_TRUE(property->GetInteger("insets_bottom", &bottom)); 253 EXPECT_EQ(12, bottom); 264 EXPECT_FALSE(property->GetInteger("insets_bottom", &bottom)); 308 ash::DisplayLayout(ash::DisplayLayout::BOTTOM, 20)); 470 EXPECT_EQ(ash::DisplayLayout::BOTTOM,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 72 public static final int BOTTOM = 3; 117 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM); 125 mWidgetPaddingBottom = p.bottom; 344 mTmpRect.right, mTmpRect.bottom); 359 int heightGap = landMetrics.bottom; 367 heightGap = portMetrics.bottom; 425 // In this case we shift the touch region up to end at the bottom of the DragLayer
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetResizeFrame.java | 72 public static final int BOTTOM = 3; 116 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM); 124 mWidgetPaddingBottom = p.bottom; 343 mTmpRect.right, mTmpRect.bottom); 358 int heightGap = landMetrics.bottom; 366 heightGap = portMetrics.bottom; 423 // In this case we shift the touch region up to end at the bottom of the DragLayer
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GridLayoutTest.java | 103 new Alignment("BOTTOM", Gravity.BOTTOM) {
|
CompoundButtonTest.java | 273 assertEquals(drawableHeight, bounds.bottom); 275 // onDraw when Gravity.BOTTOM 276 compoundButton.setGravity(Gravity.BOTTOM); 282 assertEquals(viewHeight, bounds.bottom); 291 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom);
|
/external/chromium/chrome/browser/ui/ |
window_sizer.cc | 42 int top = 0, left = 0, bottom = 0, right = 0; local 47 wp_pref->GetInteger("bottom", &bottom) && 51 std::max(0, bottom - top)); 245 case BOTTOM: 246 if (position <= work_area.bottom()) 306 std::min(bounds->y(), work_area.bottom() - bounds->height()))); 311 // bottom-right of the window, and a window cannot be moved "up" 325 if (bounds->y() < work_area.y() || bounds->bottom() > work_area.bottom()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
RenderStyleConstants.h | 128 TEXT_BOTTOM, TOP, BOTTOM, BASELINE_MIDDLE, LENGTH
|
/frameworks/base/core/java/android/app/ |
MediaRouteButton.java | 226 // Show along the bottom center 227 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, height); 373 final int bottom = getHeight() - getPaddingBottom(); local 378 final int drawTop = top + (bottom - top - drawHeight) / 2;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientsActivity.java | 86 Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM)); 224 float bottom = 40.0f + mDrawHeight; local 235 bottom += 40.0f + mDrawHeight; 245 bottom -= 40.0f + mDrawHeight; 249 mMatrix.postTranslate(left, bottom); 251 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); 254 bottom += 40.0f + mDrawHeight; 260 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint); 264 top = bottom + 20.0f [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXFD.cpp | 313 vRange = CameraFDResult::BOTTOM - CameraFDResult::TOP; 365 trans_top = 3; // bottom is now top 367 trans_bot = 1; // top is not bottom 373 trans_bot = 3; // bottom
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ResizeGesture.java | 197 // bottom. 208 // The user is dragging the bottom edge, so the position is anchored on the 228 return SegmentType.BOTTOM;
|
/external/chromium_org/cc/resources/ |
picture_layer_tiling.cc | 235 content_rect.bottom() - 1); 282 // Iteration happens left->right, top->bottom. Running off the bottom-right 289 min_top = last_geometry_rect.bottom(); 301 DCHECK_EQ(last_geometry_rect.bottom(), current_geometry_rect_.bottom()); 705 enum { BOTTOM, TOP, LEFT, RIGHT } edge; 770 { EdgeEvent::BOTTOM, &num_y_edges, rect.y() - bounding_rect.y() }, 771 { EdgeEvent::TOP, &num_y_edges, bounding_rect.bottom() - rect.bottom() }, [all...] |