/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowStateAnimator.java | 711 mTmpSize.set(w.mFrame.left + w.mXOffset, w.mFrame.top + w.mYOffset, 0, 0); 720 + " x=" + mTmpSize.left + " y=" + mTmpSize.top 739 && attrs.surfaceInsets.top == 0 775 + ", set left=" + w.mFrame.left + " top=" + w.mFrame.top 781 + w.mFrame.left + "," + w.mFrame.top + ") (" 787 mSurfaceController.setPositionAndLayer(mTmpSize.left, mTmpSize.top, layerStack, mAnimLayer); 798 mTmpSize.bottom = mTmpSize.top + w.mRequestedHeight; 806 mTmpSize.top = 0; 810 mTmpSize.bottom = mTmpSize.top 2026 setMoveAnimation(int left, int top) argument [all...] |
H A D | BoundsAnimationController.java | 152 mTmpRect.top = (int) (mFrom.top * remains + mTo.top * value + 0.5f); 159 mTmpTaskBounds.set(mTmpRect.left, mTmpRect.top, 160 mTmpRect.left + mFrozenTaskWidth, mTmpRect.top + mFrozenTaskHeight); 185 mTmpRect.set(mFrom.left, mFrom.top, 186 mFrom.left + mFrozenTaskWidth, mFrom.top + mFrozenTaskHeight);
|
/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.cpp | 118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument 130 const Rect unmappedBounds(left, top, right, bottom); 173 snapshot.transform->loadTranslate(-unmappedBounds.left, -unmappedBounds.top, 0.0f); 176 clip.translate(-unmappedBounds.left, -unmappedBounds.top); 177 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom); 226 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 227 return mState.quickRejectConservative(left, top, right, bottom); 233 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument 234 return mState.clipRect(left, top, right, bottom, op); 291 void RecordingCanvas::drawRect(float left, float top, floa argument 306 float top = FLT_MAX; local 357 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 370 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 412 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 420 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 453 drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint) argument [all...] |
H A D | DisplayListOp.h | 227 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 228 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {} 241 mLocalBounds.top = std::min(mLocalBounds.top, points[i + 1]); 324 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument 325 : mArea(left, top, right, bottom) 332 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument 333 : mArea(left, top, right, bottom) 347 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom, 352 renderer.saveLayer(mArea.left, mArea.top, mAre 537 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument 773 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 934 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 961 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 1011 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument 1042 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument 1137 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument 1154 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument 1182 float left, top, offset; local [all...] |
H A D | DamageAccumulator.h | 55 void dirty(float left, float top, float right, float bottom);
|
H A D | DisplayListCanvas.h | 84 virtual void drawRoundRect(CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, 133 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, 135 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 139 return saveLayer(left, top, right, bottom, &paint, flags); 154 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 157 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override; 183 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override; 185 virtual void drawRoundRect(float left, float top, float right, float bottom, 188 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override; 189 virtual void drawArc(float left, float top, floa [all...] |
H A D | RecordingCanvas.h | 76 virtual void drawRoundRect(CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, 110 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, 112 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 116 return saveLayer(left, top, right, bottom, &paint, flags); 131 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 134 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override; 162 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override; 164 virtual void drawRoundRect(float left, float top, float right, float bottom, 167 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override; 168 virtual void drawArc(float left, float top, floa [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_matrix.rsh | 62 * top: Top plane. 69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, 82 top->x = viewProj->m[3] - viewProj->m[1]; 83 top->y = viewProj->m[7] - viewProj->m[5]; 84 top->z = viewProj->m[11] - viewProj->m[9]; 85 top->w = viewProj->m[15] - viewProj->m[13]; 106 len = length(top->xyz); 107 *top /= len; 119 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* righ, float4* top, 132 * top [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 37 * android:layout_gravity to TOP or BOTTOM to pin it to the top or bottom 155 public void setPadding(int left, int top, int right, int bottom) { argument 159 super.setPadding(left, top, right, bottom); 267 final int top = bottom - mIndicatorHeight; 270 canvas.drawRect(left, top, right, bottom, mTabPaint); 285 int top = bottom - mIndicatorHeight; 287 r.set(left, top, right, bottom); 294 r.union(left, top, right, bottom);
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 57 || mRoiBounds.top < 0 66 mRoiBounds.left, mRoiBounds.top, mRoiBounds.width(), mRoiBounds.height()); 114 int noSearch_y = mRoiBounds.top - mSearchRange.top; 134 mCutOffsetY = mina[1] + mSearchRange.top; 153 int mPasteOffY = (int) mRect.top - 1; 181 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); 183 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); 193 int ymin = Math.max(0, (int) (mRoiBounds.top - mRoiBounds.height() * 2));
|
/frameworks/base/core/java/android/text/style/ |
H A D | BulletSpan.java | 91 int top, int baseline, int bottom, 113 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f); 117 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p); 90 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
|
H A D | ReplacementSpan.java | 54 * @param top Top of the line. 61 int top, int y, int bottom, @NonNull Paint paint); 59 draw(@onNull Canvas canvas, CharSequence text, @IntRange(from = 0) int start, @IntRange(from = 0) int end, float x, int top, int y, int bottom, @NonNull Paint paint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 186 || rect.top >= getHeight()) 188 return nativeDecodeRegion(mNativeBitmapRegionDecoder, rect.left, rect.top, 189 rect.right - rect.left, rect.bottom - rect.top, options);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RoundRectShape.java | 46 * top-left corner (remaining pairs correspond clockwise). 54 * top-left corner (remaining pairs correspond clockwise). 99 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), 117 mInnerRect.set(r.left + mInset.left, r.top + mInset.top,
|
H A D | RectShape.java | 43 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 88 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument 90 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) { 92 mTop = top;
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 279 m[5] = 2.f / (top - bottom); 282 m[13]= -(top + bottom) / (top - bottom); 286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument 289 m[5] = 2.f * near / (top - bottom); 291 m[9] = (top + bottom) / (top - bottom); 299 float top = near * tan((float) (fovy * M_PI / 360.0f)); local 300 float bottom = -top; [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ItemAlignmentFacetHelper.java | 34 * get alignment position relative to optical left/top of itemView. 81 sRect.top = alignPos; 83 alignPos = sRect.top - p.getOpticalTopInset(); 87 int titleViewTextHeight = -textPaint.getFontMetricsInt().top;
|
/frameworks/support/v4/tests/java/android/support/v4/testutils/ |
H A D | TestUtils.java | 131 * Checks whether the specified rectangle matches the specified left / top / right / 135 int left, int top, int right, int bottom) { 137 Assert.assertEquals(failMessagePrefix + " top", rectangle.top, top); 134 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 25 margin-top: 1.75em; 26 padding-top: 8px; 60 margin-top: 2px; 64 margin-top: 0px; 235 margin-top: 3px; 244 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); 245 background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); 250 margin-top: 12px; 266 margin-top: 10px; 278 vertical-align: top; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutWithDefaultTouchRecepient.java | 62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
|
/frameworks/base/libs/hwui/protos/ |
H A D | hwui.proto | 34 required int32 top = 3; 61 required float top = 3;
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFontFreeType.h | 36 int top; member in struct:android::GlyphBitmap
|
/frameworks/native/libs/ui/tests/ |
H A D | Region_test.cpp | 36 if (other->bottom < current->top) break; 37 if (other->bottom != current->top) continue; 41 if (other->top > current->bottom) break; 42 if (other->top != current->bottom) continue;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 49 jfieldID top; member in struct:android::__anon848 211 // is the top-left. So, translate the PDF coordinates to ours. 275 float top; local 280 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom) 281 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom); 290 env->SetIntField(outBox, gRectClassInfo.top, (int) top); 323 const int top = env->GetIntField(box, gRectClassInfo.top); local 328 FPDFPage_SetMediaBox(page, left, top, righ [all...] |