Searched refs:bottom (Results 401 - 425 of 625) sorted by relevance

<<11121314151617181920>>

/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingToolbarLayout.java413 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
414 super.onLayout(changed, left, top, right, bottom);
454 mTmpRect.bottom + maxOffset - mToolbar.getTitleMarginBottom());
461 bottom - top - mExpandedMarginBottom);
938 * @param bottom the bottom title margin in pixels
946 public void setExpandedTitleMargin(int start, int top, int end, int bottom) { argument
950 mExpandedMarginBottom = bottom;
1019 * @return the bottom expanded title margin in pixels
1028 * Sets the bottom expande
[all...]
H A DCoordinatorLayout.java937 // Align to the anchor. This puts us in an assumed right/bottom child view gravity.
959 top = anchorRect.bottom;
966 // Offset by the child view's gravity itself. The above assumed right/bottom gravity.
1044 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
1136 parent.bottom -= mLastInsets.getSystemWindowInsetBottom();
1142 child.layout(out.left, out.top, out.right, out.bottom);
1242 inset.top = Math.max(inset.top, drawRect.bottom);
1245 inset.bottom = Math.max(inset.bottom, getHeight() - drawRect.top);
1348 int distance = getHeight() - rect.bottom
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java606 mViewPortOnScreen.bottom - contentRectOnScreen.bottom;
616 // There is enough space at the bottom of the content.
617 y = contentRectOnScreen.bottom;
620 y = contentRectOnScreen.bottom - mMarginVertical;
631 final int availableHeightThroughContentDown = mViewPortOnScreen.bottom -
633 final int availableHeightThroughContentUp = contentRectOnScreen.bottom -
651 // There is enough space at the bottom of the content rect for the overflow.
654 y = contentRectOnScreen.bottom;
658 // There is enough space at the bottom o
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java729 // activity, make the bottom activity front.
1427 if (mBounds != null && bounds.bottom == mBounds.bottom) {
1428 bounds.top = bounds.bottom - minHeight;
1432 bounds.bottom = bounds.top + minHeight;
1480 mTmpRect.right != bounds.right, mTmpRect.bottom != bounds.bottom);
1497 int bottomInset = overrideHeight ? 0 : inInsetBounds.bottom - mTmpRect2.bottom;
1508 int bottomInset = overrideHeight ? 0 : inInsetBounds.bottom
[all...]
/frameworks/support/compat/java/android/support/v4/view/
H A DViewCompat.java329 * Scroll indicator direction for the bottom edge of the view.
384 void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
409 void setPaddingRelative(View view, int start, int top, int end, int bottom); argument
547 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
548 view.invalidate(left, top, right, bottom);
662 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
663 view.setPadding(start, top, end, bottom);
1436 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
1437 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
1548 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
2084 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
2585 setPaddingRelative(View view, int start, int top, int end, int bottom) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.cpp617 disp.framebufferTarget->sourceCropf.bottom =
1049 r.bottom= int(floorf(crop.bottom));
1245 l.sourceCropf.left, l.sourceCropf.top, l.sourceCropf.right, l.sourceCropf.bottom,
1246 l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom,
1253 l.sourceCrop.left, l.sourceCrop.top, l.sourceCrop.right, l.sourceCrop.bottom,
1254 l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom,
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java373 int bottom = 0;
375 bottom = getHeight() - getPaddingBottom() - mDividerHeight;
378 bottom = child.getBottom() + lp.bottomMargin;
380 drawHorizontalDivider(canvas, bottom);
1510 * @param bottom
1512 void layoutVertical(int left, int top, int right, int bottom) { argument
1533 childTop = mPaddingTop + bottom - top - mTotalLength;
1538 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2;
1615 * @param bottom
1617 void layoutHorizontal(int left, int top, int right, int bottom) { argument
[all...]
H A DActionMenuView.java433 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
435 super.onLayout(changed, left, top, right, bottom);
440 final int midVertical = (bottom - top) / 2;
H A DStackView.java1098 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1318 globalInvalidateRect.right, globalInvalidateRect.bottom);
1322 globalInvalidateRect.right, globalInvalidateRect.bottom);
1353 int bottom = Math.max(mView.getBottom() + verticalOffsetDelta, mView.getBottom());
1355 invalidateRectf.set(left, top, right, bottom);
1366 (int) Math.ceil(invalidateRectf.bottom));
H A DDayPickerView.java213 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
225 final int height = bottom - top;
H A DNumberPicker.java130 * The strength of fading in the top and bottom while drawing the selector.
455 * The bottom of the bottom selection divider.
777 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
779 super.onLayout(changed, left, top, right, bottom);
1612 // draw the bottom divider
2630 int left, int top, int right, int bottom) {
2640 boundsInParent.set(left, top, right, bottom);
2652 String text, int left, int top, int right, int bottom) {
2663 boundsInParent.set(left, top, right, bottom);
2629 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument
2651 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
2685 createAccessibilityNodeInfoForNumberPicker(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.cpp564 int right, int bottom) {
565 args->context->setContentDrawBounds(args->left, args->top, args->right, args->bottom);
569 void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) { argument
575 args->bottom = bottom;
563 CREATE_BRIDGE5(setContentDrawBounds, CanvasContext* context, int left, int top, int right, int bottom) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java356 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
364 int topBottomInsets = mSystemInsets.top + mSystemInsets.bottom;
370 Math.max(0, (bottom - top - topBottomInsets - childHeight)) / 2;
379 buttonBounds.bottom);
488 buttonBounds.right, buttonBounds.bottom);
H A DTaskStackLayoutAlgorithm.java206 taskStackBounds.bottom);
237 // The stack bounds, inset from the top system insets, and runs to the bottom of the screen
257 // The base bottom margin for the stack from the system insets
270 // The initial offset that the launch-from task is from the bottom
278 // The height between the bottom margin and the top of task in front of the focused task
282 // The offset from the bottom of the stack to the bottom of the bounds when the stack is
448 mStackBottomOffset = mSystemInsets.bottom + bottomMargin;
550 // stack bottom offset
590 float minBottomTaskNormX = getNormalizedXFromUnfocusedY(mSystemInsets.bottom
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerController.java346 int bottom = clampAbsoluteBrightness(screenBrightness[0]);
347 if (mScreenBrightnessDarkConfig > bottom) {
351 + bottom + ").");
353 if (bottom < screenBrightnessRangeMinimum) {
354 screenBrightnessRangeMinimum = bottom;
/frameworks/base/services/core/java/com/android/server/wm/
H A DDockedStackDividerController.java156 && bounds.right == di.logicalWidth && bounds.bottom == di.logicalHeight)) {
341 mTmpRect.right + frame.width() - mDividerInsets, frame.bottom);
344 frame.set(frame.left, mTmpRect.bottom - mDividerInsets,
345 mTmpRect.right, mTmpRect.bottom + frame.height() - mDividerInsets);
349 mTmpRect.left + mDividerInsets, frame.bottom);
H A DAccessibilityController.java292 args.argi4 = rectangle.bottom;
380 touchableRegionBounds.bottom);
524 (int) windowFrame.right, (int) windowFrame.bottom);
905 final int bottom = args.argi4;
906 mCallbacks.onRectangleOnScreenRequested(left, top, right, bottom);
1202 (int) windowFrame.right, (int) windowFrame.bottom);
/frameworks/native/libs/gui/
H A DGLConsumer.cpp882 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) /
958 outCrop.bottom -= (dh - halfdh);
963 outCrop.right,outCrop.bottom);
1127 mCurrentCrop.top, mCurrentCrop.right, mCurrentCrop.bottom,
1225 EGL_IMAGE_CROP_BOTTOM_ANDROID, crop.bottom,
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h718 int left, int top, int right, int bottom)
725 hw->mPreviewCrop.bottom = bottom;
717 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java241 public void onLayoutChange(View v, int left, int top, int right, int bottom,
485 final int bottom = parent.getBottom();
498 mDrawable.setBounds(0, top, width, bottom);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java438 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
440 super.onLayout(changed, left, top, right, bottom);
445 final int midVertical = (bottom - top) / 2;
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSlidingPaneLayout.java368 final int bottom;
373 bottom = panel.getBottom();
375 left = right = top = bottom = 0;
396 && clampedChildRight <= right && clampedChildBottom <= bottom) {
1180 final int bottom = shadowView.getBottom();
1193 shadowDrawable.setBounds(left, top, right, bottom);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp173 // NOTE: native window uses extended right-bottom coordinate
178 crop.bottom = mCropBottom + 1;
180 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java1487 mBoundsInParent.right, mBoundsInParent.bottom);
1504 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
1514 mBoundsInScreen.right, mBoundsInScreen.bottom);
1540 mBoundsInScreen.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
2752 parcel.writeInt(mBoundsInParent.bottom);
2757 parcel.writeInt(mBoundsInScreen.bottom);
2941 mBoundsInParent.bottom = parcel.readInt();
2946 mBoundsInScreen.bottom = parcel.readInt();
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java337 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
339 region.set(left, top, right, bottom);

Completed in 1012 milliseconds

<<11121314151617181920>>