/frameworks/rs/ |
H A D | rsRuntime.h | 104 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); 202 void rsrMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right, 204 void rsrMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right,
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 536 public NetworkStats subtract(NetworkStats right) { argument 537 return subtract(this, right, null, null); 548 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 550 return subtract(left, right, observer, cookie, null); 565 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 567 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime; 570 observer.foundNonMonotonic(left, -1, right, -1, cookie); 592 final int j = right.findIndexHinted(entry.iface, entry.uid, entry.set, entry.tag, i); 602 entry.rxBytes = left.rxBytes[i] - right.rxBytes[j]; 603 entry.rxPackets = left.rxPackets[i] - right 783 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 329 * @param right The right padding of the new layer. 332 ChildDrawable addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, argument 341 childDrawable.mInsetR = right; 455 * @param r number of pixels to subtract from the right bound 536 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; 542 padding.right = 0; 553 padding.right += mPaddingR[i]; 561 padding.right = 0; 572 padding.right 605 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
H A D | DrawableContainer.java | 104 result = (r.left | r.top | r.bottom | r.right) != 0; 114 final int right = padding.right; 115 padding.left = right; 116 padding.right = left; 292 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 294 mHotspotBounds = new Rect(left, top, bottom, right); 296 mHotspotBounds.set(left, top, bottom, right); 300 mCurrDrawable.setHotspotBounds(left, top, right, bottom); 515 hotspotBounds.right, hotspotBound [all...] |
H A D | InsetDrawable.java | 252 padding.right += mState.mInsetRight; 266 contentInsets.right + mState.mInsetRight, 276 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 277 mState.mDrawable.setHotspotBounds(left, top, right, bottom); 358 r.right -= mState.mInsetRight; 361 mState.mDrawable.setBounds(r.left, r.top, r.right, r.bottom);
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 85 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom); 117 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom, 129 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom)); 132 uncovered.subtractSelf(android::Rect(r.left, r.top, r.right, r.bottom)); 216 // right and bottom delta calculation reversed to account for direction 217 boundsDelta = opBounds.right - mBounds.right; 268 if (newClipSideFlags & kClipSide_Right) mClipRect.right = state->mClip.right; 295 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBound [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 324 mFrame.right - Math.round(width * 0.25f), 329 mButtonFrame.right -= mSubpixelSmoothingRight; 335 mFrame.right -= mSubpixelSmoothingRight; 353 mShapePath.lineTo(mButtonFrame.right, mButtonFrame.top); 354 mShapePath.lineTo(mButtonFrame.right, mFrame.top); 355 mShapePath.lineTo(mFrame.right, mFrame.top); 356 mShapePath.lineTo(mFrame.right, mFrame.bottom); 366 final float br = mFrame.right - mFrame.width() / 7f; 369 || mBoltFrame.right != br || mBoltFrame.bottom != bb) {
|
H A D | ImageWallpaper.java | 464 final float right = left + mBackground.getWidth() * mScale; 468 c.clipRect(left, top, right, bottom, 474 RectF dest = new RectF(left, top, right, bottom); 487 final float right = left + mBackground.getWidth() * mScale; 494 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 541 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument 545 right, bottom, 0.0f, 1.0f, 1.0f, 547 right, top, 0.0f, 1.0f, 0.0f,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 337 mLayerBounds.right, mLayerBounds.bottom, 526 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 527 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 719 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 731 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 732 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 830 src.right, src.top, 831 src.right, src.bottom, 840 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 389 cropRect.right = Math.min(rotatedInSize[0], cropRect.right); 394 // Extend the crop all the way to the right, for parallax 398 extraSpace = 2f * Math.min(rotatedInSize[0] - cropRect.right, cropRect.left); 400 extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left; 408 cropRect.right += extraSpace / 2f; 411 cropRect.right += extraSpace; 686 mCropBounds.right /= scaleDownSampleSize; 692 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); 694 if (roundedTrueCrop.right > fullSiz [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 177 return right(widget, buffer); 257 * Performs a right movement action. 258 * Moves the cursor or scrolls right by one character. 264 protected boolean right(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 446 int right = Integer.MIN_VALUE; 449 if (lineRight > right) { 450 right = lineRight; 453 return right; 478 * Performs a scroll right action. 479 * Scrolls right b [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 72 jfieldID right; member in struct:android::__anon871 210 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); 256 env->SetIntField(dirtyRectObj, gRectClassInfo.right, dirtyRect.right); 475 gRectClassInfo.right = env->GetFieldID(clazz, "right", "I");
|
H A D | android_view_RenderNode.cpp | 121 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) { 122 android::uirenderer::Rect clipBounds(left, top, right, bottom); 143 jint right, jint bottom, jfloat radius, jfloat alpha) { 145 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom, 282 jobject clazz, jlong renderNodePtr, int right) { 283 return SET_AND_DIRTY(setRight, right, RenderNode::X); 293 int right, int bottom) { 295 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) { 120 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument 141 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 281 android_view_RenderNode_setRight(JNIEnv* env, jobject clazz, jlong renderNodePtr, int right) argument 291 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
|
/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); 289 printButtonLeft = right - mPrintButton.getMeasuredWidth() - params.getMarginStart(); 303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 85 int right = shadowSize - left; 87 int xStop = dstWidth - right; 89 int yStop = dstHeight - right; 99 int lastPixelOffset = right * dstWidth; 112 bufferOffset -= right; 122 a = dataBuffer[bufferOffset + right] >>> 24; 173 * @return the source image with a drop shadow on the bottom and right 200 * @return the source image with a drop shadow on the bottom and right 388 // After making the graphics, I cut out the top right, bottom left 389 // and bottom right corner [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 174 final int right = args.argi3; 176 handleOnRectangleOnScreenRequested(left, top, right, bottom); 242 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument 246 args.argi3 = right; 251 private void handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument 254 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 261 if (right - left > magnifFrameInScreenCoords.width()) { 266 scrollX = right - magnifFrameInScreenCoords.right; 270 } else if (right > magnifFrameInScreenCoord [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 106 * @param align whether to left, right, or center the text. Styles can 126 * @param align whether to left, right, or center the text. Styles can 240 int right = mWidth; 273 // Draw all leading margin spans. Adjust left or right according 293 margin.drawLeadingMargin(canvas, paint, right, dir, ltop, 296 right -= margin.getLeadingMargin(useFirstLineMargin); 333 x = right; 339 x = right - max; 345 x = (right + left - max) >> 1; 466 * Return the start position of the line, given the left and right bound 474 getLineStartPos(int line, int left, int right) argument [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 212 int32_t right, int32_t bottom); 223 int32_t *right, int32_t *bottom);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AMessage.h | 60 int32_t left, int32_t top, int32_t right, int32_t bottom); 77 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const;
|
/frameworks/base/cmds/wm/src/com/android/commands/wm/ |
H A D | Wm.java | 187 rect.right = Integer.parseInt(matcher.group(3)); 192 mWm.setOverscan(Display.DEFAULT_DISPLAY, rect.left, rect.top, rect.right, rect.bottom);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 92 mBounds.right - 1, mBounds.bottom - 1)) { 96 mBounds.right - 1, mBounds.bottom - 1);
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 118 int right = Math.round(bottomRight.x); 120 view.setLeftTopRightBottom(left, top, right, bottom); 135 int right = view.getRight(); 137 view.setLeftTopRightBottom(left, top, right, bottom); 152 int right = left + view.getWidth(); 154 view.setLeftTopRightBottom(left, top, right, bottom); 294 final int startRight = startBounds.right; 295 final int endRight = endBounds.right;
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 123 pageInfo.mContentRect.right, pageInfo.mContentRect.bottom)); 353 || contentRect.right > mPageInfo.mPageWidth
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameImage2D.java | 83 * top-left of the image and 1,1 is the bottom-right. 162 (int) srcRect.right * srcImage.getWidth(), 166 (int) dstRect.right * srcImage.getWidth(),
|
/frameworks/native/libs/gui/tests/ |
H A D | FillBuffer.cpp | 64 bool inside = rect.left <= x && x < rect.right && 68 bool inside = rect.left <= 2*x && 2*x < rect.right &&
|