Searched refs:bottom (Results 276 - 300 of 709) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/widget/
H A DFrameLayout.java126 mForegroundPaddingBottom = padding.bottom;
260 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
261 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
264 void layoutChildren(int left, int top, int right, int bottom, boolean forceLeftGravity) { argument
271 final int parentBottom = bottom - top - getPaddingBottomWithForeground();
H A DAbsSeekBar.java639 final int top, bottom;
643 bottom = oldBounds.bottom;
646 bottom = offset + thumbHeight;
657 right + offsetX, bottom + offsetY);
661 thumb.setBounds(left, top, right, bottom);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLayerDrawable.java459 * @param bottom The bottom padding of the new layer.
462 int left, int top, int right, int bottom) {
470 childDrawable.mInsetB = bottom;
763 * @param b number of pixels to subtract from the bottom bound
782 * @param b number of pixels to inset from the bottom bound
855 * @param b number of pixels to inset from the bottom bound
865 * @return number of pixels to inset from the bottom bound
1056 padding.bottom = paddingB;
1059 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom !
461 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument
1083 setPadding(int left, int top, int right, int bottom) argument
1116 setPaddingRelative(int start, int top, int end, int bottom) argument
1297 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
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.java106 result = (r.left | r.top | r.bottom | r.right) != 0;
308 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
310 mHotspotBounds = new Rect(left, top, right, bottom);
312 mHotspotBounds.set(left, top, right, bottom);
316 mCurrDrawable.setHotspotBounds(left, top, right, bottom);
561 hotspotBounds.right, hotspotBounds.bottom);
1067 if (t.bottom > r.bottom) r.bottom = t.bottom;
[all...]
H A DDrawable.java218 public void setBounds(int left, int top, int right, int bottom) { argument
226 oldBounds.right != right || oldBounds.bottom != bottom) {
231 mBounds.set(left, top, right, bottom);
241 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
694 * @param bottom position in pixels of the bottom bound
697 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
/frameworks/base/libs/hwui/
H A DRenderProperties.h457 bool setBottom(int bottom) { argument
458 if (RP_SET(mPrimitiveFields.mBottom, bottom)) {
478 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
480 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) {
484 mPrimitiveFields.mBottom = bottom;
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/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp274 // Content doesn't entirely overlap backdrop, so fill around content (right/bottom)
284 backdrop.right, backdrop.bottom));
287 if (content.bottom < backdrop.bottom) {
288 // draw backdrop to bottom of content
289 // Note: bottom fill uses content left/right, to avoid overdrawing left/right fill
291 canvas->clipRect(SkRect::MakeLTRB(content.left, content.bottom,
292 content.right, backdrop.bottom));
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp210 position[i*6 + 1].y = height - r->bottom;
212 position[i*6 + 2].y = height - r->bottom;
216 position[i*6 + 4].y = height - r->bottom;
234 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
235 glScissor(left, bottom, right, top);
233 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java64 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument
226 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument
227 drawable.setHotspotBounds(left, top, right, bottom);
411 int right, int bottom) {
412 IMPL.setHotspotBounds(drawable, left, top, right, bottom);
410 setHotspotBounds(@onNull Drawable drawable, int left, int top, int right, int bottom) argument
/frameworks/support/wear/src/android/support/wear/widget/
H A DBoxInsetLayout.java44 * specify the child's edges to be boxed in: {@code left|top|right|bottom} or {@code all}. The
205 + mForegroundPadding.bottom;
231 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
238 final int parentBottom = bottom - top - getPaddingBottom() - mForegroundPadding.bottom;
336 int bottomParentPadding = getPaddingBottom() + mForegroundPadding.bottom;
429 /** The view will force an inset on the bottom edge of the children. */
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java325 for (int y = r.top, bottom = r.bottom; y < bottom; y += size) {
376 int bottom = (int) Math.ceil(top + height / scale);
383 bottom = Math.min(mImageHeight, bottom);
385 out.set(left, top, right, bottom);
442 for (int ty = r.top, i = 0; ty < r.bottom; ty += size, i++) {
654 source.bottom /= 2f;
657 source.bottom
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp75 jfieldID bottom; member in struct:android::__anon1138
312 dirtyRect.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom);
347 dirtyRect.right, dirtyRect.bottom, SkClipOp::kIntersect);
354 env->SetIntField(dirtyRectObj, gRectClassInfo.bottom, dirtyRect.bottom);
640 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
/frameworks/base/core/java/android/text/
H A DStaticLayout.java595 // must be a multiple of 4 (and > 0) (store top, bottom, ascent, and descent per range)
748 // the order of storage here (top, bottom, ascent, descent) has to match the code below
751 fmCache[fmCacheCount * 4 + 1] = fm.bottom;
809 fm.bottom = fmCache[fmCacheIndex * 4 + 1];
823 if (fm.bottom > fmBottom) {
824 fmBottom = fm.bottom;
847 fmBottom = fm.bottom;
877 fm.top, fm.bottom,
889 int above, int below, int top, int bottom, int v,
921 fm.bottom
888 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/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/native/libs/math/include/math/
H A Dmat4.h277 static CONSTEXPR TMat44 ortho(T left, T right, T bottom, T top, T near, T far);
279 static CONSTEXPR TMat44 frustum(T left, T right, T bottom, T top, T near, T far);
447 CONSTEXPR TMat44<T> TMat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) {
450 m[1][1] = 2 / (top - bottom);
453 m[3][1] = -(top + bottom) / (top - bottom);
459 CONSTEXPR TMat44<T> TMat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) {
462 m[1][1] = (2 * near) / (top - bottom);
464 m[2][1] = (top + bottom) / (top - bottom);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java183 * The raw amount of the overScroll on the bottom, which is not rubber-banded.
454 && mCurrentBounds.top < mCurrentBounds.bottom) {
455 canvas.drawRect(0, mCurrentBounds.top, getWidth(), mCurrentBounds.bottom,
737 mClipRect.bottom = (int) height;
1050 float bottom = childTop + slidingChild.getActualHeight()
1053 float dist = Math.min(Math.abs(top - localTouchY), Math.abs(bottom - localTouchY));
1080 float bottom = childTop + slidingChild.getActualHeight()
1088 if (touchY >= top && touchY <= bottom && touchX >= left && touchX <= right) {
1199 * @return the scroll necessary to make the bottom edge of {@param v} align with the top of
1665 final int bottom
2186 setBackgroundBottom(int bottom) argument
[all...]
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java533 || surfaceInsets.top != 0 || surfaceInsets.bottom != 0)) {
538 mSurfaceHeight = height + mInsetTop + surfaceInsets.bottom;
707 * @param bottom The bottom side of the protected bounds.
709 public void setContentDrawBounds(int left, int top, int right, int bottom) { argument
710 nSetContentDrawBounds(mNativeProxy, left, top, right, bottom);
878 srcRect.right, srcRect.bottom, bitmap);
1030 int top, int right, int bottom);
1029 nSetContentDrawBounds(long nativeProxy, int left, int top, int right, int bottom) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DTask.java399 * @param alignBottom True if the task's bottom should be aligned to the adjusted
400 * bounds's bottom; false if the task's top should be aligned
410 int offsetY = adjustedBounds.bottom - mTmpRect2.bottom;
480 if (win.mVisibleFrame.bottom > out.bottom) {
481 out.bottom = win.mVisibleFrame.bottom;
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowFrameTests.java108 public void assertRect(Rect rect, int left, int top, int right, int bottom) { argument
112 assertEquals(bottom, rect.bottom);
136 cf.bottom -= 100;
139 vf.bottom -= bottomVisibleInset;
320 cf.bottom -= displayInfo.logicalWidth / 5;
/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.java689 mLayout.surfaceInsets.bottom += mOutsets.bottom;
708 h += padding.top + padding.bottom + mOutsets.top + mOutsets.bottom;
712 mOverscanInsets.bottom += padding.bottom;
716 mContentInsets.bottom += padding.bottom;
720 mStableInsets.bottom += padding.bottom;
[all...]
/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;

Completed in 521 milliseconds

<<11121314151617181920>>