Searched refs:top (Results 201 - 225 of 726) sorted by relevance

1234567891011>>

/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DNetworkImageView.java197 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 DTaskStackLayoutAlgorithm.java189 * @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 DActionBarOverlayLayout.java287 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 DActionBarOverlayLayout.java255 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 DWindowState.java669 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 DDisplaySettings.java79 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 DNdkImage.h125 * 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 Dh264bsd_decoder.h73 u32 *left, u32 *width, u32 *top, u32 *height);
/frameworks/base/core/java/android/text/method/
H A DTouch.java41 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 DViewOverlay.java28 * 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 DViewStructure.java42 * @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 DWindowManagerInternal.java69 * @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 DScrollBarDrawable.java132 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 DInternalSelectionView.java198 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 DPictureDrawable.java68 canvas.translate(bounds.left, bounds.top);
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp62 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 DTestUtils.h52 && 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 DRestrictedLockImageSpan.java49 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 DDismissViewButton.java60 outRect.top += translationY;
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java208 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 DInvisibleRecipientChip.java96 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 DHealing.java59 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 DSharedElementCallback.java201 mTempMatrix.postTranslate(-screenBounds.left, -screenBounds.top);
231 int top = existingBounds.top;
236 drawable.setBounds(left, top, right, bottom);
/frameworks/base/libs/hwui/
H A DRenderProperties.h425 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 DChangeBounds.java82 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...]

Completed in 617 milliseconds

1234567891011>>