Searched refs:bottom (Results 251 - 275 of 625) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/widget/
H A DTextView.java1962 * Returns the bottom padding of the view, plus space for the bottom
2049 int bottom = getCompoundPaddingBottom();
2050 int viewht = getHeight() - top - bottom;
2068 * Returns the extended bottom padding of the view, including both the
2069 * bottom Drawable if any and any extra space to keep more than maxLines
2086 int bottom = getCompoundPaddingBottom();
2087 int viewht = getHeight() - top - bottom;
2091 return bottom;
2096 return bottom
2168 setCompoundDrawables(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument
2308 setCompoundDrawablesWithIntrinsicBounds(@rawableRes int left, @DrawableRes int top, @DrawableRes int right, @DrawableRes int bottom) argument
2332 setCompoundDrawablesWithIntrinsicBounds(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument
2365 setCompoundDrawablesRelative(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2512 setCompoundDrawablesRelativeWithIntrinsicBounds(@rawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
2536 setCompoundDrawablesRelativeWithIntrinsicBounds(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2740 setPadding(int left, int top, int right, int bottom) argument
2754 setPaddingRelative(int start, int top, int end, int bottom) argument
7374 onLayout(boolean changed, int left, int top, int right, int bottom) argument
[all...]
H A DAbsSeekBar.java619 final int top, bottom;
623 bottom = oldBounds.bottom;
626 bottom = offset + thumbHeight;
637 right + offsetX, bottom + offsetY);
641 thumb.setBounds(left, top, right, bottom);
H A DAbsSpinner.java177 mSpinnerPadding.bottom = mPaddingBottom > mSelectionBottomPadding ? mPaddingBottom
212 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom;
221 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
H A DCompoundButton.java420 final int bottom = top + drawableHeight;
424 buttonDrawable.setBounds(left, top, right, bottom);
428 background.setHotspotBounds(left, top, right, bottom);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp73 jfieldID bottom; member in struct:android::__anon953
307 dirtyRect.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom);
342 dirtyRect.right, dirtyRect.bottom);
349 env->SetIntField(dirtyRectObj, gRectClassInfo.bottom, dirtyRect.bottom);
598 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java182 /** draw the gradient from the top to the bottom */
184 /** draw the gradient from the top-right to the bottom-left */
188 /** draw the gradient from the bottom-right to the top-left */
190 /** draw the gradient from the bottom to the top */
192 /** draw the gradient from the bottom-left to the top-right */
196 /** draw the gradient from the top-left to the bottom-right */
225 * ordered top-left, top-right, bottom-right, bottom-left. This property
248 * ordered top-left, top-right, bottom-right, bottom
[all...]
H A DDrawableContainer.java109 result = (r.left | r.top | r.bottom | r.right) != 0;
297 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
299 mHotspotBounds = new Rect(left, top, right, bottom);
301 mHotspotBounds.set(left, top, right, bottom);
305 mCurrDrawable.setHotspotBounds(left, top, right, bottom);
543 hotspotBounds.right, hotspotBounds.bottom);
1041 if (t.bottom > r.bottom) r.bottom = t.bottom;
[all...]
H A DDrawable.java203 public void setBounds(int left, int top, int right, int bottom) { argument
211 oldBounds.right != right || oldBounds.bottom != bottom) {
216 mBounds.set(left, top, right, bottom);
226 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
673 * @param bottom position in pixels of the bottom bound
676 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
H A DInsetDrawable.java182 padding.bottom += mState.mInsetBottom;
195 contentInsets.bottom + mState.mInsetBottom);
217 r.bottom -= mState.mInsetBottom;
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java338 * @param b the parent's bottom border
362 final int bottom = (parentHeight + handleHeight) / 2;
364 tab.layout(0, top, handleWidth, bottom);
365 text.layout(0 - parentWidth, top, 0, bottom);
370 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom);
371 text.layout(parentWidth, top, parentWidth + parentWidth, bottom);
381 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2;
390 target.layout(targetLeft, bottom, targetRight, bottom + targetHeight);
661 int bottom
[all...]
H A DAlertDialogLayout.java272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
292 childTop = mPaddingTop + bottom - top - totalLength;
297 childTop = mPaddingTop + (bottom - top - totalLength) / 2;
/frameworks/base/core/java/android/text/
H A DStaticLayout.java579 // must be a multiple of 4 (and > 0) (store top, bottom, ascent, and descent per range)
730 // the order of storage here (top, bottom, ascent, descent) has to match the code below
733 fmCache[fmCacheCount * 4 + 1] = fm.bottom;
791 fm.bottom = fmCache[fmCacheIndex * 4 + 1];
805 if (fm.bottom > fmBottom) {
806 fmBottom = fm.bottom;
829 fmBottom = fm.bottom;
859 fm.top, fm.bottom,
871 int above, int below, int top, int bottom, int v,
903 fm.bottom
870 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, int flags, 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/libs/hwui/
H A DClipArea.cpp39 handlePoint(transformedBounds, transform, r.left, r.bottom);
40 handlePoint(transformedBounds, transform, r.right, r.bottom);
155 rectPath.addRect(bounds.left, bounds.top, bounds.right, bounds.bottom);
211 void ClipArea::setClip(float left, float top, float right, float bottom) { argument
214 mClipRect.set(left, top, right, bottom);
541 other.op(rect.left, rect.top, rect.right, rect.bottom, SkRegion::kUnion_Op);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java175 * The raw amount of the overScroll on the bottom, which is not rubber-banded.
413 if (mCurrentBounds.top < mCurrentBounds.bottom) {
414 canvas.drawRect(0, mCurrentBounds.top, getWidth(), mCurrentBounds.bottom,
959 float bottom = childTop + slidingChild.getActualHeight();
961 float dist = Math.min(Math.abs(top - localTouchY), Math.abs(bottom - localTouchY));
988 float bottom = childTop + slidingChild.getActualHeight();
995 if (touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) {
1115 * @return the scroll necessary to make the bottom edge of {@param v} align with the top of
1539 final int bottom = maxOverScrollY + scrollRangeY;
1542 if (newScrollY > bottom) {
1997 setBackgroundBottom(int bottom) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp86 const int32_t bottom = Effects_log2(kMinFreq); local
88 const int32_t jump = (top - bottom) / (mNumPeaking + 2);
89 int32_t centerFreq = bottom + jump/2;
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java674 mLayout.surfaceInsets.bottom += mOutsets.bottom;
693 h += padding.top + padding.bottom + mOutsets.top + mOutsets.bottom;
697 mOverscanInsets.bottom += padding.bottom;
701 mContentInsets.bottom += padding.bottom;
705 mStableInsets.bottom += padding.bottom;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainer.java101 // Since we control our own bottom, be whatever size we want.
120 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
121 super.onLayout(changed, left, top, right, bottom);
261 mQsBounds.bottom = mQSPanel.getHeight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java168 r.bottom *= scale;
238 (int) taskViewRect.right, (int) taskViewRect.bottom);
323 return r.left + "," + r.top + "-" + r.right + "," + r.bottom;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java201 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset);
212 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset);
259 // When drawing bottom edge shadow, we use that extra space.
268 // We could have different top-bottom offsets to avoid extra gap above but in that case
272 bounds.right - mMaxShadowSize, bounds.bottom - verticalOffset);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java112 edgesOut.bottom = bottomEdge;
303 } else if (edges.bottom < getHeight()) {
304 adjustment[1] = (edges.bottom - getHeight()) / scale;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiProducerActivity.java46 // The Gap between the content and the frame which should get filled on the right and bottom
77 // Note: We reduce the size by CONTENT_GAP pixels on right and bottom, so that they get
206 currentFrameBounds.right, currentFrameBounds.bottom);
228 currentBackBounds.right, currentBackBounds.bottom);
288 rect.right - BORDER_WIDTH / 2, rect.bottom - BORDER_WIDTH / 2);
/frameworks/support/v7/cardview/gingerbread/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java269 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset);
280 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset);
326 // When drawing bottom edge shadow, we use that extra space.
336 // We could have different top-bottom offsets to avoid extra gap above but in that case
340 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset);
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h96 uint32_t bottom,
158 * badRectCount - number of (top, left, bottom, right) tuples are given in
/frameworks/av/media/libstagefright/foundation/
H A DMetaData.cpp83 int32_t right, int32_t bottom) {
88 r.mBottom = bottom;
172 int32_t *right, int32_t *bottom) {
186 *bottom = r->mBottom;
80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java190 int bottom = top + childHeight;
206 child.layout(layoutLeft, top, layoutRight, bottom);
336 r.bottom = (int) (32 * getResources().getDisplayMetrics().density);
357 r.bottom = (int) (r.top + size);

Completed in 751 milliseconds

<<11121314151617181920>>