/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StackScrollerDecorView.java | 48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 49 super.onLayout(changed, left, top, right, bottom);
|
H A D | ExpandableView.java | 100 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 101 super.onLayout(changed, left, top, right, bottom); 108 float bottom = mActualHeight; 110 localY < (bottom + slop); 214 * notification is scrolling in the top or bottom stack. 301 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); 312 outRect.bottom = outRect.top + getActualHeight();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | stats_scorer.cpp | 45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) 51 int yEnd = static_cast<int>(height * bottom); 43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
|
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 230 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 240 if (bottom) { 241 *bottom = metrics->bottom; 246 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 252 SetMetrics(&metrics, left, right, top, bottom); 257 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 261 SetMetrics(&metrics, left, right, top, bottom); 229 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 245 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 256 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
|
/frameworks/support/percent/src/android/support/percent/ |
H A D | PercentRelativeLayout.java | 112 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 113 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableCompatLollipop.java | 40 int right, int bottom) { 41 drawable.setHotspotBounds( left, top, right, bottom); 39 setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.cpp | 67 jfieldID bottom; member in struct:android::__anon929 166 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); 196 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); 200 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 295 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
|
H A D | android_view_TextureView.cpp | 47 jfieldID bottom; member in struct:android::__anon954 146 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); 168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); 172 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 214 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | RequestRectangleVisibleTest.java | 90 assertTrue("bottom blob needs to be taller than the screen for many of the " 108 // should be on screen, positioned at the bottom (with room for 138 // go to bottom button 167 // blob should have moved so bottom of it is at bottom of screen 190 fail("couldn't move down to bottom button within " 197 * Assert that view overlaps the bottom edge of the screen 208 int bottom = xy[1] + view.getHeight(); 211 assertTrue(bottom > bottomOfRoot); 214 assertTrue(bottom > bottomOfRoo [all...] |
/frameworks/base/libs/hwui/ |
H A D | Layer.cpp | 163 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument 166 const Rect r(left, top, right, bottom); 228 dirtyRect.right >= width && dirtyRect.bottom >= height)) { 238 dirtyRect.right, dirtyRect.bottom, !isBlend()); 259 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend()); 277 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend());
|
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); 177 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom); 226 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const { 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, float right, float bottom, const SkPaint& paint) { argument 293 Rect(left, top, right, bottom), 308 float bottom 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 [all...] |
H A D | DisplayListCanvas.h | 85 CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, 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, float right, float bottom, [all...] |
H A D | LayerRenderer.cpp | 47 float left, float top, float right, float bottom, bool opaque) { 55 Rect dirty(left, top, right, bottom); 57 dirty.right >= width && dirty.bottom >= height)) { 62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom); 68 dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); 71 void LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument 79 OpenGLRenderer::clear(left, top, right, bottom, opaque); 174 const float v2 = (height - r->bottom) * texY; 178 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); 179 TextureVertex::set(mesh++, r->right, r->bottom, u 46 prepareDirty(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument [all...] |
H A D | RecordingCanvas.h | 77 CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, 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, float right, float bottom, [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) {} 242 mLocalBounds.bottom = std::max(mLocalBounds.bottom, 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, mArea.right, mArea.bottom, 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 [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BlackFrame.java | 136 outer.left, inner.top, inner.left, outer.bottom, layerStack); 138 if (outer.bottom > inner.bottom) { 140 inner.left, inner.bottom, outer.right, outer.bottom, layerStack); 144 inner.right, outer.top, outer.right, inner.bottom, layerStack);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 213 /*package*/ static boolean nSetBottom(long renderNode, int bottom) { argument 215 if (delegate != null && delegate.mBottom != bottom) { 216 delegate.mBottom = bottom; 224 int bottom) { 227 .mRight != right || delegate.mBottom != bottom)) { 231 delegate.mBottom = bottom; 223 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
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 = rect.right = rect.bottom = 0; 344 rect.bottom = bounds.y + bounds.height; 371 int left, int top, int right, int bottom, int op) { 378 new Rectangle2D.Float(left, top, right - left, bottom 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 | BatteryMeterDrawable.java | 260 public void setBounds(int left, int top, int right, int bottom) { argument 261 super.setBounds(left, top, right, bottom); 262 mHeight = bottom - top; 356 mFrame.bottom -= mSubpixelSmoothingRight; 376 mShapePath.lineTo(mFrame.right, mFrame.bottom); 377 mShapePath.lineTo(mFrame.left, mFrame.bottom); 387 final float bb = mFrame.bottom - mFrame.height() / 10f; 389 || mBoltFrame.right != br || mBoltFrame.bottom != bb) { 405 float boltPct = (mBoltFrame.bottom - levelTop) / (mBoltFrame.bottom [all...] |
H A D | LoadAverageService.java | 201 int bottom = getPaddingTop() + mFH - 2; 204 canvas.drawRect(x-irqW, top, x, bottom, mIrqPaint); 208 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); 212 canvas.drawRect(x-userW, top, x, bottom, mUserPaint); 233 bottom += mFH; 239 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); 243 canvas.drawRect(x-userW, top, x, bottom, mUserPaint);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 153 void setExpandedBounds(int left, int top, int right, int bottom) { 154 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) { 155 mExpandedBounds.set(left, top, right, bottom); 161 void setCollapsedBounds(int left, int top, int right, int bottom) { 162 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) { 163 mCollapsedBounds.set(left, top, right, bottom); 367 mCollapsedDrawY = mCollapsedBounds.bottom; 399 mExpandedDrawY = mExpandedBounds.bottom; 437 mCurrentBounds.bottom = lerp(mExpandedBounds.bottom, mCollapsedBound 662 rectEquals(Rect r, int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DividerSnapAlgorithm.java | 42 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio 125 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right; 220 return mInsets.bottom; 262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right; 271 maybeAddTarget(bottomPosition, dividerMax - mInsets.bottom 278 ? mDisplayHeight - mInsets.bottom 289 ? mDisplayHeight - mInsets.bottom 294 : mDisplayHeight - mInsets.bottom; 375 /** If the divider reaches this value, the right/bottom task should be dismissed */ 378 /** Position of this snap target. The right/bottom edg [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) { 170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; 174 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; 182 inline int next(TYPE& top, TYPE& bottom) argument 186 int inside = SpannerBase::next(top, bottom, more_lhs, more_rhs); 210 aBottom = rects->bottom + reg.dy;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | DayPickerView.java | 326 final int bottom = child.getBottom(); 329 if (bottom > midpoint) { 332 smoothScrollBy(bottom, GOTO_SCROLL_DURATION); 351 int bottom = 0; 352 while (bottom < height) { 357 bottom = child.getBottom(); 358 int displayedHeight = Math.min(bottom, height) - Math.max(0, child.getTop());
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 975 final int bottom = maxOverScrollY + scrollRangeY; 987 if (newScrollY > bottom) { 988 newScrollY = bottom; 1020 * if topFocus is true, or at the bottom of the bounds if topFocus is 1024 * @param bottom the bottom offset of the bounds in which a focusable must 1029 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument 1036 * top, and its bottom is above the bound's bottom. A partially 1049 if (top < viewBottom && viewTop < bottom) { 1176 scrollAndFocus(int direction, int top, int bottom) argument [all...] |