/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | RtlSpacingHelper.java | 21 * RtlSpacingHelper manages the relationship between left/right and start/end for views 69 public void setAbsolute(int left, int right) { argument 71 if (left != UNDEFINED) mLeft = mExplicitLeft = left;
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 126 int left = current->left; local 132 // iterating over previous span RTL, quit if it's too far left 133 if (prev->right <= left) break; 135 if (prev->right > left && prev->right < right) { 140 if (prev->left > left && prev->left < right) { 141 dst.add(Rect(prev->left, top, right, bottom)); 142 right = prev->left; [all...] |
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.h | 136 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 146 virtual int saveLayer(float left, float top, float right, float bottom, argument 148 return saveLayer(left, top, right, bottom, paint, flags, NULL); 153 int saveLayer(float left, float top, float right, float bottom, 156 int saveLayerDeferred(float left, float top, float right, float bottom, 173 float left, float top, float right, float bottom, const SkPaint* paint); 175 float left, float top, float right, float bottom, const SkPaint* paint); 177 virtual status_t drawRect(float left, float top, float right, float bottom, 179 virtual status_t drawRoundRect(float left, float top, float right, float bottom, 182 virtual status_t drawOval(float left, floa 327 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument [all...] |
H A D | Renderer.h | 122 * @param left The left coordinate of the dirty rectangle 130 virtual status_t prepareDirty(float left, float top, float right, float bottom, 148 virtual int saveLayer(float left, float top, float right, float bottom, 151 int saveLayerAlpha(float left, float top, float right, float bottom, argument 155 return saveLayer(left, top, right, bottom, &paint, flags); 170 virtual bool quickRejectConservative(float left, float top, 172 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0; 194 float left, float top, float right, float bottom, const SkPaint* paint) = 0; 197 virtual status_t drawRect(float left, floa [all...] |
H A D | StatefulBaseRenderer.cpp | 153 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); 232 bool StatefulBaseRenderer::calculateQuickRejectForScissor(float left, float top, argument 236 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 240 Rect r(left, top, right, bottom); 273 bool StatefulBaseRenderer::quickRejectConservative(float left, float top, argument 275 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { [all...] |
H A D | OpenGLRenderer.cpp | 187 void OpenGLRenderer::setupFrameState(float left, float top, argument 190 initializeSaveStack(left, top, right, bottom, mLightCenter); 192 mTilingClip.set(left, top, right, bottom); 201 discardFramebuffer(mTilingClip.left, mTilingClip.top, mTilingClip.right, mTilingClip.bottom); 216 return clear(mTilingClip.left, mTilingClip.top, 220 status_t OpenGLRenderer::prepareDirty(float left, float top, argument 223 setupFrameState(left, top, right, bottom, opaque); 239 void OpenGLRenderer::discardFramebuffer(float left, float top, float right, float bottom) { argument 244 left <= 0.0f && top <= 0.0f && right >= getWidth() && bottom >= getHeight()) { 253 status_t OpenGLRenderer::clear(float left, floa argument 601 saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument 661 saveLayerDeferred(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument 737 createLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument 1233 dirtyLayer(const float left, const float top, const float right, const float bottom, const mat4 transform) argument 1242 dirtyLayer(const float left, const float top, const float right, const float bottom) argument 1517 quickRejectSetupScissor(float left, float top, float right, float bottom, const SkPaint* paint) argument 1714 setupDrawModelView(ModelViewMode mode, bool offset, float left, float top, float right, float bottom, bool ignoreTransform) argument 1933 drawAlphaBitmap(Texture* texture, float left, float top, const SkPaint* paint) argument 2039 float left = FLT_MAX; local 2237 drawPatch(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 2250 drawPatch(const SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry, float left, float top, float right, float bottom, const SkPaint* paint) argument 2470 drawShape(float left, float top, const PathTexture* texture, const SkPaint* paint) argument 2483 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* p) argument 2524 drawOval(float left, float top, float right, float bottom, const SkPaint* p) argument 2547 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) argument 2582 drawRect(float left, float top, float right, float bottom, const SkPaint* p) argument 3090 const float left = x; local 3184 float left = FLT_MAX; local 3236 drawColorRect(float left, float top, float right, float bottom, const SkPaint* paint, bool ignoreTransform) argument 3261 drawTextureRect(float left, float top, float right, float bottom, Texture* texture, const SkPaint* paint) argument 3297 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument 3324 drawIndexedTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument 3351 drawAlpha8TextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool ignoreTransform, ModelViewMode modelViewMode, bool dirty) argument [all...] |
H A D | Snapshot.h | 115 bool clip(float left, float top, float right, float bottom, 134 void setClip(float left, float top, float right, float bottom); 150 void resetClip(float left, float top, float right, float bottom); 304 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 81 * Flag for drawTextRun indicating left-to-right run direction. 87 * Flag for drawTextRun indicating right-to-left run direction. 462 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 475 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument 477 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom, 483 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG}) 485 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument 486 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); 521 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); 534 public int saveLayerAlpha(float left, floa argument 544 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument 761 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument 779 clipRect(float left, float top, float right, float bottom) argument 797 clipRect(int left, int top, int right, int bottom) argument 950 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument 1145 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1166 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1234 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument 1261 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument 1336 drawBitmap(@onNull Bitmap bitmap, float left, float top, @Nullable Paint paint) argument 1995 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument 2013 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 2031 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 2035 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 2040 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument 2044 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument 2050 native_drawBitmap(long nativeCanvas, long nativeBitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 94 * @param left plane 103 float4 *left, float4 *right, 107 left->x = viewProj->m[3] + viewProj->m[0]; 108 left->y = viewProj->m[7] + viewProj->m[4]; 109 left->z = viewProj->m[11] + viewProj->m[8]; 110 left->w = viewProj->m[15] + viewProj->m[12]; 137 float len = length(left->xyz); 138 *left /= len; 154 * @param left plane 163 float4 *left, float [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | FadedEdgeDrawHelper.java | 86 int left, int right, int top, int bottom, int scrollX, int scrollY, 123 if (!mIsVertical && (left + length > right - length)) { 124 length = (right - left) / 2; 143 mFadeMatrix.postTranslate(left, top); 146 canvas.drawRect(left, top, right, top + length, mFadePaint); 153 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPaint); 159 mFadeMatrix.postTranslate(left, bottom); 162 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint); 168 mFadeMatrix.postTranslate(left, top); 171 canvas.drawRect(left, to 85 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength, int mPaddingTop) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BlackFrame.java | 34 final int left; field in class:BlackFrame.BlackSurface 41 left = l; 70 mTmpMatrix.setTranslate(left, top); 79 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): (" 110 pw.print(" left="); pw.print(bs.left); 126 outer.left, outer.top, inner.right, inner.top, layerStack); 128 if (outer.left < inner.left) { 130 outer.left, inne [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 71 * Info 701: Shift left of signed quantity (int) 134 u32 left; member in struct:__anon596 232 Function to determine if there is a slice boundary on the left side 304 /* filterLeftMbEdgeFlag, left mb is MB_A */ 389 Function to calculate boundary strength value bs for left- or 486 Function to calculate boundary strength value bs for left- 558 filtered macroblock, macroblock above and macroblock on the left of 563 mb pointer to macroblock data structure of the top-left 1172 /* left edges */ 1177 bS[0].left [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 45 int left, right; 50 left = Integer.MAX_VALUE; 54 left = (int) Math.min(left, layout.getLineLeft(i)); 58 left = 0; 62 final int actualWidth = right - left; 66 x = left - ((availableWidth - actualWidth) / 2); 71 // direction to resolve it to left or right 72 x = left - (availableWidth - actualWidth); 74 x = left; [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 81 TYPE left, right; local 82 int inside = spannerInner.next(current.left, current.right); 84 if (current.left < current.right && 234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 248 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 252 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 263 inline int next(TYPE& left, TYPE& right) argument 267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); 279 void advance(region& reg, TYPE& left, TYP argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 125 // make up a rect at top left or bottom right of root 273 * @param direction the direction (up, down, left, right) 330 // for example, for direction left, if rect1 is to the left of the source 362 * checks whether the dest is at least partially to the direction of (e.g left of) 371 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 372 && srcRect.left > destRect.left; 374 return (srcRect.left < destRect.left || srcRec [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | BinTree.h | 39 m_Stack.push(m_pNode->left); 55 m_Stack.push(m_pNode->left); 74 m_Queue.push(m_pNode->left); 90 m_Queue.push(m_pNode->left); 271 // | |left | 288 node.left = node.right = &node; 302 if ((*data).left == &pClient.node) 303 (*data).left = &node; 319 result->left = result->right = &m_Root.node; 324 pNode->left [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | SidePropagation.java | 94 int left = loc[0] + Math.round(sceneRoot.getTranslationX()); 96 int right = left + sceneRoot.getWidth(); 105 epicenterX = (left + right) / 2; 110 left, top, right, bottom); 123 int left, int top, int right, int bottom) { 143 distance = viewX - left + Math.abs(epicenterY - viewY); 122 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | NumPadKey.java | 145 int left = centerX - mDigitText.getMeasuredWidth() / 2; 147 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom); 151 left = centerX - mKlondikeText.getMeasuredWidth() / 2; 152 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 37 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument 65 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 116 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 117 DrawableCompatL.setHotspotBounds(drawable, left, top, right, bottom); 167 * direction is RTL (right-to left). See 183 * direction is RTL right-to-left. See {@link android.util.LayoutDirection}. 213 public static void setHotspotBounds(Drawable drawable, int left, int top, argument 215 IMPL.setHotspotBounds(drawable, left, top, right, bottom);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GradientsActivity.java | 223 float left = 40.0f; 237 mMatrix.postTranslate(left, top); 240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint); 242 left += 40.0f + mDrawWidth; 249 mMatrix.postTranslate(left, bottom); 252 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); 259 mMatrix.postTranslate(left, top); 262 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint); 264 right = left [all...] |
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 146 size_t left = curr - mBegin; local 147 while (left > 0) { 150 if (size < kRecordHeaderSize || size > left) { 160 left -= size;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | ms_stereo.c | 107 Word32 left, right; local 108 left = (mdctSpectrumLeft[j] >> 1); 110 mdctSpectrumLeft[j] = left + right; 111 mdctSpectrumRight[j] = left - right;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 45 displayRect.left = 0;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | GlobalFocusChange.java | 35 findViewById(R.id.left).getViewTreeObserver().addOnGlobalFocusChangeListener(this);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | OvalShape.java | 42 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|