/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.cpp | 63 region.orSelf(android::Rect(dirtyArea.left, dirtyArea.top, 85 const float u1 = r->left * texX; 90 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 92 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DismissViewButton.java | 58 outRect.left += translationX;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 387 cropRect.left = Math.max(0, cropRect.left); 394 // (or all the way to the left, in RTL) 397 extraSpace = 2f * Math.min(rotatedInSize[0] - cropRect.right, cropRect.left); 399 extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left; 406 cropRect.left -= extraSpace / 2f; 412 cropRect.left -= extraSpace; 682 mCropBounds.left /= scaleDownSampleSize; 691 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); 694 // Adjust the left valu [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplaySettings.java | 78 outRect.left = entry.overscanLeft; 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) { 102 entry.overscanLeft = left;
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
H A D | ClipRectTBAnimation.java | 80 tr.setClipRect(oldClipRect.left,
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
H A D | TouchLatencyActivity.java | 116 float left = mBallX - BALL_RADIUS; 117 if (left < 0) { 118 left = 0; 142 canvas.drawOval(left, top, right, bottom, mYellowPaint);
|
/frameworks/native/services/vr/hardware_composer/tests/ |
H A D | vr_composer_test.cpp | 132 ASSERT_EQ(frame.layers[0].display_frame.left, 133 received_frame.layers[0].display_frame.left); 140 ASSERT_EQ(frame.layers[0].crop.left, received_frame.layers[0].crop.left);
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | Healing.java | 59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); 61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); 90 Bitmap destBitmap = createMutableBitmap(image, mRoiBounds.left, mRoiBounds.top, 141 c.drawBitmap(destBitmap, mRoiBounds.left, mRoiBounds.top, null);
|
/frameworks/support/compat/java/android/support/v4/app/ |
H A D | SharedElementCallback.java | 200 mTempMatrix.postTranslate(-screenBounds.left, -screenBounds.top); 229 int left = existingBounds.left; 235 drawable.setBounds(left, top, right, bottom);
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | ViewOverlayApi14.java | 296 int left = child.getLeft(); 304 dirty.offset(left + offset[0], top + offset[1]); 313 protected ViewParent invalidateChildInParentFast(int left, int top, Rect dirty) { argument 318 sInvalidateChildInParentFastMethod.invoke(mHostView, left, top, dirty);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ContentFrameLayout.java | 86 public void setDecorPadding(int left, int top, int right, int bottom) { argument 87 mDecorPadding.set(left, top, right, bottom); 112 w -= (mDecorPadding.left + mDecorPadding.right); 156 min -= (mDecorPadding.left + mDecorPadding.right);
|
H A D | Toolbar.java | 1154 * @param contentInsetLeft Content inset for the toolbar's left edge 1171 * Gets the left content inset for this toolbar. 1177 * @return The left content inset for this toolbar 1329 * Gets the content inset that will be used on the left side of the bar in the current 1332 * @return the current content inset left in pixels 1710 int left = paddingLeft; 1725 left = layoutChildLeft(mNavButtonView, left, collapsingMargins, 1735 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin 1939 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Toolbar.java | 1168 * @param contentInsetLeft Content inset for the toolbar's left edge 1185 * Gets the left content inset for this toolbar. 1191 * @return The left content inset for this toolbar 1343 * Gets the content inset that will be used on the left side of the bar in the current 1346 * @return the current content inset left in pixels 1706 int left = paddingLeft; 1721 left = layoutChildLeft(mNavButtonView, left, collapsingMargins, 1731 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin 1935 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 412 bool setLeft(int left) { argument 413 if (RP_SET(mPrimitiveFields.mLeft, left)) { 472 bool setLeftTop(int left, int top) { argument 473 bool leftResult = setLeft(left); 478 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 479 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 481 mPrimitiveFields.mLeft = left;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight()); 276 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right, 283 mDynamicContent.layout(left, dynContentTop, right, dynContentBottom); 291 printButtonLeft = left + params.getMarginStart(); 303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom); 402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
|
/frameworks/native/libs/binder/tests/ |
H A D | schd-dbg.cpp | 87 cout << setw(12) << left << prefix << " pid: " << getpid() 95 cout << setw(12) << left << s << param.sched_priority << endl; 250 cout << setprecision(DUMP_PRESICION) << "{ \"avg\":" << setw(W) << left 251 << average << ",\"wst\":" << setw(W) << left << worst 252 << ",\"bst\":" << setw(W) << left << best << ",\"miss\":" << left 253 << m_miss << ",\"meetR\":" << left << setprecision(DUMP_PRESICION + 3)
|
/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.cpp | 29 short left; member in struct:__anon2109 244 mixBuffer->left += (short) (source->left * track->mGains[0]); 250 mixBuffer->left += source->left; 258 mixBuffer->left = (short) (source->left * track->mGains[0]);
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 81 return new PointF(mBounds.left, mBounds.top); 115 int left = view.getLeft(); 119 view.setLeftTopRightBottom(left, top, right, bottom); 132 int left = Math.round(topLeft.x); 136 view.setLeftTopRightBottom(left, top, right, bottom); 149 int left = Math.round(topLeft.x); 151 int right = left + view.getWidth(); 153 view.setLeftTopRightBottom(left, top, right, bottom); 290 final int startLeft = startBounds.left; 291 final int endLeft = endBounds.left; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
H A D | PipTouchHandler.java | 282 bounds.offsetTo(bounds.left, toMovementBounds.bottom); 290 bounds.offsetTo(bounds.left, toMovementBounds.bottom); 539 // Whether the PiP was on the left side of the screen at the start of the gesture 548 mStartedOnLeft = mMotionHelper.getBounds().left < mMovementBounds.centerX(); 583 float left = mTmpBounds.left + lastDelta.x; 586 left = Math.max(mMovementBounds.left, Math.min(mMovementBounds.right, left)); 594 mTmpBounds.offsetTo((int) left, (in [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 339 mLayerBounds.left, mLayerBounds.top, 529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 597 // then go to previous layer, only if there are any left, and its flags 668 // upper left coordinates. 748 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 760 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 761 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 839 src.left, sr [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestProperties.cpp | 396 dmp << "\tdisplay frame: left " << displayFrame.left << ", top " 413 static_cast<int>(frectScalar.left * mDisplayArea.width), 480 dmp << "\tsource crop: left " << sourceCrop.left << ", top " 503 frectScalar.left * mBufferArea.width, 551 dmp << "\t\trect: left " << rect.left << ", top " << rect.top 586 rects[i].left = regionScalar[i].left * mBufferAre [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_matrix.c | 242 // 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 324 left->x = viewProj->m[3] + viewProj->m[0]; 325 left->y = viewProj->m[7] + viewProj->m[4]; 326 left 369 rsIsSphereInFrustum(float4* sphere, float4* left, float4* right, float4* top, float4* bottom, float4* near, float4* far) argument [all...] |
/frameworks/support/transition/src/android/support/transition/ |
H A D | ChangeBounds.java | 81 return new PointF(mBounds.left, mBounds.top); 115 int left = view.getLeft(); 119 ViewUtils.setLeftTopRightBottom(view, left, top, right, bottom); 132 int left = Math.round(topLeft.x); 136 ViewUtils.setLeftTopRightBottom(view, left, top, right, bottom); 149 int left = Math.round(topLeft.x); 151 int right = left + view.getWidth(); 153 ViewUtils.setLeftTopRightBottom(view, left, top, right, bottom); 274 final int startLeft = startBounds.left; 275 final int endLeft = endBounds.left; [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | DiffUtil.java | 141 // add new ranges for left and right 142 final Range left = rangePool.isEmpty() ? new Range() : rangePool.remove( 144 left.oldListStart = range.oldListStart; 145 left.newListStart = range.newListStart; 147 left.oldListEnd = snake.x; 148 left.newListEnd = snake.y; 151 left.oldListEnd = snake.x - 1; 152 left.newListEnd = snake.y; 154 left.oldListEnd = snake.x; 155 left [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AlertDialogLayout.java | 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 276 final int width = right - left; 355 private void setChildFrame(View child, int left, int top, int width, int height) { argument 356 child.layout(left, top, left + width, top + height);
|