Searched refs:right (Results 151 - 175 of 501) sorted by relevance

1234567891011>>

/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);
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 DNetworkStats.java536 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 DLayerDrawable.java329 * @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 DDrawableContainer.java104 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 DInsetDrawable.java252 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 DDeferredDisplayList.cpp85 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 DBatteryMeterView.java324 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 DImageWallpaper.java464 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 DGcSnapshot.java337 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 DWallpaperCropActivity.java389 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 DBaseMovementMethod.java177 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 Dandroid_view_Surface.cpp72 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 Dandroid_view_RenderNode.cpp121 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 DPrintContentView.java272 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 DShadowPainter.java85 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 DScreenMagnifier.java174 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 DLayout.java106 * @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 DMetaData.h212 int32_t right, int32_t bottom);
223 int32_t *right, int32_t *bottom);
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h60 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 DWm.java187 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 DSoftInputWindow.java92 mBounds.right - 1, mBounds.bottom - 1)) {
96 mBounds.right - 1, mBounds.bottom - 1);
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java118 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 DPdfDocument.java123 pageInfo.mContentRect.right, pageInfo.mContentRect.bottom));
353 || contentRect.right > mPageInfo.mPageWidth
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java83 * 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 DFillBuffer.cpp64 bool inside = rect.left <= x && x < rect.right &&
68 bool inside = rect.left <= 2*x && 2*x < rect.right &&

Completed in 6171 milliseconds

1234567891011>>