Searched refs:right (Results 101 - 125 of 501) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
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 DDisplayListOp.h241 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
242 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {}
254 mLocalBounds.right = fmaxf(mLocalBounds.right, points[i]);
338 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument
339 : mArea(left, top, right, bottom)
346 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
347 : mArea(left, top, right, bottom)
361 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom,
366 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mAre
547 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument
838 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument
999 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1026 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1076 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1107 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
1178 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1195 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
[all...]
H A DMatrix.cpp375 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
378 data[kScaleX] = 2.0f / (right - left);
381 data[kTranslateX] = -(right + left) / (right - left);
424 MUL_ADD_STORE(r.right, data[kScaleX], data[kTranslateX]);
428 if (r.left > r.right) {
430 r.left = r.right;
431 r.right = x;
445 r.right, r.top,
446 r.right,
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DBlackFrame.java126 outer.left, outer.top, inner.right, inner.top, layerStack);
134 inner.left, inner.bottom, outer.right, outer.bottom, layerStack);
136 if (outer.right > inner.right) {
138 inner.right, outer.top, outer.right, inner.bottom, layerStack);
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c53 short right; member in struct:__anon1669
154 sine[i].right = sine[i].left;
158 square[i].right = square[i].left;
162 sawtooth[i].right = sawtooth[i].left;
166 half[i].right = sawtooth[i].right / 2;
/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/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...]
H A DCanvas_Delegate.java373 float right, float bottom,
381 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
447 bounds.right = rect.x + rect.width;
481 float right, float bottom) {
571 final float left, final float top, final float right, final float bottom, long paint) {
583 (int)(right-left), (int)(bottom-top));
589 (int)(right-left), (int)(bottom-top));
597 final float top, final float right, final float bottom, long paint) {
598 if (right > left && bottom > top) {
609 (int)(right
371 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
479 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
570 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
596 native_drawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
631 native_drawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument
663 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument
1048 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
H A DNinePatch_Delegate.java179 (int) loc.left, (int) loc.top, (int) loc.right, (int) loc.bottom,
188 loc.left, loc.top, loc.right, loc.bottom,
201 final int left, final int top, final int right, final int bottom,
220 (float)left, (float)top, (float)right, (float)bottom,
243 left, top, right - left, bottom - top, destDensity, srcDensity);
200 draw(long canvas_instance, final int left, final int top, final int right, final int bottom, long bitmap_instance, long chunk, long paint_instance_or_null, final int destDensity, final int srcDensity) argument
/frameworks/rs/
H A DrsMatrix4x4.cpp254 // is also the destination, e.g. left.loadMultiply(left, right);
276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
278 m[0] = 2.f / (right - left);
281 m[12]= -(right + left) / (right - left);
286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument
288 m[0] = 2.f * near / (right - left);
290 m[8] = (right + left) / (right - left);
302 float right local
[all...]
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java842 * if leftFocus is true, or at the right of the bounds if leftFocus
877 * if leftFocus is true, or at the right of the bounds if
881 * @param right the right offset of the bounds in which a focusable must
886 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument
893 * left, and its right is above the bound's right. A partially
906 if (left < viewRight && viewLeft < right) {
913 (viewRight < right);
955 * method will scroll the view by one page left or right an
1032 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DFastScroller.java104 * Preview image resource IDs for left- and right-aligned layouts. See
184 /** Whether decorations should be laid out from right to left. */
486 mPreviewImage.setPadding(padding.left, padding.top, padding.right, padding.bottom);
572 bounds.right += mPreviewImage.getPaddingRight();
588 view.layout(bounds.left, bounds.top, bounds.right, bounds.bottom);
589 view.setPivotX(mLayoutFromRight ? bounds.right - bounds.left : 0);
605 margins.right = mPreviewImage.getPaddingRight();
637 marginRight = margins.right;
656 // Align to the left or right.
659 final int right;
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DMultiPaneChallengeLayout.java335 padding.right = getPaddingRight();
383 final int paddedWidth = width - padding.left - padding.right;
402 int right = left + childWidth;
433 right = left + childWidth;
435 padding.left = right;
436 padding.right += childWidth / 2;
440 right = fixedLayoutHorizontal
441 ? width - padding.right - (adjustedWidth - childWidth) / 2
442 : width - padding.right;
443 left = right
[all...]
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h110 { return bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); }
122 { return const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); }
133 { return dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); }
145 { return const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); }
165 { return iterator(BinaryTreeBase<Input>::m_Root.node.right); }
174 { return const_iterator(BinaryTreeBase<Input>::m_Root.node.right); }
210 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdFillRow7.s31 right RN 4 label
61 LDR right, [sp,#0x10]
169 CMP right,#0
175 SUBS right, right, #1
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdFillRow7.S31 #define right r4 define
45 i32 right);
52 LDR right, [sp,#0x10]
130 CMP right,#0
136 SUBS right, right, #1
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h99 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
102 Area(int left, int top, int right, int bottom, int weight): argument
103 left(left), top(top), right(right), bottom(bottom),
106 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
/frameworks/base/core/java/android/text/
H A DAutoText.java56 private static final int RIGHT = 9300; // Size of 'right' 13 Aug 2007
164 StringBuilder right = new StringBuilder(RIGHT);
190 off = (char) right.length();
191 right.append((char) dest.length());
192 right.append(dest);
209 mText = right.toString();
226 // end, so fill in the right hand side fields.
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeProgressBar.java103 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom);
232 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom);
269 void setBounds(int left, int top, int right, int bottom) { argument
272 mBounds.right = right;
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp121 jlong rendererPtr, jint left, jint top, jint right, jint bottom,
124 return renderer->prepareDirty(left, top, right, bottom, opaque);
208 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom,
212 return renderer->saveLayer(left, top, right, bottom, paint, saveFlags);
220 return renderer->saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom,
225 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom,
228 return renderer->saveLayerAlpha(left, top, right, bottom, alpha, saveFlags);
235 return renderer->saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom,
244 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom) {
246 const bool result = renderer->quickRejectConservative(left, top, right, botto
120 android_view_GLES20Canvas_prepareDirty(JNIEnv* env, jobject clazz, jlong rendererPtr, jint left, jint top, jint right, jint bottom, jboolean opaque) argument
207 android_view_GLES20Canvas_saveLayer(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr, jint saveFlags) argument
224 android_view_GLES20Canvas_saveLayerAlpha(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jint alpha, jint saveFlags) argument
243 android_view_GLES20Canvas_quickReject(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
250 android_view_GLES20Canvas_clipRectF(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jint op) argument
259 android_view_GLES20Canvas_clipRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jint left, jint top, jint right, jint bottom, jint op) argument
437 android_view_GLES20Canvas_drawPatch(JNIEnv* env, jobject clazz, jlong rendererPtr, jlong bitmapPtr, jlong patchPtr, float left, float top, float right, float bottom, jlong paintPtr) argument
455 android_view_GLES20Canvas_drawRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr) argument
463 android_view_GLES20Canvas_drawRoundRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintPtr) argument
502 android_view_GLES20Canvas_drawOval(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr) argument
510 android_view_GLES20Canvas_drawArc(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintPtr) argument
[all...]
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");
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp32 memset(&right, 0, sizeof(state));
83 out[outputIndex++] += vr * interp(&right, x);
110 advance(&right, in[inputIndex*2+1]);
/frameworks/base/core/tests/coretests/src/android/util/
H A DDayOfMonthCursorTest.java83 assertFalse(mc.right());
89 assertFalse(mc.right());
95 assertTrue(mc.right());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java62 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
72 parentRight = (int)(pivotX + (right - left - pivotX) / mLayoutScaleX + 0.5f)
76 parentRight = right - left - getPaddingRight();
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp229 if (abs(r1.right - r2.right) > tolerance) {
233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right);
243 r1.left, r1.top, r1.right, r1.bottom,
244 r2.left, r2.top, r2.right, r2.bottom);

Completed in 712 milliseconds

1234567891011>>