Searched refs:top (Results 501 - 525 of 726) sorted by last modified time

<<21222324252627282930

/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.cpp555 CREATE_BRIDGE5(setContentDrawBounds, CanvasContext* context, int left, int top, argument
557 args->context->setContentDrawBounds(args->left, args->top, args->right, args->bottom);
561 void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) { argument
565 args->top = top;
H A DRenderProxy.h124 ANDROID_API void setContentDrawBounds(int left, int top, int right, int bottom);
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h52 && MathUtils::areEqual(a.top, b.top) \
64 * Like gtest's TEST, but runs on the RenderThread, and 'renderThread' is passed, in top level scope
157 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument
167 props.setLeftTopRightBottom(left, top, right, bottom);
/frameworks/base/libs/hwui/tests/common/scenes/
H A DListViewAnimation.cpp71 int top = ((int)ci) * (cardSpacing + cardHeight) + pxOffset; variable
73 cardLeft, top, cardLeft + cardWidth, top + cardHeight);
120 sp<RenderNode> createCard(int cardId, int top) {
121 return TestUtils::createNode(cardLeft, top, cardLeft + cardWidth, top + cardHeight,
/frameworks/base/libs/input/
H A DPointerController.cpp380 // Apply offsets to convert from the pixel top-left corner position to the pixel center.
423 // Apply offsets to convert from the pixel center to the pixel top-left corner position
663 sprite = mLocked.recycledSprites.top();
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java1079 if (lhs.top != rhs.top) {
1080 return lhs.top - rhs.top;
1201 mRectArray[i].top -= overflowedHeight;
1202 if (mRectArray[i].top < 0) {
1203 mRectArray[i].bottom -= mRectArray[i].top;
1204 mRectArray[i].top = 0;
1207 mRectArray[i].top -= mRectArray[i].bottom - height;
1217 // Step 1. Sort rectangles by position (top
1985 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
[all...]
H A DClosedCaptionRenderer.java895 // copy from bottom to top row
900 // copy from top to bottom row
1025 "\u250C", // top-left corner
1026 "\u2510", // top-right corner
1499 int top = (viewPortHeight - safeHeight) / 2;
1504 top + safeHeight * i / MAX_ROWS,
1506 top + safeHeight * (i + 1) / MAX_ROWS);
H A DImageWriter.java334 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), crop.left, crop.top,
521 image.getTimestamp(), crop.left, crop.top, crop.right, crop.bottom);
819 long timestampNs, int left, int top, int right, int bottom);
823 int top, int right, int bottom);
818 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument
821 nativeAttachAndQueueImage(long nativeCtx, long imageNativeBuffer, int imageFormat, long timestampNs, int left, int top, int right, int bottom) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java790 canvas.translate(-deviceR.left, -deviceR.top);
1460 * @param y top edge of the area of pixels to access
H A DBitmapRegionDecoder.java186 || rect.top >= getHeight())
188 return nativeDecodeRegion(mNativeBitmapRegionDecoder, rect.left, rect.top,
189 rect.right - rect.left, rect.bottom - rect.top, options);
H A DCanvas.java429 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
442 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
444 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom,
450 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG})
452 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
453 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
488 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
504 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom,
509 * Helper for saveLayerAlpha(left, top, righ
511 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument
742 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
760 clipRect(float left, float top, float right, float bottom) argument
778 clipRect(int left, int top, int right, int bottom) argument
933 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1130 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1151 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1219 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1246 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
1335 drawBitmap(@onNull Bitmap bitmap, float left, float top, @Nullable Paint paint) argument
2028 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
2046 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
2064 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2068 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2073 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
2077 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
2088 native_drawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
[all...]
H A DInsets.java32 public final int top; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
38 this.top = top;
49 * @param top the top inset
55 public static Insets of(int left, int top, int right, int bottom) { argument
56 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
59 return new Insets(left, top, right, bottom);
70 return (r == null) ? NONE : of(r.left, r.top,
[all...]
/frameworks/base/docs/html/ndk/reference/
H A Ddoxygen.css25 margin-top: 1.75em;
26 padding-top: 8px;
60 margin-top: 2px;
64 margin-top: 0px;
235 margin-top: 3px;
244 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444));
245 background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000);
250 margin-top: 12px;
266 margin-top: 10px;
278 vertical-align: top;
[all...]
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessStats.java634 int top = ~((int)((val>>32)&0x7fffffff));
636 out.writeInt(top);
H A DSparseMappingTable.java577 int top = ~((int)((val>>32)&0x7fffffff));
579 out.writeInt(top);
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java331 final int top = mLastYOffset + newBounds.top;
335 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height);
343 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight);
349 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height);
354 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets);
362 private void drawColorViews(int left, int top, int width, int height, argument
368 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left + width, top
[all...]
H A DDecorView.java573 drawingBounds.top += frameOffsets.top;
579 drawingBounds.top += framePadding.top - frameOffsets.top;
663 heightSize - mFloatingInsets.top - mFloatingInsets.bottom, AT_MOST);
670 if (mOutsets.top > 0 || mOutsets.bottom > 0) {
675 height + mOutsets.top + mOutsets.bottom, mode);
723 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
724 super.onLayout(changed, left, top, righ
[all...]
H A DDividerSnapAlgorithm.java32 * here are to be interpreted as the left/top edge of the divider rectangle.
42 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio
124 int statusBarSize = mInsets.top;
138 * @param position the top/left position of the divider
212 return mInsets.top;
269 maybeAddTarget(topPosition, topPosition - mInsets.top);
276 int start = isHorizontalDivision ? mInsets.top : mInsets.left;
287 int start = isHorizontalDivision ? mInsets.top : mInsets.left;
291 int startOther = isHorizontalDivision ? mInsets.left : mInsets.top;
372 /** If the divider reaches this value, the left/top tas
[all...]
H A DDockedDividerUtils.java48 outRect.top = position + dividerSize;
58 * @param topLeft Pass true if the bounds are at the top/left of the screen, false if they are
64 // If the bounds are either on the top or left of the screen, rather move it further to the
65 // left/top to make it more offscreen. If they are on the bottom or right, push them off the
71 if (bounds.top >= bounds.bottom) {
72 bounds.top = bounds.bottom - 1;
78 if (bounds.bottom <= bounds.top) {
79 bounds.bottom = bounds.top + 1;
93 return bounds.top - dividerSize;
101 int start = isHorizontalDivision ? insets.top
[all...]
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java152 final State startStateY = new State(startClip.top, startClip.bottom, startY);
153 final State endStateY = new State(endClip.top, endClip.bottom, endY);
184 final State startStateY = new State(startClip.top, startClip.bottom, startY);
185 final State endStateY = new State(endClip.top, endClip.bottom, endY);
301 tempState.lower = tempRect.top + (int) tempState.trans;
315 tempRect.top = value.lower - (int) value.trans;
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java228 mSurfaceFrame.top = 0;
H A DFloatingActionMode.java188 Math.max(mContentRectOnScreen.top, mViewRectOnScreen.top),
227 && a.top <= b.bottom && b.top <= a.bottom;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java286 // Show along the top; follow action buttons
288 screenPos[1] + height - displayFrame.top);
H A DIconMenuItemView.java124 // Let the view's click listener have top priority (the More button relies on this)
241 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
242 super.onLayout(changed, left, top, right, bottom);
286 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
H A DIconMenuView.java113 * top-most). Each value contains the number of items in that row.
368 childLayoutParams.top = (int) itemTop;
439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right,
744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the
749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams

Completed in 347 milliseconds

<<21222324252627282930