/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 175 rect.top < 0 || rect.bottom > this->height) { 177 rect.left, rect.top, rect.right, rect.bottom, 196 rect.top < 0 || rect.bottom > this->height) { 198 rect.left, rect.top, rect.right, rect.bottom, 222 rect.top < 0 || rect.bottom > this->height) { 224 rect.left, rect.top, rect.right, rect.bottom, 242 rect.top < 0 || rect.bottom > this->height) { 244 rect.left, rect.top, rect.right, rect.bottom,
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | NetworkImageView.java | 196 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 197 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 288 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 296 if (top && lp.topMargin != insets.top) { 298 lp.topMargin = insets.top; 319 // The top and bottom action bars are always within the content area. 403 // If tabs are not embedded, increase space on top to account for them. 408 // This is the space needed on top of the window for all of the action bar 431 mContentInsets.top += topInset; 434 mInnerInsets.top += topInset; 469 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 84 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top, 117 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom, 129 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom)); 132 uncovered.subtractSelf(android::Rect(r.left, r.top, r.right, r.bottom)); 213 boundsDelta = mBounds.top - opBounds.top; 267 if (newClipSideFlags & kClipSide_Top) mClipRect.top = state->mClip.top; 295 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBounds.bottom, 491 if (mSaveStack.isEmpty() || newSaveCount > mSaveStack.top()) { [all...] |
H A D | RenderProperties.h | 396 bool setTop(int top) { argument 397 if (RP_SET(mPrimitiveFields.mTop, top)) { 441 bool setLeftTop(int left, int top) { argument 443 bool topResult = setTop(top); 447 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 448 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 451 mPrimitiveFields.mTop = top;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 456 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument 461 Log.d(TAG, "Redrawing: left=" + left + ", top=" + top); 465 final float bottom = top + mBackground.getHeight() * mScale; 468 c.clipRect(left, top, right, bottom, 474 RectF dest = new RectF(left, top, right, bottom); 484 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 488 final float bottom = top + mBackground.getHeight() * mScale; 494 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 541 private FloatBuffer createMesh(int left, int top, floa argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 291 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 299 if (top && lp.topMargin != insets.top) { 301 lp.topMargin = insets.top; 322 // The top and bottom action bars are always within the content area. 408 // If tabs are not embedded, increase space on top to account for them. 413 // This is the space needed on top of the window for all of the action bar 436 mContentInsets.top += topInset; 439 mInnerInsets.top += topInset; 477 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
H A D | ListViewCompat.java | 83 mSelectionTopPadding = padding.top; 203 selectorRect.top -= mSelectionTopPadding; 363 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 365 super.setHotspotBounds(left, top, right, bottom);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | DngUtils.h | 93 virtual status_t addGainMap(uint32_t top,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_decoder.h | 73 u32 *left, u32 *width, u32 *top, u32 *height);
|
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 41 final int top = layout.getLineForVertical(y); 42 Alignment a = layout.getParagraphAlignment(top); 43 boolean ltr = layout.getParagraphDirection(top) > 0; 53 for (int i = top; i <= bottom; i++) {
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareCanvas.java | 90 * @param y The top coordinate of the layer 113 public abstract void drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, argument
|
H A D | ViewOverlay.java | 27 * An overlay is an extra layer that sits on top of a View (the "host view") 306 int top = child.mTop; 310 dirty.offset(left, top); 319 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument 321 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty);
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 117 if (canvas.quickReject(r.left, r.top, r.right, r.bottom, Canvas.EdgeType.AA)) { 170 thumbRect.set(bounds.left, bounds.top + offset, 171 bounds.right, bounds.top + offset + length); 173 thumbRect.set(bounds.left + offset, bounds.top,
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 198 final int top = mPaddingTop + row * rowHeight; 200 top, 202 top + rowHeight); 257 int y = previouslyFocusedRect.top
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | PictureDrawable.java | 68 canvas.translate(bounds.left, bounds.top);
|
H A D | NinePatchDrawable.java | 185 int top = Bitmap.scaleFromDensity(insets.top, sdensity, tdensity); 188 return Insets.of(left, top, right, bottom); 208 dest.top = Bitmap.scaleFromDensity(src.top, sdensity, tdensity); 277 padding.set(scaledPadding.right, scaledPadding.top, 282 return (padding.left | padding.top | padding.right | padding.bottom) != 0; 297 bounds.top + outlineInsets.top, 314 return Insets.of(mOpticalInsets.right, mOpticalInsets.top, [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewThumbnail.java | 69 // Task bar clipping, the top of this thumbnail can be clipped against the opaque header 105 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 106 super.onLayout(changed, left, top, right, bottom); 170 int top = (int) Math.max(0, taskBar.getTranslationY() + 172 mClipRect.set(0, top, getMeasuredWidth(), getMeasuredHeight());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableView.java | 97 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 98 super.onLayout(changed, left, top, right, bottom); 224 * Sets the amount this view should be clipped from the top. This is used when an expanded 225 * notification is scrolling in the top or bottom stack. 227 * @param clipTopAmount The amount of pixels this view should be clipped from top. 265 * such that the child appears to be going away to the top. 1 287 * view,we also need to subtract the clipTopAmount from the top. This is needed in order to 297 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); 298 outRect.top += getTranslationY() + getClipTopAmount(); 307 * @param view the view for which the height changed, or {@code null} if just the top [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplaySettings.java | 73 outRect.top = entry.overscanTop; 81 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument 82 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 94 entry.overscanTop = top;
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 208 c.drawRect(0+mMainInsets.left, 0+mMainInsets.top, 212 c.drawRect(0 + mStableInsets.left, 0 + mStableInsets.top, 237 c.drawText("Stable Insets: (" + mStableInsets.left + ", " + mStableInsets.top 241 c.drawText("System Insets: (" + mMainInsets.left + ", " + mMainInsets.top
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | InvisibleRecipientChip.java | 96 final float x, final int top, final int y, final int bottom, final Paint paint) { 95 draw(final Canvas canvas, final CharSequence text, final int start, final int end, final float x, final int top, final int y, final int bottom, final Paint paint) argument
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | SharedElementCallback.java | 181 mTempMatrix.postTranslate(-screenBounds.left, -screenBounds.top); 211 int top = existingBounds.top; 216 drawable.setBounds(left, top, right, bottom);
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 179 public void setBounds(int left, int top, int right, int bottom) { argument 181 mDrawTop = top + (bottom-top - mHeight) / 2; 398 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned 448 float top = (inHeight - outHeight) * verticalAlignment; 449 float bottom = top + outHeight; 450 cropRectF = new RectF(left, top, right, bottom); 496 roundedTrueCrop.top, roundedTrueCrop.width(), 534 cropRect.top = 0; 543 cropRect.top [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 82 return new PointF(mBounds.left, mBounds.top); 117 int top = view.getTop(); 120 view.setLeftTopRightBottom(left, top, right, bottom); 134 int top = Math.round(topLeft.y); 137 view.setLeftTopRightBottom(left, top, right, bottom); 151 int top = Math.round(topLeft.y); 153 int bottom = top + view.getHeight(); 154 view.setLeftTopRightBottom(left, top, right, bottom); 292 final int startTop = startBounds.top; 293 final int endTop = endBounds.top; [all...] |