/frameworks/base/libs/hwui/ |
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 || righ [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, float top, 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 1201 int32_t top = rects[0].top; local 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 2040 float top = 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 3091 float top = 0.0f; local 3185 float top = 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);
|
H A D | DisplayListRenderer.cpp | 63 status_t DisplayListRenderer::prepareDirty(float left, float top, argument 119 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument 125 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, flags)); 163 bool DisplayListRenderer::clipRect(float left, float top, float right, float bottom, argument 165 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 166 return StatefulBaseRenderer::clipRect(left, top, right, bottom, op); 253 float left, float top, float right, float bottom, const SkPaint* paint) { 258 addDrawOp(new (alloc()) DrawPatchOp(bitmap, patch, left, top, right, bottom, paint)); 267 status_t DisplayListRenderer::drawRect(float left, float top, float right, float bottom, argument 270 addDrawOp(new (alloc()) DrawRectOp(left, top, righ 252 drawPatch(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 274 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument 281 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 315 drawOval(float left, float top, float right, float bottom, const SkPaint* paint) argument 322 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BlackFrame.java | 35 final int top; field in class:BlackFrame.BlackSurface 42 top = t; 70 mTmpMatrix.setTranslate(left, top); 79 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): (" 111 pw.print(" top="); pw.println(bs.top); 124 if (outer.top < inner.top) { 126 outer.left, outer.top, inner.right, inner.top, layerStac [all...] |
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 39 * <code>maxCardElevation * 1.5 + (1 - cos45) * cornerRadius</code> on top and bottom. 110 public void setPadding(int left, int top, int right, int bottom) { argument 114 public void setPaddingRelative(int start, int top, int end, int bottom) { argument 160 * @param top The top padding in pixels 169 public void setContentPadding(int left, int top, int right, int bottom) { argument 170 mContentPadding.set(left, top, right, bottom); 214 mContentPadding.top = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingTop, 256 * Returns the inner padding after the Card's top edge 258 * @return the inner padding after the Card's top edg 300 setShadowPadding(int left, int top, int right, int bottom) argument [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 78 int inside = spanner.next(current.top, current.bottom); 85 current.top < current.bottom) { 169 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; 173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; 182 inline int next(TYPE& top, TYPE& bottom) argument 186 int inside = SpannerBase::next(top, bottom, more_lhs, more_rhs); 203 const int top = rects->top; local 204 while (rects != end && rects->top == top) { [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 344 // e.g for direction down, completely closer means for rect2's top 345 // edge to be closer to the source's top edge than rect1's bottom edge. 377 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) 378 && srcRect.top > destRect.top; 380 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) 399 return (rect2.bottom >= rect1.top) [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | MultiPaneChallengeLayout.java | 195 virtualHeight = mDisplayMetrics.heightPixels - root.getPaddingTop() - mInsets.top; 219 final int insetHeight = height - mInsets.top - mInsets.bottom; 334 padding.top = getPaddingTop(); 339 final int insetHeight = height - mInsets.top - mInsets.bottom; 371 final int heightUsed = padding.top + padding.bottom - getPaddingTop() - getPaddingBottom(); 401 int top = padding.top; 403 int bottom = top + childHeight; 406 top = fixedLayoutVertical ? 407 padding.top [all...] |
H A D | NumPadKey.java | 143 int top = getHeight() / 2 - totalHeight / 2; 146 int bottom = top + digitHeight; 147 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom); 148 top = (int) (bottom - klondikeHeight * 0.35f); 149 bottom = top + klondikeHeight; 152 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
|
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 40 margin-top: 2px; 159 margin-top: 3px; 168 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); 169 background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); 174 margin-top: 12px; 190 margin-top: 10px; 228 margin-top: 0px; 303 margin-top: 0px; 332 border-top: 1px solid #4A6AAA; 361 border-top [all...] |
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 97 int lastTop = current->top; 103 } while (current->top == lastTop && current >= begin); 107 int top = -1; local 112 if (current->top != (current + 1)->top) { 114 if ((spanDirection == direction_RTL && current->bottom != (current + 1)->top) || 115 (spanDirection == direction_LTR && current->top != (current + 1)->bottom)) { 123 top = current->top; 136 dst.add(Rect(prev->right, top, righ [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | SidePropagation.java | 95 int top = loc[1] + Math.round(sceneRoot.getTranslationY()); 97 int bottom = top + sceneRoot.getHeight(); 106 epicenterY = (top + bottom) / 2; 110 left, top, right, bottom); 123 int left, int top, int right, int bottom) { 146 distance = viewY - top + Math.abs(epicenterX - viewX); 122 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 90 * @param top 93 float bottom, float top) { 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f); 113 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0)); 114 float bottom = -top; 116 float right = top * aspect; 117 gl.glFrustumf(left, right, bottom, top, zNear, zFar); 92 gluOrtho2D(GL10 gl, float left, float right, float bottom, float top) argument
|
/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); 213 public static void setHotspotBounds(Drawable drawable, int left, int top, argument 215 IMPL.setHotspotBounds(drawable, left, top, right, bottom);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 44 displayRect.top = 0;
|
/frameworks/base/core/java/android/text/style/ |
H A D | ReplacementSpan.java | 30 int top, int y, int bottom, Paint paint); 28 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
H A D | IconMarginSpan.java | 42 int top, int baseline, int bottom, 64 need = ht - (v + fm.bottom - fm.top - istartv); 41 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
H A D | LeadingMarginSpan.java | 58 * @param top the top of the line 69 int top, int baseline, int bottom, 146 int top, int baseline, int bottom, 67 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument 144 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
/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),
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | stats_scorer.h | 37 jfloat lefp, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray);
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | BitmapUtils.java | 89 outRect.top = centerV - srcCroppedH / 2; 90 outRect.bottom = outRect.top + srcCroppedH; 122 outRect.top = (srcH - srcCroppedH) / 2; 123 outRect.bottom = outRect.top + srcCroppedH;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 300 /*package*/ static void native_arcTo(long nPath, float left, float top, float right, argument 308 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 323 float left, float top, float right, float bottom, int dir) { 329 pathDelegate.addRect(left, top, right, bottom, dir); 333 /*package*/ static void native_addOval(long nPath, float left, float top, float right, argument 341 left, top, right - left, bottom - top), false); 357 /*package*/ static void native_addArc(long nPath, float left, float top, float right, argument 366 left, top, right - left, bottom - top, 322 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 371 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 384 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 727 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 760 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
H A D | Region_Delegate.java | 182 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 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 323 mFrame.top, 325 mFrame.top + buttonHeight); 327 mButtonFrame.top += mSubpixelSmoothingLeft; 332 mFrame.top += buttonHeight; 334 mFrame.top += mSubpixelSmoothingLeft; 347 final float levelTop = drawFrac == 1f ? mButtonFrame.top 348 : (mFrame.top + (mFrame.height() * (1f - drawFrac))); 352 mShapePath.moveTo(mButtonFrame.left, mButtonFrame.top); 353 mShapePath.lineTo(mButtonFrame.right, mButtonFrame.top); 354 mShapePath.lineTo(mButtonFrame.right, mFrame.top); [all...] |