Searched refs:bottom (Results 176 - 200 of 709) sorted by relevance

1234567891011>>

/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DBitmapUtils.java94 outRect.bottom = outRect.top + srcCroppedH;
127 outRect.bottom = outRect.top + srcCroppedH;
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/
H A DSetupWizardRecyclerLayout.java76 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
77 super.onLayout(changed, left, top, right, bottom);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifListLayout.java82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
H A DSetupWizardListLayout.java90 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
91 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/
H A DDrawableWrapperApi21.java50 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
51 mDrawable.setHotspotBounds(left, top, right, bottom);
/frameworks/support/compat/java/android/support/v4/view/
H A DWindowInsetsCompat.java103 * Returns the bottom system window inset in pixels.
109 * @return The bottom system window inset
173 * <p>A round window's left, top, right and bottom edges reach all the way to the
208 * @param bottom New bottom inset in pixels
211 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
214 ((WindowInsets) mInsets).replaceSystemWindowInsets(left, top, right, bottom));
296 * Returns the bottom stable inset in pixels.
304 * @return The bottom stable inset
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCommon.java77 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
79 DrawableCompat.setHotspotBounds(mDelegateDrawable, left, top, right, bottom);
/frameworks/support/percent/src/android/support/percent/
H A DPercentFrameLayout.java166 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
167 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DNonOverlappingLinearLayoutWithForeground.java108 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
109 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskStack.java499 inOutBounds.bottom -= movement;
502 movement = mTmpRect.bottom - inOutBounds.bottom;
504 inOutBounds.bottom += movement;
840 outBounds.bottom = position;
857 outBounds.bottom = dockedBounds.top - dockDividerWidth;
863 outBounds.top = dockedBounds.bottom + dockDividerWidth;
982 * current position. When IME window is animated, the bottom stack is animated
1085 if (contentBounds.bottom > imeTop) {
1086 contentBounds.bottom
[all...]
H A DDisplaySettings.java81 outRect.bottom = entry.overscanBottom;
88 int bottom) {
89 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
105 entry.overscanBottom = bottom;
87 setOverscanLocked(String uniqueId, String name, int left, int top, int right, int bottom) argument
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp121 jint left, jint top, jint right, jint bottom) {
122 android::uirenderer::Rect clipBounds(left, top, right, bottom);
141 jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) {
143 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
264 static jboolean android_view_RenderNode_setBottom(jlong renderNodePtr, int bottom) { argument
265 return SET_AND_DIRTY(setBottom, bottom, RenderNode::Y);
269 int left, int top, int right, int bottom) {
271 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) {
471 (jint) bounds.right, (jint) bounds.bottom);
503 jint right, jint bottom) {
120 android_view_RenderNode_setClipBounds(jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument
140 android_view_RenderNode_setOutlineRoundRect(jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument
268 android_view_RenderNode_setLeftTopRightBottom(jlong renderNodePtr, int left, int top, int right, int bottom) argument
502 doUpdatePositionAsync(jlong frameNumber, jint left, jint top, jint right, jint bottom) argument
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java108 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) {
113 args.argi4 = bottom;
703 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument
707 if (!magnifiedFrame.intersects(left, top, right, bottom)) {
732 if (bottom - top > magnifFrameInScreenCoords.height()) {
736 } else if (bottom > magnifFrameInScreenCoords.bottom) {
737 scrollY = bottom - magnifFrameInScreenCoords.bottom;
782 final int bottom
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java88 float bottom = top + image.getHeight();
92 (int)left, (int)top, (int)right, (int)bottom);
208 final float left, final float top, final float right, final float bottom, long paint) {
218 (int)(right-left), (int)(bottom-top));
224 (int)(right-left), (int)(bottom-top));
231 final float top, final float right, final float bottom, long paint) {
232 if (right > left && bottom > top) {
241 (int)(right - left), (int)(bottom - top));
247 (int)(right - left), (int)(bottom - top));
263 final float left, final float top, final float right, final float bottom,
207 nDrawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
230 nDrawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
262 nDrawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument
291 nDrawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument
759 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
/frameworks/av/include/ndk/
H A DNdkImage.h506 * <p>Note that the right and bottom coordinates are exclusive, so the width of the rectangle is
507 * (right - left) and the height of the rectangle is (bottom - top).</p>
513 int32_t bottom; member in struct:AImageCropRect
/frameworks/base/libs/hwui/
H A DRenderProperties.cpp153 << (int)layerBounds.right << ", " << (int)layerBounds.bottom << ", "
165 << (int)clipRect.right << ", " << (int)clipRect.bottom << ")" << std::endl;
173 << bounds.right << ", " << bounds.bottom << ")" << std::endl;
184 << bounds.right << ", " << bounds.bottom << ")" << std::endl;
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp64 dirtyArea.right, dirtyArea.bottom));
88 const float v2 = (viewportHeight - r->bottom) * texY;
92 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2);
93 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissViewButton.java61 outRect.bottom += translationY;
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
H A DTouchLatencyActivity.java134 float bottom = mBallY + BALL_RADIUS;
135 if (bottom > height) {
136 bottom = height;
142 canvas.drawOval(left, top, right, bottom, mYellowPaint);
/frameworks/native/services/vr/hardware_composer/tests/
H A Dvr_composer_test.cpp138 ASSERT_EQ(frame.layers[0].display_frame.bottom,
139 received_frame.layers[0].display_frame.bottom);
143 ASSERT_EQ(frame.layers[0].crop.bottom, received_frame.layers[0].crop.bottom);
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardViewBaseImpl.java62 //draw top and bottom pieces
68 bounds.bottom - roundedCornerRadius,
69 bounds.right - roundedCornerRadius + 1f, bounds.bottom, paint);
73 bounds.right, bounds.bottom - cornerRadius , paint);
102 shadowPadding.right, shadowPadding.bottom);
/frameworks/base/core/java/com/android/internal/policy/
H A DDividerSnapAlgorithm.java42 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio
138 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right;
233 return mInsets.bottom;
262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right;
287 maybeAddTarget(bottomPosition, dividerMax - mInsets.bottom
294 ? mDisplayHeight - mInsets.bottom
305 ? mDisplayHeight - mInsets.bottom
310 : mDisplayHeight - mInsets.bottom;
401 /** If the divider reaches this value, the right/bottom task should be dismissed */
404 /** Position of this snap target. The right/bottom edg
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestProperties.cpp398 << ", bottom " << displayFrame.bottom << "\n";
416 static_cast<int>(frectScalar.bottom * mDisplayArea.height)});
481 << sourceCrop.top << ", right " << sourceCrop.right << ", bottom "
482 << sourceCrop.bottom << "\n";
506 frectScalar.bottom * mBufferArea.height});
552 << ", right " << rect.right << ", bottom " << rect.bottom << "\n";
589 rects[i].bottom = regionScalar[i].bottom * mBufferAre
[all...]
/frameworks/rs/driver/runtime/
H A Drs_matrix.c322 float4* bottom, float4* near, float4* far) {
339 bottom->x = viewProj->m[3] + viewProj->m[1];
340 bottom->y = viewProj->m[7] + viewProj->m[5];
341 bottom->z = viewProj->m[11] + viewProj->m[9];
342 bottom->w = viewProj->m[15] + viewProj->m[13];
360 len = length(bottom->xyz);
361 *bottom /= len;
369 rsIsSphereInFrustum(float4* sphere, float4* left, float4* right, float4* top, float4* bottom, argument
383 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom
321 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, float4* bottom, float4* near, float4* far) argument
[all...]
/frameworks/support/design/tests/src/android/support/design/widget/
H A DTextInputLayoutTest.java223 final Drawable bottom = new ColorDrawable(Color.BLACK);
225 .perform(setCompoundDrawablesRelative(start, top, end, bottom));
227 // Enable the password toggle and check that the start, top and bottom drawables are
235 .check(matches(withCompoundDrawable(3, bottom)));
245 .check(matches(withCompoundDrawable(3, bottom)));
386 final Drawable bottom = new ColorDrawable(Color.BLACK);
389 editText.setCompoundDrawables(left, top, right, bottom);
401 assertSame(bottom, compoundDrawables[3]);
413 final Drawable bottom = new ColorDrawable(Color.BLACK);
416 TextViewCompat.setCompoundDrawablesRelative(editText, start, top, end, bottom);
[all...]

Completed in 671 milliseconds

1234567891011>>