Searched refs:right (Results 26 - 50 of 328) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DOpenGLRenderer.h107 * @param right The right coordinate of the dirty rectangle
113 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
149 virtual int saveLayer(float left, float top, float right, float bottom,
151 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
164 ANDROID_API bool quickReject(float left, float top, float right, float bottom);
165 bool quickRejectNoScissor(float left, float top, float right, float bottom);
166 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
183 float left, float top, float right, float bottom, SkPaint* paint);
186 float left, float top, float right, floa
[all...]
H A DLayerRenderer.h51 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
52 virtual status_t clear(float left, float top, float right, float bottom, bool opaque);
H A DOpenGLRenderer.cpp172 status_t OpenGLRenderer::prepareDirty(float left, float top, float right, float bottom, argument
181 mSnapshot->setClip(left, top, right, bottom);
190 left <= 0.0f && top <= 0.0f && right >= mWidth && bottom >= mHeight) {
207 return clear(left, top, right, bottom, opaque);
210 status_t OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument
213 mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top);
240 clip->right - clip->left, clip->bottom - clip->top, opaque);
398 info.clipRight = clip.right;
452 clip->right - clip->left, clip->bottom - clip->top);
481 renderer->prepareDirty(dirty.left, dirty.top, dirty.right, dirt
601 saveLayer(float left, float top, float right, float bottom, SkPaint* p, int flags) argument
623 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int flags) argument
685 createLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) argument
1088 dirtyLayer(const float left, const float top, const float right, const float bottom, const mat4 transform) argument
1097 dirtyLayer(const float left, const float top, const float right, const float bottom) argument
1222 quickRejectNoScissor(float left, float top, float right, float bottom) argument
1237 quickRejectNoScissor(float left, float top, float right, float bottom, Rect& transformed, Rect& clip) argument
1253 quickRejectPreStroke(float left, float top, float right, float bottom, SkPaint* paint) argument
1262 quickReject(float left, float top, float right, float bottom) argument
1282 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument
1424 setupDrawModelViewTranslate(float left, float top, float right, float bottom, bool ignoreTransform) argument
1440 setupDrawModelView(float left, float top, float right, float bottom, bool ignoreTransform, bool ignoreModelView) argument
1664 const float right = left + bitmap->width(); local
1710 const float right = left + bitmap->width(); local
1735 float right = FLT_MIN; local
1862 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument
1873 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode) argument
2189 const float right = fmax(p1.x, fmax(p2.x, fmax(p3.x, p4.x))); local
2316 float right = points[i] + halfWidth; local
2353 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, SkPaint* p) argument
2402 drawOval(float left, float top, float right, float bottom, SkPaint* p) argument
2425 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* p) argument
2464 drawRect(float left, float top, float right, float bottom, SkPaint* p) argument
3031 drawColorRect(float left, float top, float right, float bottom, int color, SkXfermode::Mode mode, bool ignoreTransform) argument
3054 drawTextureRect(float left, float top, float right, float bottom, Texture* texture, SkPaint* paint) argument
3078 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument
3084 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DVideoEditorResampler.h28 void LVAudiosetVolume(M4OSA_Context resamplerContext, M4OSA_Int16 left, M4OSA_Int16 right) ;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dms_stereo.c107 Word32 left, right; local
109 right = (mdctSpectrumRight[j] >> 1);
110 mdctSpectrumLeft[j] = left + right;
111 mdctSpectrumRight[j] = left - right;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java59 float left, top, right, bottom;
62 right = left + MathUtils.random(getWidth() - left);
66 path.lineTo(right, top);
67 path.lineTo(right, bottom);
H A DGradientsActivity.java222 float right = 40.0f + mDrawWidth;
230 mMatrix.postTranslate(right, top);
232 canvas.drawRect(right - mDrawWidth, top, right, top + mDrawHeight, mPaint);
240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint);
243 right += 40.0f + mDrawWidth;
251 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint);
262 right = left + mDrawWidth;
271 mMatrix.postTranslate(right, top);
273 canvas.drawRect(left, top, right, botto
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java174 int left, int top, int right, int bottom);
236 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom,
244 private static native int nPrepareDirty(int renderer, int left, int top, int right, int bottom, argument
439 mPathBounds.right, mPathBounds.bottom, Region.Op.INTERSECT.nativeInt);
447 mPathBounds.right, mPathBounds.bottom, op.nativeInt);
451 public boolean clipRect(float left, float top, float right, float bottom) { argument
452 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
456 float right, float bottom, int op);
459 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument
460 return nClipRect(mRenderer, left, top, right, botto
173 nUpdateRenderLayer(int layerId, int renderer, int displayList, int left, int top, int right, int bottom) argument
455 nClipRect(int renderer, float left, float top, float right, float bottom, int op) argument
464 clipRect(int left, int top, int right, int bottom) argument
468 nClipRect(int renderer, int left, int top, int right, int bottom, int op) argument
517 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
521 nQuickReject(int renderer, float left, float top, float right, float bottom, int edge) argument
626 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument
642 nSaveLayer(int renderer, float left, float top, float right, float bottom, int paint, int saveFlags) argument
657 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument
665 nSaveLayerAlpha(int renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument
728 nDrawArc(int renderer, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, int paint) argument
751 nDrawPatch(int renderer, int bitmap, byte[] buffer, byte[] chunks, float left, float top, float right, float bottom, int paint) argument
841 nDrawBitmap(int renderer, int bitmap, byte[] buffer, float srcLeft, float srcTop, float srcRight, float srcBottom, float left, float top, float right, float bottom, int paint) argument
987 nDrawOval(int renderer, float left, float top, float right, float bottom, int paint) argument
1118 drawRect(float left, float top, float right, float bottom, Paint paint) argument
1128 nDrawRect(int renderer, float left, float top, float right, float bottom, int paint) argument
1157 nDrawRoundRect(int renderer, float left, float top, float right, float bottom, float rx, float y, int paint) argument
[all...]
H A DFocusFinder.java125 // make up a rect at top left or bottom right of root
286 * @param direction the direction (up, down, left, right)
384 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
387 return (srcRect.left < destRect.left || srcRect.right <= destRect.left)
388 && srcRect.right < destRect.right;
403 * @param direction the direction (up, down, left, right)
415 return (rect2.right >
[all...]
H A DDisplayList.java285 * Sets the right value for the DisplayList
287 * @param right The right value of the DisplayList
290 public abstract void setRight(int right); argument
318 public abstract void setLeftTopRightBottom(int left, int top, int right, int bottom); argument
321 * Offsets the left and right values for the DisplayList
323 * @param offset The amount that the left and right values of the DisplayList are offset
/frameworks/base/graphics/java/android/graphics/
H A DLargeBitmap.java64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight())
67 rect.right - rect.left, rect.bottom - rect.top, options);
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css13 padding-right:4ex;
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java151 public void setPadding(int left, int top, int right, int bottom) { argument
155 super.setPadding(left, top, right, bottom);
262 final int right = mCurrText.getRight() + mTabPadding;
266 canvas.drawRect(left, top, right, bottom, mTabPaint);
280 int right = mCurrText.getRight() + mTabPadding;
283 r.set(left, top, right, bottom);
289 right = mCurrText.getRight() + mTabPadding;
290 r.union(left, top, right, bottom);
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java40 int right, int bottom) {
41 view.postInvalidate(left, top, right, bottom);
39 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditor.java246 int left, right, top, bottom;
259 right = overlayCanvas.getWidth();
266 right = left + newWidth;
270 destRect = new Rect(left, top, right, bottom);
277 int left, right, top, bottom;
289 right = mOverlayBitmap.getWidth();
296 right = left + newWidth;
300 srcRect = new Rect(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsScrollViewPerformanceHelper.java82 int left, int right, int top, int bottom, int scrollX, int scrollY,
118 if (!mIsVertical && (left + length > right - length)) {
119 length = (right - left) / 2;
140 canvas.drawRect(left, top, right, top + length, p);
148 canvas.drawRect(left, bottom - length, right, bottom, p);
162 matrix.postTranslate(right, top);
164 canvas.drawRect(right - length, top, right, bottom, p);
81 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength) argument
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java825 * if leftFocus is true, or at the right of the bounds if leftFocus
860 * if leftFocus is true, or at the right of the bounds if
864 * @param right the right offset of the bounds in which a focusable must
869 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument
876 * left, and its right is above the bound's right. A partially
889 if (left < viewRight && viewLeft < right) {
896 (viewRight < right);
938 * method will scroll the view by one page left or right an
1015 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DCheckedTextView.java176 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
177 super.internalSetPadding(left, top, right, bottom);
237 final int right;
240 right = left + mCheckMarkWidth;
242 right = width - mBasePadding;
243 left = right - mCheckMarkWidth;
245 checkMarkDrawable.setBounds( left, top, right, bottom);
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css83 margin-right: 15px;
192 margin-right: 8px;
238 text-align: right;
239 padding-right: 12px;
395 margin-right: 15px;
406 margin-right: 5px;
418 border-right: 1px solid #A8B8D9;
425 border-top-right-radius: 8px;
433 -webkit-border-top-right-radius: 8px;
444 border-right
[all...]
/frameworks/base/core/java/android/text/method/
H A DTouch.java45 int left, right;
51 right = 0;
55 right = (int) Math.max(right, layout.getLineRight(i));
59 right = availableWidth;
62 final int actualWidth = right - left;
69 // direction to resolve it to left or right
75 x = Math.min(x, right - availableWidth);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java51 displayRect.right = outSize.x;
/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/core/jni/android/graphics/
H A DRegion.cpp52 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom) { argument
53 return dst->setRect(left, top, right, bottom);
71 static jboolean Region_op0(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom, int op) { argument
74 ir.set(left, top, right, bottom);
106 static jboolean Region_quickContains(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument
107 return GetSkRegion(env, region)->quickContains(left, top, right, bottom);
110 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument
112 ir.set(left, top, right, bottom);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java95 r.right - mInset.right, r.bottom - mInset.bottom);
/frameworks/rs/
H A DrsScriptC_LibGL.cpp234 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
238 if (right) {
239 *right = metrics->right;
250 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
256 SetMetrics(&metrics, left, right, top, bottom);
261 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
265 SetMetrics(&metrics, left, right, top, bottom);
233 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
249 rsrMeasureTextAlloc(Context *rsc, Script *sc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
260 rsrMeasureText(Context *rsc, Script *sc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument

Completed in 1301 milliseconds

1234567891011>>