/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableWrapper.java | 257 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 259 mDrawable.setHotspotBounds(left, top, right, bottom);
|
H A D | ShapeDrawable.java | 143 * @param top padding for the top (in pixels) 147 public void setPadding(int left, int top, int right, int bottom) { argument 148 if ((left | top | right | bottom) == 0) { 154 mShapeState.mPadding.set(left, top, right, bottom); 161 * in the Rect object as: left, top, right, bottom. 252 canvas.translate(r.left, r.top);
|
/frameworks/base/libs/hwui/ |
H A D | RecordedOp.h | 334 float* left, float* top, float* right, float* bottom, float *rx, float *ry) 337 , top(top) 343 const float* top; member in struct:android::uirenderer::RoundRectPropsOp 333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument
|
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 373 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), crop.left, crop.top, 560 image.getTimestamp(), crop.left, crop.top, crop.right, crop.bottom); 859 long timestampNs, int left, int top, int right, int bottom); 863 int top, int right, int bottom); 858 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument 861 nativeAttachAndQueueImage(long nativeCtx, long imageNativeBuffer, int imageFormat, long timestampNs, int left, int top, int right, int bottom) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 425 jlong timestampNs, jint left, jint top, jint right, jint bottom) { 460 cropRect.top = top; 490 jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, 545 cropRect.top = top; 424 ImageWriter_queueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument 489 ImageWriter_attachAndQueueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, jint right, jint bottom) argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PageAdapter.java | 129 public void setPadding(int left, int top, int right, int bottom); argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight()); 402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument 408 final float progress = ((float) top - getOpenedOptionsY()) 450 public int clampViewPositionVertical(View child, int top, int dy) { argument 452 return Math.max(Math.min(top, getOpenedOptionsY()), getClosedOptionsY());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsView.java | 84 * This view is the the top level layout that contains TaskStacks (which are laid out according 205 // Update the top level view's visibilities 363 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 365 mTaskStackView.layout(left, top, left + getMeasuredWidth(), top + getMeasuredHeight()); 371 int topBottomInsets = mSystemInsets.top + mSystemInsets.bottom; 376 int childTop = top + mSystemInsets.top + 377 Math.max(0, (bottom - top - topBottomInsets - childHeight)) / 2; 385 mStackActionButton.layout(buttonBounds.left, buttonBounds.top, buttonBound [all...] |
H A D | TaskViewHeader.java | 74 * A color drawable that draws a slight highlight at the top to help it stand out. 121 // Draw the highlight at the top edge (but put the bottom edge just out of view) 323 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 324 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardAffordanceView.java | 149 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 150 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 448 private void ortho(float left, float right, float bottom, float top, float znear, float zfar) { argument 454 mProjMatrix[5] = 2f / (top - bottom); 462 mProjMatrix[13] = -(top + bottom) / (top - bottom);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskPositioner.java | 387 if (startY < startBounds.top) { 434 nY = Math.min(Math.max(nY, mTmpRect.top), mTmpRect.bottom); 457 int top = mWindowOriginalBounds.top; 469 int height = bottom - top; 533 final boolean grows = width > (right - left) || height > (bottom - top); 544 updateDraggedBounds(left, top, right, bottom, width, height); 551 * @param top The original top bound before the user started dragging. 557 void updateDraggedBounds(int left, int top, in argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument 75 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument 90 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 96 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument 166 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument 174 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument 187 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument 196 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument 217 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 52 * This is based on top of {@link Graphics2D} but can operate independently if none are available 266 * Creates a new {@link GcSnapshot} on top of another one, with a layer data to be restored 339 mLayerBounds.left, mLayerBounds.top, 365 * Restores the top {@link GcSnapshot}, and returns the next one. 529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 694 // them, starting with the top one (which is the current local layer). 748 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 760 mLayerBounds.left, mLayerBounds.top, mLayerBound [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 44 const int top = frame.y_offset; local 45 const int bottom = top + frame.height; 46 return x >= left && x < right && y >= top && y < bottom;
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 99 int lastTop = current->top; 105 } while (current->top == lastTop && current >= begin); 109 int top = -1; local 114 if (current->top != (current + 1)->top) { 116 if ((spanDirection == direction_RTL && current->bottom != (current + 1)->top) || 117 (spanDirection == direction_LTR && current->top != (current + 1)->bottom)) { 125 top = current->top; 141 dst.add(Rect(prev.right, top, righ [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 208 position[i*6 + 0].y = height - r->top; 214 position[i*6 + 3].y = height - r->top; 218 position[i*6 + 5].y = height - r->top; 234 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) { 235 glScissor(left, bottom, right, top); 233 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
|
/frameworks/rs/ |
H A D | rsFont.h | 54 int32_t top; member in struct:android::renderscript::Font::Rect 60 top = t;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | BaseTransientBottomBar.java | 211 void onLayoutChange(View view, int left, int top, int right, int bottom); argument 481 public void onLayoutChange(View view, int left, int top, int right, int bottom) {
|
H A D | BottomSheetBehavior.java | 297 // it is not the top most view of its parent. This is not necessary when the touch event is 324 // The ViewDragHelper tries to capture only the top-most View. We have to explicitly tell it 389 int top; 392 top = mMinOffset; 395 top = mParentHeight; 400 top = mMinOffset; 403 top = mMaxOffset; 407 top = mMaxOffset; 410 if (mViewDragHelper.smoothSlideViewTo(child, child.getLeft(), top)) { 621 int top; 723 dispatchOnSlide(int top) argument [all...] |
H A D | FloatingActionButton.java | 202 d + mShadowPadding.top + mShadowPadding.bottom); 489 rect.top += mShadowPadding.top; 723 child.getTop() + shadowPadding.top, 754 // If we're on the top edge, shift it up 755 offsetTB = -padding.top; 816 public void setShadowPadding(int left, int top, int right, int bottom) { argument 817 mShadowPadding.set(left, top, right, bottom); 818 setPadding(left + mImagePadding, top + mImagePadding,
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | ViewStructureImpl.java | 107 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseCardView.java | 130 * Distance of top of info view to bottom of MainView, it will shift up when extra view appears. 437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 459 // retract currBottom to overlap the info views on top of main 505 onSizeChanged(0, 0, right - left, bottom - top); 776 // and out. It's meant to be used when the info views are overlaid on top of
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 43 * several top level options as action buttons while spilling remaining options over as 437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 439 super.onLayout(changed, left, top, right, bottom); 444 final int midVertical = (bottom - top) / 2;
|
H A D | ActivityChooserView.java | 469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 470 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
|