Searched refs:right (Results 176 - 200 of 664) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/
H A DWindowManagerInternal.java70 * @param right The rectangle right.
73 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom); argument
H A DSurfaceView.java311 protected boolean setFrame(int left, int top, int right, int bottom) { argument
312 boolean result = super.setFrame(left, top, right, bottom);
560 mSurfaceFrame.right = mWinFrame.width();
564 mSurfaceFrame.right = (int) (mWinFrame.width() * appInvertedScale + 0.5f);
568 final int surfaceWidth = mSurfaceFrame.right;
681 mWinFrame.right, mWinFrame.bottom));
683 mWinFrame.right, mWinFrame.bottom, -1, mWinFrame);
699 int left, int top, int right, int bottom) {
717 && mRTLastReportedPosition.right == right
698 updateWindowPositionRT(long frameNumber, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DNotificationExpandButton.java58 rect.right = rect.left + touchTargetSize;
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp63 dirtyArea.right, dirtyArea.bottom));
86 const float u2 = r->right * texX;
90 TextureVertex::set(mesh++, r->right, r->top, u2, v1);
92 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h53 && MathUtils::areEqual(a.right, b.right) \
157 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument
167 props.setLeftTopRightBottom(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissViewButton.java59 outRect.right += translationX;
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java80 outRect.right = entry.overscanRight;
87 public void setOverscanLocked(String uniqueId, String name, int left, int top, int right, argument
89 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
104 entry.overscanRight = right;
H A DTask.java387 bounds.right = mTmpRect.left + mBounds.width();
388 } else if (bounds.right < mTmpRect.right) {
389 bounds.left = mTmpRect.right - mBounds.width();
390 bounds.right = mTmpRect.right;
477 if (win.mVisibleFrame.right > out.right) {
478 out.right = win.mVisibleFrame.right;
[all...]
H A DWindowState.java670 final int right = Math.max(0, Math.min(layoutFrame.right, displayFrame.right) - insetFrame.right);
672 frame.inset(left, top, right, bottom);
725 mContainingFrame.right = mContainingFrame.left + frozen.width();
800 Math.max(mOutsetFrame.right - mContentFrame.right, 0),
822 Math.min(mFrame.left, mContentFrame.right - minVisibleWidth));
836 Math.min(mContentFrame.right, mFram
[all...]
/frameworks/base/services/core/java/com/android/server/wm/animation/
H A DClipRectTBAnimation.java82 oldClipRect.right,
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java209 width-mMainInsets.right, height-mMainInsets.bottom, paint);
213 width - mStableInsets.right, height - mStableInsets.bottom,
238 + ") - (" + mStableInsets.right + ", " + mStableInsets.bottom + ")",
242 + ") - (" + mMainInsets.right + ", " + mMainInsets.bottom + ")",
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DContentFrameLayout.java82 public void setDecorPadding(int left, int top, int right, int bottom) { argument
83 mDecorPadding.set(left, top, right, bottom);
108 w -= (mDecorPadding.left + mDecorPadding.right);
152 min -= (mDecorPadding.left + mDecorPadding.right);
H A DToolbar.java1151 * @param contentInsetRight Content inset for the toolbar's right edge
1186 * Gets the right content inset for this toolbar.
1192 * @return The right content inset for this toolbar
1339 * Gets the content inset that will be used on the right side of the bar in the current
1342 * @return the current content inset right in pixels
1708 int right = width - paddingRight;
1718 right = layoutChildRight(mNavButtonView, right, collapsingMargins,
1728 right = layoutChildRight(mCollapseButtonView, right, collapsingMargin
1948 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DCardViewEclairMr1.java65 bounds.right - roundedCornerRadius + 1f,
70 bounds.right - roundedCornerRadius + 1f, bounds.bottom, paint);
74 bounds.right, bounds.bottom - cornerRadius , paint);
103 shadowPadding.right, shadowPadding.bottom);
/frameworks/base/core/java/android/widget/
H A DToolbar.java1146 * @param contentInsetRight Content inset for the toolbar's right edge
1181 * Gets the right content inset for this toolbar.
1187 * @return The right content inset for this toolbar
1334 * Gets the content inset that will be used on the right side of the bar in the current
1337 * @return the current content inset right in pixels
1683 int right = width - paddingRight;
1693 right = layoutChildRight(mNavButtonView, right, collapsingMargins,
1703 right = layoutChildRight(mCollapseButtonView, right, collapsingMargin
1923 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c30 short right; member in struct:__anon1754
245 mixBuffer->right += (short) (source->right * track->mGains[1]);
251 mixBuffer->right += source->right;
259 mixBuffer->right = (short) (source->right * track->mGains[1]);
/frameworks/native/include/ui/
H A Dmat4.h134 static tmat44 ortho(T left, T right, T bottom, T top, T near, T far);
136 static tmat44 frustum(T left, T right, T bottom, T top, T near, T far);
232 tmat44<T> tmat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) { argument
234 m[0][0] = 2 / (right - left);
237 m[3][0] = -(right + left) / (right - left);
244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument
246 T A = (right + left) / (right - left);
250 m[0][0] = (2 * near) / (right
[all...]
/frameworks/rs/driver/runtime/
H A Drs_matrix.c242 // is also the destination, e.g. rsMatrixLoadMultiply(&left, &left, &right);
272 // is also the destination, e.g. rsMatrixLoadMultiply(&left, &left, &right);
299 // is also the destination, e.g. rsMatrixLoadMultiply(&left, &left, &right);
321 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, argument
329 right->x = viewProj->m[3] - viewProj->m[0];
330 right->y = viewProj->m[7] - viewProj->m[4];
331 right->z = viewProj->m[11] - viewProj->m[8];
332 right->w = viewProj->m[15] - viewProj->m[12];
356 len = length(right->xyz);
357 *right /
369 rsIsSphereInFrustum(float4* sphere, float4* left, float4* right, float4* top, float4* bottom, float4* near, float4* far) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java153 clip.right = (int) (bitmapWidth - paddingRightPts * displayScale);
300 mediaBox.right = dstWidthPts;
321 cropBox.right = (int) (cropBox.right * scale + 0.5f);
327 // If in RTL mode put the content in the logical top-right corner.
344 clip.right -= paddingRightPts;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java39 * Render the text by breaking it into various scripts and using the right font for each script.
129 * @param isRtl is the text right-to-left
151 * Render a script run to the right of the bounds passed. Use the preferred font to render as
213 * Renders the text to the right of the bounds with the given font.
238 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline);
243 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline);
246 if (Math.abs(mBounds.right - mBounds.left) == 0) {
258 float right = (float) (left + awtRec.getWidth());
260 RectF androidRect = new RectF(left, top, right, bottom);
/frameworks/rs/
H A DrsRuntime.h104 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
106 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
108 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
214 void rsrMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right,
216 void rsrMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right,
/frameworks/base/libs/hwui/
H A DDeferredDisplayList.cpp87 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom);
116 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom,
127 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom));
130 uncovered.subtractSelf(android::Rect(r.left, r.top, r.right, r.bottom));
215 // right and bottom delta calculation reversed to account for direction
216 boundsDelta = opBounds.right - mBounds.right;
251 if (newClipSideFlags & kClipSide_Right) mClipRect.right = state->mClip.right;
275 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBound
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java338 mLayerBounds.right, mLayerBounds.bottom,
527 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
528 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
745 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
757 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
758 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
856 src.right, src.top,
857 src.right, src.bottom,
866 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExprModel.java131 public ComparisonExpr comparison(String op, Expr left, Expr right) { argument
132 return register(new ComparisonExpr(op, left, right));
210 public MathExpr math(Expr left, String op, Expr right) { argument
211 return register(new MathExpr(left, op, right));
214 public TernaryExpr logical(Expr left, String op, Expr right) { argument
216 // left && right
217 // left ? right : false
218 return register(new TernaryExpr(left, right, symbol("false", boolean.class)));
220 // left || right
221 // left ? true : right
226 bitshift(Expr left, String op, Expr right) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentTest.java212 padding.right, padding.bottom);
229 assertThat(recyclerView.getWidth(), is(width + padding.left + padding.right));
310 mOffsetX = mRvParentSize.right - mRvSize.right;
328 && mRawChildrenBox.right <= mRvSize.right - mRvPadding.right;
440 + ",r:" + (postInfo.right + mOffsetX)
487 int expectedW = mRawChildrenBox.width() + mRvPadding.left + mRvPadding.right;

Completed in 540 milliseconds

1234567891011>>