/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | NetworkImageView.java | 197 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 198 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackLayoutAlgorithm.java | 189 * @param stackRectOut the stack rect, we only write out the top of the stack 200 taskStackBounds.top + topMargin, 202 taskStackBounds.top + topMargin + ffHeight); 204 taskStackBounds.top, 208 stackRectOut.top += ffPaddedHeight; 210 stackRectOut.top += topMargin; 234 // The freeform workspace bounds, inset by the top system insets and is a fixed height 237 // The stack bounds, inset from the top system insets, and runs to the bottom of the screen 251 // The base top margin for the stack from the system insets 266 // The initial offset that the focused task is from the top [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 287 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 295 if (top && lp.topMargin != insets.top) { 297 lp.topMargin = insets.top; 318 // The top and bottom action bars are always within the content area. 402 // If tabs are not embedded, increase space on top to account for them. 407 // This is the space needed on top of the window for all of the action bar 430 mContentInsets.top += topInset; 433 mInnerInsets.top += topInset; 468 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 255 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 263 if (top && lp.topMargin != insets.top) { 265 lp.topMargin = insets.top; 286 // The top action bar is always within the content area. 357 // If tabs are not embedded, increase space on top to account for them. 362 // This is the space needed on top of the window for all of the action bar 374 mContentInsets.top += topInset; 377 mInnerInsets.top += topInset; 415 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 669 final int top = Math.max(0, insetFrame.top - Math.max(layoutFrame.top, displayFrame.top)); 672 frame.inset(left, top, right, bottom); 726 mContainingFrame.bottom = mContainingFrame.top + frozen.height(); 732 // In freeform we want to move the top up directly. 734 mContainingFrame.top -= mContainingFrame.bottom - cf.bottom; 753 layoutYDiff = !mInsetFrame.isEmpty() ? mInsetFrame.top - mContainingFrame.top [all...] |
H A D | DisplaySettings.java | 79 outRect.top = entry.overscanTop; 87 public void setOverscanLocked(String uniqueId, String name, int left, int top, int right, argument 89 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 103 entry.overscanTop = top;
|
/frameworks/av/include/ndk/ |
H A D | NdkImage.h | 125 * Each one of the first 4 bytes contains the top 8 bits of each pixel, The 243 * and second byte contains the top 8 bits of first and second pixel. The third 408 * (right - left) and the height of the rectangle is (bottom - top).</p> 412 int32_t top; member in struct:AImageCropRect
|
/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 | ViewOverlay.java | 28 * An overlay is an extra layer that sits on top of a View (the "host view") 328 int top = child.mTop; 332 dirty.offset(left, top); 341 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument 343 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty);
|
H A D | ViewStructure.java | 42 * @param top The view's top position, in pixels relative to its parent's top edge. 50 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, argument
|
H A D | WindowManagerInternal.java | 69 * @param top The rectangle top. 73 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 132 if (canvas.quickReject(r.left, r.top, r.right, r.bottom, Canvas.EdgeType.AA)) { 208 thumb.setBounds(bounds.left, bounds.top + offset, 209 bounds.right, bounds.top + offset + length); 218 thumb.setBounds(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);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.cpp | 62 region.orSelf(android::Rect(dirtyArea.left, dirtyArea.top, 85 const float v1 = (viewportHeight - r->top) * texY; 89 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 90 TextureVertex::set(mesh++, r->right, r->top, u2, v1);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 52 && MathUtils::areEqual(a.top, b.top) \ 64 * Like gtest's TEST, but runs on the RenderThread, and 'renderThread' is passed, in top level scope 157 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument 167 props.setLeftTopRightBottom(left, top, right, bottom);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockImageSpan.java | 49 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DismissViewButton.java | 60 outRect.top += translationY;
|
/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/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | Healing.java | 59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); 61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); 90 Bitmap destBitmap = createMutableBitmap(image, mRoiBounds.left, mRoiBounds.top, 141 c.drawBitmap(destBitmap, mRoiBounds.left, mRoiBounds.top, null);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | SharedElementCallback.java | 201 mTempMatrix.postTranslate(-screenBounds.left, -screenBounds.top); 231 int top = existingBounds.top; 236 drawable.setBounds(left, top, right, bottom);
|
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 425 bool setTop(int top) { argument 426 if (RP_SET(mPrimitiveFields.mTop, top)) { 470 bool setLeftTop(int left, int top) { argument 472 bool topResult = setTop(top); 476 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 477 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 480 mPrimitiveFields.mTop = top;
|
/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...] |