Searched refs:bottom (Results 126 - 150 of 473) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java89 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
91 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) {
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp175 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/opt/bitmap/src/com/android/bitmap/util/
H A DBitmapUtils.java90 outRect.bottom = outRect.top + srcCroppedH;
123 outRect.bottom = outRect.top + srcCroppedH;
/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java196 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/android/widget/
H A DFastScroller.java486 mPreviewImage.setPadding(padding.left, padding.top, padding.right, padding.bottom);
573 bounds.bottom += mPreviewImage.getPaddingBottom();
588 view.layout(bounds.left, bounds.top, bounds.right, bounds.bottom);
606 margins.bottom = mPreviewImage.getPaddingBottom();
670 final int bottom = top + view.getMeasuredHeight();
671 out.set(left, top, right, bottom);
699 final int bottom = top + preview.getMeasuredHeight();
702 out.set(left, top, right, bottom);
716 container.bottom = list.getHeight();
724 container.bottom
[all...]
H A DDayPickerView.java358 final int bottom = child.getBottom();
361 if (bottom > midpoint) {
364 smoothScrollBy(bottom, GOTO_SCROLL_DURATION);
383 int bottom = 0;
384 while (bottom < height) {
389 bottom = child.getBottom();
390 int displayedHeight = Math.min(bottom, height) - Math.max(0, child.getTop());
H A DCheckedTextView.java321 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
322 super.internalSetPadding(left, top, right, bottom);
386 final int bottom = top + height;
396 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
401 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java286 boolean mNavigationBarOnBottom = true; // is the navigation bar on the bottom *right now*?
1414 // Height of the navigation bar when presented horizontally at bottom
1490 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom) { argument
1495 mOverscanBottom = bottom;
1830 // wallpaper is at the bottom, though the window manager may move it.
1958 // the navigation bar to the bottom.
2246 // This can be on either the bottom or the right.
3236 pf.bottom = df.bottom = of.bottom
[all...]
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h95 uint32_t bottom,
/frameworks/base/core/java/android/view/
H A DHardwareCanvas.java114 CanvasProperty<Float> right, CanvasProperty<Float> bottom,
113 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
/frameworks/base/libs/hwui/
H A DDrawProfiler.cpp167 r.top = r.bottom - (data * mVerticalUnit);
171 shapeOutput[3] = r.bottom;
172 r.bottom = r.top;
180 r.bottom = baseline;
199 // To do so we use the bottom of mRects[0] and the top of mRects[NUM_ELEMENTS-1]
H A DLayerRenderer.cpp47 status_t LayerRenderer::prepareDirty(float left, float top, float right, float bottom, argument
56 Rect dirty(left, top, right, bottom);
58 dirty.right >= width && dirty.bottom >= height)) {
63 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom);
68 return OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque);
71 status_t LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument
82 return OpenGLRenderer::clear(left, top, right, bottom, opaque);
175 const float v2 = (height - r->bottom) * texY;
179 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2);
180 TextureVertex::set(mesh++, r->right, r->bottom, u
[all...]
H A DDeferredDisplayList.cpp85 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom);
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));
216 // right and bottom delta calculation reversed to account for direction
219 boundsDelta = opBounds.bottom - mBounds.bottom;
269 if (newClipSideFlags & kClipSide_Bottom) mClipRect.bottom = state->mClip.bottom;
295 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBounds.bottom,
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java389 * Animate the bottom edge of the challenge view to the given position.
391 * @param y desired final position for the bottom edge of the challenge view in px
823 final int insetHeight = height - mInsets.top - mInsets.bottom;
954 // Challenge views pin to the bottom, offset by a portion of their height,
960 final int layoutBottom = height - paddingBottom - lp.bottomMargin - mInsets.bottom;
962 // we never want less than the handle size showing at the bottom.
963 final int bottom = layoutBottom + (int) ((childHeight - mChallengeBottomBound)
966 child.layout(left, bottom - childHeight, left + childWidth, bottom);
971 final int bottom
1136 moveChallengeTo(int bottom) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java75 outRect.bottom = entry.overscanBottom;
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) {
96 entry.overscanBottom = bottom;
/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/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListViewCompat.java85 mSelectionBottomPadding = padding.bottom;
205 selectorRect.bottom += mSelectionBottomPadding;
363 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
365 super.setHotspotBounds(left, top, right, bottom);
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DCardViewEclairMr1.java59 //draw top and bottom pieces
64 bounds.bottom - cornerRadius + 1f, bounds.right - cornerRadius + 1f,
65 bounds.bottom, paint);
69 bounds.right, bounds.bottom - cornerRadius + 1f, paint);
97 shadowPadding.right, shadowPadding.bottom);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java187 int bottom = Bitmap.scaleFromDensity(insets.bottom, sdensity, tdensity);
188 return Insets.of(left, top, right, bottom);
210 dest.bottom = Bitmap.scaleFromDensity(src.bottom, sdensity, tdensity);
278 scaledPadding.left, scaledPadding.bottom);
282 return (padding.left | padding.top | padding.right | padding.bottom) != 0;
299 bounds.bottom - outlineInsets.bottom,
315 mOpticalInsets.left, mOpticalInsets.bottom);
[all...]
H A DLayerDrawable.java330 * @param bottom The bottom padding of the new layer.
333 int bottom) {
342 childDrawable.mInsetB = bottom;
456 * @param b number of pixels to subtract from the bottom bound
536 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0;
543 padding.bottom = 0;
554 padding.bottom += mPaddingB[i];
562 padding.bottom = 0;
573 padding.bottom
332 addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument
605 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
/frameworks/native/include/ui/
H A Dmat4.h134 static tmat44 ortho(T left, T right, T bottom, T top, T near, T far);
136 static tmat44 frustum(T left, T right, T bottom, T top, T near, T far);
232 tmat44<T> tmat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) { argument
235 m[1][1] = 2 / (top - bottom);
238 m[3][1] = -(top + bottom) / (top - bottom);
244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument
247 T B = (top + bottom) / (top - bottom);
251 m[1][1] = (2 * near) / (top - bottom);
[all...]
/frameworks/rs/
H A DrsRuntime.h104 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
106 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
108 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
203 float bottom, float top, float near, float far);
205 float bottom, float top, float near, float far);
/frameworks/base/core/java/android/text/
H A DStaticLayout.java289 int fmBottom = fm.bottom;
387 int above, below, top, bottom;
395 bottom = okBottom;
402 bottom = fitBottom;
415 bottom = fmBottom;
424 above, below, top, bottom,
462 fitBottom = fm.bottom;
497 fm.top, fm.bottom,
509 int above, int below, int top, int bottom, int v,
541 fm.bottom
508 out(CharSequence text, int start, int end, int above, int below, int top, int bottom, int v, float spacingmult, float spacingadd, LineHeightSpan[] chooseHt, int[] chooseHtv, Paint.FontMetricsInt fm, boolean hasTabOrEmoji, boolean needMultiply, byte[] chdirs, int dir, boolean easy, int bufEnd, boolean includePad, boolean trackPad, char[] chs, float[] widths, int widthStart, TextUtils.TruncateAt ellipsize, float ellipsisWidth, float textWidth, TextPaint paint, boolean moreChars) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java337 mLayerBounds.right, mLayerBounds.bottom,
526 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
527 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
719 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
731 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
732 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
831 src.right, src.bottom,
832 src.left, src.bottom,
843 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7]));
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java202 + " bottom=" + mTextMetrics.bottom);
216 mReusableOvalRect.bottom = y + major / 2;
226 final int bottom = mHeaderBottom;
234 canvas.drawRect(0, 0, itemW-1, bottom,mTextBackgroundPaint);
242 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom, mTextBackgroundPaint);
246 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom, mTextBackgroundPaint);
253 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom,
259 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom,
267 canvas.drawRect(itemW * 3, 0, (itemW * 4) - 1, bottom, mTextBackgroundPain
[all...]

Completed in 1171 milliseconds

1234567891011>>