Searched refs:bottom (Results 376 - 400 of 625) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/widget/
H A DPopupWindow.java130 * used for top/bottom anchoring states.
1158 * Display the content view in a popup window anchored to the bottom-left
1162 * bottom-left corner of the popup is pinned at the top left corner of the
1174 * Display the content view in a popup window anchored to the bottom-left
1178 * scroll view can be scrolled, the bottom-left corner of the popup is
1259 * Indicates whether the popup is showing above (the y coordinate of the popup's bottom
1261 * of the popup is greater than y coordinate of the anchor's bottom).
1414 // setting the x and y offsets to match the anchor's bottom-left
1532 // Initially, align to the bottom-left corner of the anchor plus offsets.
1544 height = displayFrame.bottom
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java373 final int bottomInset = DecorView.getColorViewBottomInset(stableInsets.bottom,
374 systemInsets.bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java317 bounds.bottom = layout.getLineBottom(i);
318 previousBottom = bounds.bottom;
/frameworks/base/media/java/android/media/
H A DTimedText.java151 * vertical justification 0: top, 1: centered, -1: bottom
382 * timed text at the center bottom of the display.
500 int bottom = parcel.readInt();
502 mTextBounds = new Rect(left, top, right, bottom);
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java687 * @param bottom Bottom position in pixels, relative to the overlay view.
691 final int bottom) {
692 if (left > right || top > bottom) {
701 + right + ", b=" + bottom + ",)");
703 mSessionCallback.onLayoutSurface(left, top, right, bottom);
1233 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1263 frame.right - frame.left, frame.bottom - frame.top,
1283 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1292 mWindowParams.height = frame.bottom - frame.top;
690 layoutSurface(final int left, final int top, final int right, final int bottom) argument
H A DTvView.java700 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
703 + ", bottom=" + bottom + ",)");
709 mSurfaceView.layout(0, 0, right - left, bottom - top);
1244 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
1247 + right + ", bottom=" + bottom + ",)");
1256 mSurfaceViewBottom = bottom;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java217 public void setPadding(int left, int top , int right, int bottom) { argument
218 mRecyclerView.setPadding(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java350 || mStableInsets.bottom != insets.getStableInsetBottom()) {
362 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
363 super.onLayout(changed, left, top, right, bottom);
841 rect.set(containingRect.right - width, containingRect.bottom - height,
842 containingRect.right, containingRect.bottom);
965 return mStableInsets.bottom != 0;
1031 taskRect.bottom = offsetPosition;
1035 taskRect.bottom = offsetPosition + height + mDividerSize;
1081 * @return true if and only if {@code dockSide} is bottom or right
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java170 int bottom) {
171 super.onLayout(changed, left, top, right, bottom);
169 onLayout(boolean changed, int left, int top, int right, int bottom) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java33 * bottom-left, and bottom-right. These labels allow mapping a transformed Quad back to an up-right
47 * The unit Quad has its top-left point at (0, 0) and bottom-right point at (1, 1).
63 new PointF(rect.left, rect.bottom),
64 new PointF(rect.right, rect.bottom));
160 * The bottom-left point of the Quad.
161 * @return bottom-left point of the Quad.
168 * The bottom-right point of the Quad.
169 * @return bottom-right point of the Quad.
227 * The order of coordinates is top-left, top-right, bottom
[all...]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java187 te.bounds.right - mTmpLocation[0], te.bounds.bottom - mTmpLocation[1],
195 canvas.drawRect(0, 0, te.bounds.right - te.bounds.left, te.bounds.bottom - te.bounds.top,
/frameworks/base/tools/aapt/
H A DImages.cpp394 // Look for bottom tick
465 // find top and bottom extent of nine patch content on center column
512 png_bytepp rows, int left, int top, int right, int bottom)
516 if (left > right || top > bottom) {
520 while (top <= bottom) {
562 int bottom; local
602 // Find top and bottom of sizing areas...
618 errorEdge = "bottom";
622 // Find top and bottom of padding area...
722 // The first row always starts with the top being at y=0 and the bottom
511 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp801 // Look for bottom tick
866 // find top and bottom extent of nine patch content on center column
912 static uint32_t getColor(png_bytepp rows, int left, int top, int right, int bottom) { argument
915 if (left > right || top > bottom) {
919 while (top <= bottom) {
960 int bottom; local
1000 // Find top and bottom of sizing areas...
1017 errorEdge = "bottom";
1021 // Find top and bottom of padding area...
1122 // The first row always starts with the top being at y=0 and the bottom
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java259 float bottom = (float) (top + awtRec.getHeight());
260 RectF androidRect = new RectF(left, top, right, bottom);
/frameworks/native/libs/gui/
H A DSurface.cpp445 // the origin being in the bottom-left corner. Here we flip to the
447 // subtracting all top/bottom coordinates from the buffer height.
469 int top = height - rect.bottom; // Flip from OpenGL convention
470 int bottom = height - rect.top; // Flip from OpenGL convention local
474 Rect flippedRect{top, width - right, bottom, width - left}; local
480 Rect flippedRect{width - right, height - bottom,
487 Rect flippedRect{height - bottom, left,
493 Rect flippedRect{left, top, right, bottom};
954 realRect.left, realRect.top, realRect.right, realRect.bottom);
1160 // We intentionally flip top and bottom her
[all...]
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java59 || mRoiBounds.bottom >= imgHeight) {
195 int ymax = (int) (mRoiBounds.bottom + mRoiBounds.height() * 2);
/frameworks/support/design/src/android/support/design/internal/
H A DBottomNavigationMenuView.java159 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
162 final int height = bottom - top;
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtilsMatchers.java294 area.bottom -= rectHeightQuarter;
399 fab.getTop() + area.bottom);
/frameworks/support/transition/ics/android/support/transition/
H A DChangeBoundsPort.java139 int startBottom = startBounds.bottom;
140 int endBottom = endBounds.bottom;
187 pvh[pvhIndex++] = PropertyValuesHolder.ofInt("bottom",
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java450 float bottom = sharedElementBundle.getFloat(KEY_SCREEN_BOTTOM);
456 bottom -= decorLoc[1];
460 tempRect.set(left, top, right, bottom);
482 bottom = top + height;
488 int height = Math.round(bottom) - y;
742 sharedElementBundle.putFloat(KEY_SCREEN_BOTTOM, tempBounds.bottom);
H A DWallpaperManager.java223 public void setBounds(int left, int top, int right, int bottom) { argument
225 mDrawTop = top + (bottom-top - mHeight) / 2;
469 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned
489 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned
553 float bottom = top + outHeight;
554 cropRectF = new RectF(left, top, right, bottom);
638 cropRect.bottom = inHeight;
647 cropRect.bottom = cropRect.top + cropHeight;
1351 * on its left, top, right, and bottom sides.
/frameworks/base/core/java/android/webkit/
H A DWebView.java1166 * @param bottom true to jump to bottom of page
1169 public boolean pageDown(boolean bottom) { argument
1171 return mProvider.pageDown(bottom);
2180 public boolean super_setFrame(int left, int top, int right, int bottom) { argument
2181 return WebView.super.setFrame(left, top, right, bottom);
2580 protected boolean setFrame(int left, int top, int right, int bottom) { argument
2581 return mProvider.getViewDelegate().setFrame(left, top, right, bottom);
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp419 jlong timestampNs, jint left, jint top, jint right, jint bottom) {
456 cropRect.bottom = bottom;
485 jint right, jint bottom) {
548 cropRect.bottom = bottom;
418 ImageWriter_queueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
483 ImageWriter_attachAndQueueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java609 windowRect.bottom -= systemInsets.bottom;
610 systemInsets.bottom = 0;
669 inOutInsets.bottom = windowRect.bottom - windowRectWithInsets.bottom;
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp189 rect.bottom = this->_h;
203 out << rect.bottom;
209 // Parse HWC rectangle description of form [left, top, right, bottom]
242 in >> rect.bottom;
251 // Validate right and bottom are greater than left and top
252 if ((rect.right <= rect.left) || (rect.bottom <= rect.top)) { return rect; }
486 (float) (list->hwLayers[layer].sourceCrop.bottom
488 / (float) (list->hwLayers[layer].displayFrame.bottom

Completed in 4295 milliseconds

<<11121314151617181920>>