/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 459 // was moved to the upper left corner. 464 const int x = targetBounds.left; 472 // Check if we have to draw something on the left side ... 473 if (targetBounds.left < contentBounds.left) { 475 if (mCanvas->clipRect(targetBounds.left, targetBounds.top, 476 contentBounds.left, targetBounds.bottom, 481 targetBounds.left = std::min(contentBounds.left, targetBounds.right); 494 targetBounds.right = std::max(targetBounds.left, contentBound 525 const float left = mContentDrawBounds.left; local [all...] |
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 51 EXPECT_TRUE(MathUtils::areEqual(a.left, b.left) \ 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 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/connectivity/ |
H A D | IpConnectivityMetrics.java | 103 final int left = mCapacity - mBuffer.size(); 105 return left; 107 if (left == 0) { 112 return left - 1;
|
/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/rs/java/tests/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/design/honeycomb/android/support/design/widget/ |
H A D | ViewGroupUtilsHoneycomb.java | 48 rect.set((int) (rectF.left + 0.5f), (int) (rectF.top + 0.5f),
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | ExploreByTouchHelperActivity.java | 77 // Adds an item at the top-left quarter of the custom view. 138 * @param left Left coordinate as a fraction of the parent width, range 145 public void addItem(String description, float top, float left, float bottom, float right) { argument 147 item.bounds = new RectF(top, left, bottom, right); 222 out.left = (int) (in.left * width);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
H A D | ExploreByTouchHelperActivity.java | 77 // Adds an item at the top-left quarter of the custom view. 138 * @param left Left coordinate as a fraction of the parent width, range 145 public void addItem(String description, float top, float left, float bottom, float right) { argument 147 item.bounds = new RectF(top, left, bottom, right); 222 out.left = (int) (in.left * width);
|
/frameworks/support/transition/ics/android/support/transition/ |
H A D | ViewOverlay.java | 313 int left = child.getLeft(); 321 dirty.offset(left + offset[0], top + offset[1]); 330 protected ViewParent invalidateChildInParentFast(int left, int top, Rect dirty) { argument 335 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 | 1157 * @param contentInsetLeft Content inset for the toolbar's left edge 1174 * Gets the left content inset for this toolbar. 1180 * @return The left content inset for this toolbar 1332 * Gets the content inset that will be used on the left side of the bar in the current 1335 * @return the current content inset left in pixels 1715 int left = paddingLeft; 1730 left = layoutChildLeft(mNavButtonView, left, collapsingMargins, 1740 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin 1944 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Toolbar.java | 1147 * @param contentInsetLeft Content inset for the toolbar's left edge 1164 * Gets the left content inset for this toolbar. 1170 * @return The left content inset for this toolbar 1322 * Gets the content inset that will be used on the left side of the bar in the current 1325 * @return the current content inset left in pixels 1685 int left = paddingLeft; 1699 left = layoutChildLeft(mNavButtonView, left, collapsingMargins, 1709 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin 1913 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 410 bool setLeft(int left) { argument 411 if (RP_SET(mPrimitiveFields.mLeft, left)) { 470 bool setLeftTop(int left, int top) { argument 471 bool leftResult = setLeft(left); 476 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 477 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 479 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/wilhelm/src/itf/ |
H A D | IOutputMixExt.c | 29 short left; member in struct:__anon1761 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 | 82 return new PointF(mBounds.left, mBounds.top); 116 int left = view.getLeft(); 120 view.setLeftTopRightBottom(left, top, right, bottom); 133 int left = Math.round(topLeft.x); 137 view.setLeftTopRightBottom(left, top, right, bottom); 150 int left = Math.round(topLeft.x); 152 int right = left + view.getWidth(); 154 view.setLeftTopRightBottom(left, top, right, bottom); 290 final int startLeft = startBounds.left; 291 final int endLeft = endBounds.left; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 337 mLayerBounds.left, mLayerBounds.top, 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); 595 // then go to previous layer, only if there are any left, and its flags 665 // upper left coordinates. 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, 855 src.left, sr [all...] |
/frameworks/native/include/ui/ |
H A D | mat4.h | 134 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 - left); [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/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);
|