Searched defs:right (Results 51 - 75 of 242) sorted by relevance

12345678910

/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java196 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
197 super.onLayout(changed, left, top, right, bottom);
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp136 /*right*/activeAreaWidth - 1,
154 /*right*/activeAreaWidth - 1,
172 /*right*/activeAreaWidth - 1,
190 /*right*/activeAreaWidth - 1,
209 uint32_t right,
251 right,
206 addGainMap(uint32_t top, uint32_t left, uint32_t bottom, uint32_t right, uint32_t plane, uint32_t planes, uint32_t rowPitch, uint32_t colPitch, uint32_t mapPointsV, uint32_t mapPointsH, double mapSpacingV, double mapSpacingH, double mapOriginV, double mapOriginH, uint32_t mapPlanes, const float* mapGains) argument
/frameworks/av/media/libstagefright/
H A DMetaData.cpp83 int32_t right, int32_t bottom) {
87 r.mRight = right;
172 int32_t *right, int32_t *bottom) {
185 *right = r->mRight;
80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
/frameworks/base/core/java/android/net/
H A DNetworkUtils.java301 public static boolean addressTypeMatches(InetAddress left, InetAddress right) { argument
302 return (((left instanceof Inet4Address) && (right instanceof Inet4Address)) ||
303 ((left instanceof Inet6Address) && (right instanceof Inet6Address)));
/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/java/android/view/
H A DHardwareLayer.java154 int left, int top, int right, int bottom);
153 nUpdateRenderLayer(long layerUpdater, long displayList, int left, int top, int right, int bottom) argument
H A DWindowInsets.java138 * Returns the right system window inset in pixels.
144 * @return The right system window inset
147 return mSystemWindowInsets.right;
192 * Returns the right window decor inset in pixels.
198 * @return The right window decor inset
202 return mWindowDecorInsets.right;
230 mSystemWindowInsets.right != 0 || mSystemWindowInsets.bottom != 0;
245 mWindowDecorInsets.right != 0 || mWindowDecorInsets.bottom != 0;
277 * <p>A round window's left, top, right and bottom edges reach all the way to the
305 * @param right tru
310 consumeSystemWindowInsets(boolean left, boolean top, boolean right, boolean bottom) argument
334 replaceSystemWindowInsets(int left, int top, int right, int bottom) argument
368 consumeWindowDecorInsets(boolean left, boolean top, boolean right, boolean bottom) argument
384 replaceWindowDecorInsets(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java321 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
322 super.internalSetPadding(left, top, right, bottom);
388 final int right;
391 right = left + mCheckMarkWidth;
393 right = width - mBasePadding;
394 left = right - mCheckMarkWidth;
396 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
401 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java241 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp73 jfieldID right; member in struct:android::__anon852
173 rect.right = GET_INT(dirtyRect, gRectClassInfo.right);
206 clipRect.set(rect.left, rect.top, rect.right, rect.bottom);
212 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
318 GET_FIELD_ID(gRectClassInfo.right, clazz, "right", "I");
H A Dandroid_view_TextureView.cpp44 jfieldID right; member in struct:android::__anon878
149 rect.right = GET_INT(dirtyRect, gRectClassInfo.right);
174 clipRect.set(rect.left, rect.top, rect.right, rect.bottom);
180 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
233 GET_FIELD_ID(gRectClassInfo.right, clazz, "right", "I");
/frameworks/base/graphics/java/android/graphics/
H A DRect.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
36 public int right; field in class:Rect
61 * checking is performed, so the caller must ensure that left <= right and
66 * @param right The X coordinate of the right side of the rectangle
69 public Rect(int left, int top, int right, int bottom) { argument
72 this.right = right;
85 left = top = right
259 set(int left, int top, int right, int bottom) argument
351 contains(int left, int top, int right, int bottom) argument
392 intersect(int left, int top, int right, int bottom) argument
455 intersects(int left, int top, int right, int bottom) argument
483 union(int left, int top, int right, int bottom) argument
[all...]
H A DRectF.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
36 public float right; field in class:RectF
46 * checking is performed, so the caller must ensure that left <= right and
51 * @param right The X coordinate of the right side of the rectangle
54 public RectF(float left, float top, float right, float bottom) { argument
57 this.right = right;
70 left = top = right
198 set(float left, float top, float right, float bottom) argument
303 contains(float left, float top, float right, float bottom) argument
345 intersect(float left, float top, float right, float bottom) argument
418 intersects(float left, float top, float right, float bottom) argument
467 union(float left, float top, float right, float bottom) argument
[all...]
/frameworks/base/libs/hwui/
H A DDamageAccumulator.cpp213 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { argument
214 mHead->pendingDirty.join(left, top, right, bottom);
H A DLayer.cpp182 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument
185 const Rect r(left, top, right, bottom);
248 dirtyRect.right >= width && dirtyRect.bottom >= height)) {
260 dirtyRect.right, dirtyRect.bottom, !isBlend());
284 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom,
303 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom,
H A DRect.h32 (r).left, (r).top, (r).right, (r).bottom
34 (r).left(), (r).top(), (r).right(), (r).bottom()
44 float right; member in class:android::uirenderer::Rect
56 right(0),
60 inline Rect(float left, float top, float right, float bottom): argument
63 right(right),
70 right(width),
77 right(rect.fRight),
90 left = top = right
103 set(float left, float top, float right, float bottom) argument
[all...]
H A DSnapshot.cpp93 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom);
110 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument
112 tmp.set(left, top, right, bottom);
126 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument
127 Rect r(left, top, right, bottom);
139 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op);
150 setClip(r.left, r.top, r.right, r.bottom);
156 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op);
168 void Snapshot::setClip(float left, float top, float right, float bottom) { argument
169 clipRect->set(left, top, right, botto
190 resetClip(float left, float top, float right, float bottom) argument
[all...]
H A DStatefulBaseRenderer.cpp153 bool StatefulBaseRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
155 mDirtyClip |= mSnapshot->clip(left, top, right, bottom, op);
160 path.addRect(left, top, right, bottom);
180 clip.setRect(bounds->left, bounds->top, bounds->right, bounds->bottom);
205 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op);
233 float right, float bottom,
236 if (mSnapshot->isIgnored() || bottom <= top || right <= left) {
240 Rect r(left, top, right, bottom);
274 float right, float bottom) const {
275 if (mSnapshot->isIgnored() || bottom <= top || right <
232 calculateQuickRejectForScissor(float left, float top, float right, float bottom, bool* clipRequired, bool* roundRectClipRequired, bool snapOut) const argument
273 quickRejectConservative(float left, float top, float right, float bottom) const argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp229 int32_t left, top, right, bottom; local
230 CHECK(msg->findRect(key, &left, &top, &right, &bottom));
250 StringPrintf("%s-right", key).c_str(),
251 right);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRationalTest.java439 private static <T extends Comparable<? super T>> void assertLessThan(T left, T right) { argument
440 assertTrue("Expected (LR) left " + left + " to be less than right " + right,
441 left.compareTo(right) < 0);
442 assertTrue("Expected (RL) left " + left + " to be less than right " + right,
443 right.compareTo(left) > 0);
446 private static <T extends Comparable<? super T>> void assertGreaterThan(T left, T right) { argument
447 assertTrue("Expected (LR) left " + left + " to be greater than right " + right,
453 assertCompareEquals(T left, T right) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java88 * @param right
92 public static void gluOrtho2D(GL10 gl, float left, float right, argument
94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f);
116 float right = top * aspect;
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewThumbnail.java105 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
106 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java81 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
82 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUserAvatarView.java128 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
129 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java182 int left, int top, int right, int bottom) {
189 regionDelegate.mArea.contains(left, top, right - left, bottom - top);
194 int left, int top, int right, int bottom) {
201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false;
296 int left, int top, int right, int bottom) {
302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top));
337 rect.left = rect.top = rect.right = rect.bottom = 0;
343 rect.right = bounds.x + bounds.width;
371 int left, int top, int right, int bottom, int op) {
378 new Rectangle2D.Float(left, top, right
181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument
193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument
295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]

Completed in 376 milliseconds

12345678910