Searched refs:bottom (Results 176 - 200 of 348) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecents.java144 float labelTextHeight = p.getFontMetricsInt().bottom
149 float descriptionTextHeight = p.getFontMetricsInt().bottom
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java596 int bottom = texture.getHeight();
601 bottom -= 1;
603 outRect.set(left, top, right, bottom);
652 source.bottom /= texHeight;
661 if (source.bottom > yBound) {
662 target.bottom = target.top + target.height() * (yBound - source.top) / source.height();
663 source.bottom = yBound;
1001 bounds.bottom = Math.round(mTempMatrix[MATRIX_SIZE + 5]);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec40 void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
73 void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
74 void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
/frameworks/rs/
H A DrsFont.h56 int32_t bottom; member in struct:android::renderscript::Font::Rect
61 bottom = b;
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java745 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f);
1477 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument
1482 this.bottom = bottom;
1490 bottom = parcel.readInt();
1499 dest.writeInt(bottom);
1506 target.setPadding(left, top, right, bottom);
1513 int left, top, right, bottom; field in class:RemoteViews.ViewPaddingAction
1902 * @param bottom The id of a drawable to place below the text, or 0
1904 public void setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) { argument
1919 setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) argument
2186 setViewPadding(int viewId, int left, int top, int right, int bottom) argument
[all...]
H A DSlidingDrawer.java593 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY);
594 region.union(0, frame.bottom - deltaY, getWidth(),
595 frame.bottom - deltaY + mContent.getHeight());
623 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom);
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp247 jfloat top, jfloat right, jfloat bottom) {
251 SkFloatToScalar(right), SkFloatToScalar(bottom));
257 jint top, jint right, jint bottom) {
261 SkIntToScalar(right), SkIntToScalar(bottom));
282 float left, float top, float right, float bottom,
286 SkFloatToScalar(right), SkFloatToScalar(bottom));
319 jfloat bottom) {
322 SkFloatToScalar(right), SkFloatToScalar(bottom));
420 jfloat bottom, SkPaint* paint) {
424 SkScalar bottom_ = SkFloatToScalar(bottom);
246 clipRect_FFFF(JNIEnv* env, jobject jcanvas, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
256 clipRect_IIII(JNIEnv* env, jobject jcanvas, jint left, jint top, jint right, jint bottom) argument
281 clipRect(JNIEnv* env, jobject, SkCanvas* canvas, float left, float top, float right, float bottom, int op) argument
317 quickReject__FFFF(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
418 drawRect__FFFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
814 SkScalar bottom = SkFloatToScalar(y + textSize * kStdUnderline_Offset local
821 SkScalar bottom = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset local
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceView.java292 protected boolean setFrame(int left, int top, int right, int bottom) { argument
293 boolean result = super.setFrame(left, top, right, bottom);
526 mSurfaceFrame.bottom = mWinFrame.height();
530 mSurfaceFrame.bottom = (int) (mWinFrame.height() * appInvertedScale + 0.5f);
534 final int surfaceHeight = mSurfaceFrame.bottom;
H A DView.java318 * These methods return the coordinates of the right and bottom edges of the
350 * is expressed in pixels for the left, top, right and bottom parts of the view.
2969 * to the bottom edge of this view.
3012 * The bottom padding in pixels, that is the distance in pixels between the
3013 * bottom edge of this view and the bottom edge of its content.
4666 (int) position.right, (int) position.bottom);
5231 (int) (position.right + 0.5f), (int) (position.bottom + 0.5f));
5878 * windows, one on the top of the window, and one on the bottom),
5920 localInsets.right, localInsets.bottom);
9075 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
10039 setBottom(int bottom) argument
11253 postInvalidate(int left, int top, int right, int bottom) argument
11297 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument
11348 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument
14770 setOpticalFrame(int left, int top, int right, int bottom) argument
14848 onLayout(boolean changed, int left, int top, int right, int bottom) argument
14864 setFrame(int left, int top, int right, int bottom) argument
15460 setPadding(int left, int top, int right, int bottom) argument
15478 internalSetPadding(int left, int top, int right, int bottom) argument
15552 setPaddingRelative(int start, int top, int end, int bottom) argument
18715 int bottom; field in class:View.AttachInfo.InvalidateInfo
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java94 result = (r.left | r.top | r.bottom | r.right) != 0;
708 if (t.bottom > r.bottom) r.bottom = t.bottom;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java445 final float bottom = top + mBackground.getHeight();
451 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom);
498 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument
501 left, bottom, 0.0f, 0.0f, 1.0f,
502 right, bottom, 0.0f, 1.0f, 1.0f,
H A DBatteryMeterView.java295 mFrame.bottom -= SUBPIXEL;
325 final float bb = mFrame.bottom - mFrame.height() / 10f;
327 || mBoltFrame.right != br || mBoltFrame.bottom != bb) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarICS.java718 dirty.right + scrollX, dirty.bottom + scrollY);
733 int bottom = h - getPaddingBottom() - getPaddingTop();
756 bottom = top + height;
760 mIndeterminateDrawable.setBounds(left, top, right, bottom);
764 mProgressDrawable.setBounds(0, 0, right, bottom);
/frameworks/native/opengl/libagl/
H A Degl.cpp254 : left(0), top(0), right(w), bottom(h) { }
256 : left(l), top(t), right(r), bottom(b) { }
261 bottom = min(bottom, r.bottom);
265 return (left>=right || top>=bottom);
269 what, left, top, right-left, bottom-top);
275 int32_t bottom; member in struct:android::egl_window_surface_v2_t::Rect
291 storage->bottom = rhs.top;
295 const int32_t bot = min(lhs.bottom, rh
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java651 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
652 super.onLayout(changed, left, top, right, bottom);
881 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight();
883 float b = mTranslateRect.bottom;
889 translateY = Math.max(maxTop - mTranslateRect.bottom,
936 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight();
938 float b = mTranslateRect.bottom;
942 // Image is shorter than view; translate to the bottom edge of the view
945 // Image is off bottom-edge of screen; bring it into view
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp588 int left, top, right, bottom; local
589 if (meta->findRect(kKeyCropRect, &left, &top, &right, &bottom)) {
591 mHeight = bottom - top + 1;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java224 * The bottom rows will each get a leftover item. Rows (indexed at 0)
235 // Fill the bottom rows with a leftover item each
369 childLayoutParams.bottom = (int) (itemTop + itemHeight);
440 childLayoutParams.bottom);
744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the
749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
/frameworks/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java236 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
237 if (DEBUG) Log.d(TAG, this + " onlayout height: " + (bottom - top));
239 int measureSpec = View.MeasureSpec.makeMeasureSpec(bottom - top,
/frameworks/base/core/tests/coretests/src/android/view/
H A DFocusFinderTest.java42 new Rect(0, 30, 10, 40), // src (left, top, right, bottom)
43 new Rect(0, 50, 10, 60)); // dest (left, top, right, bottom)
52 assertEquals(src.top, dest.bottom);
113 // just below bottom edge
184 Rect src = new Rect(0, 50, 20, 70); // src (left, top, right, bottom)
197 Rect src = new Rect(0, 50, 20, 70); // src (left, top, right, bottom)
213 Rect src = new Rect(0, 0, 50, 50); // (left, top, right, bottom)
226 // still wins while aboveInBeam's bottom edge is < out of beams' top
228 assertTrue("aboveInBeam.bottom > aboveLeftOfBeam.top", aboveInBeam.bottom > aboveLeftOfBea
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix4f.java251 * @param b location of the bottom horizontal clipping plane
268 * with the right and bottom clipping planes set to the given
273 * @param h location of the bottom horizontal clipping plane
285 * @param b location of the bottom horizontal clipping plane
313 float bottom = -top;
314 float left = bottom * aspect;
316 loadFrustum(left, right, bottom, top, near, far);
322 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp229 int32_t left, top, right, bottom; local
230 CHECK(msg->findRect(key, &left, &top, &right, &bottom));
257 StringPrintf("%s-bottom", key).c_str(),
258 bottom);
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp208 vec2 lb( bounds.left, bounds.bottom );
209 vec2 rb( bounds.right, bounds.bottom );
219 r.bottom = floorf(max(lt[1], rt[1], lb[1], rb[1]) + 0.5f);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix4f.java251 * @param b location of the bottom horizontal clipping plane
268 * with the right and bottom clipping planes set to the given
273 * @param h location of the bottom horizontal clipping plane
285 * @param b location of the bottom horizontal clipping plane
313 float bottom = -top;
314 float left = bottom * aspect;
316 loadFrustum(left, right, bottom, top, near, far);
322 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp190 int32_t left, int32_t top, int32_t right, int32_t bottom) {
197 item->u.rectValue.mBottom = bottom;
238 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const {
247 *bottom = item->u.rectValue.mBottom;
/frameworks/av/media/libstagefright/yuv/
H A DYUVCanvas.cpp44 for (int32_t y = rect.top; y < rect.bottom; ++y) {

Completed in 1497 milliseconds

1234567891011>>