Searched defs:bottom (Results 176 - 200 of 223) sorted by relevance

123456789

/frameworks/base/opengl/java/android/opengl/
H A DGLES11Ext.java347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
352 int bottom,
578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
583 int bottom,
946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
951 float bottom,
957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
962 float bottom,
349 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
580 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
948 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
959 glOrthofOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
H A DGLErrorWrapper.java333 public void glFrustumf(float left, float right, float bottom, float top, argument
336 mgl.glFrustumf(left, right, bottom, top, near, far);
340 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
343 mgl.glFrustumx(left, right, bottom, top, near, far);
607 public void glOrthof(float left, float right, float bottom, float top, argument
610 mgl.glOrthof(left, right, bottom, top, near, far);
614 public void glOrthox(int left, int right, int bottom, int top, int near, argument
617 mgl.glOrthox(left, right, bottom, top, near, far);
/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/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java175 final int bottom = args.argi4;
176 handleOnRectangleOnScreenRequested(left, top, right, bottom);
242 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
247 args.argi4 = bottom;
251 private void handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
254 if (!magnifiedFrame.intersects(left, top, right, bottom)) {
275 if (bottom - top > magnifFrameInScreenCoords.height()) {
279 } else if (bottom > magnifFrameInScreenCoords.bottom) {
280 scrollY = bottom
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java2113 public void onLayoutSurface(int left, int top, int right, int bottom) { argument
2117 + ", right=" + right + ", bottom=" + bottom + ",)");
2123 mSessionState.client.onLayoutSurface(left, top, right, bottom,
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java606 Math.min(mContentFrame.bottom, mFrame.bottom));
611 Math.min(mVisibleFrame.bottom, mFrame.bottom));
616 Math.min(mStableFrame.bottom, mFrame.bottom));
621 Math.max(mFrame.bottom - mOverscanFrame.bottom, 0));
626 mFrame.bottom - mContentFrame.bottom);
723 getNeedsMenuLw(WindowManagerPolicy.WindowState bottom) argument
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp391 // Look for bottom tick
463 // find top and bottom extent of nine patch content on center column
507 png_bytepp rows, int left, int top, int right, int bottom)
511 if (left > right || top > bottom) {
515 while (top <= bottom) {
557 int left, right, top, bottom; local
563 image->height, &top, &bottom);
565 // hpatch, vpatch, left, top, right, bottom);
566 const uint32_t c = get_color(image->rows, left, top, right, bottom);
567 NOISY(printf("Color in (%d,%d)-(%d,%d): #%08x\n", left, top, right, bottom,
506 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
592 int bottom; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java373 float right, float bottom,
381 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
448 bounds.bottom = rect.y + rect.height;
481 float right, float bottom) {
571 final float left, final float top, final float right, final float bottom, long paint) {
583 (int)(right-left), (int)(bottom-top));
589 (int)(right-left), (int)(bottom-top));
597 final float top, final float right, final float bottom, long paint) {
598 if (right > left && bottom > top) {
609 (int)(right - left), (int)(bottom
371 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
479 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
570 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
596 native_drawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
631 native_drawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument
663 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument
1048 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
/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/native/services/surfaceflinger/
H A DLayer.cpp400 float insetB = (winHeight - winCrop.bottom) * yScale;
405 crop.bottom -= insetB;
448 activeTransparentRegion.orSelf(Rect(0, activeCrop.bottom,
451 activeCrop.left, activeCrop.bottom));
453 s.active.w, activeCrop.bottom));
720 float bottom = float(win.bottom) / float(s.active.h); local
726 texCoords[1] = vec2(left, 1.0f - bottom);
727 texCoords[2] = vec2(right, 1.0f - bottom);
796 position[1] = tr.transform(win.left, win.bottom);
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java307 e.getY()), mTranslateRect.bottom - heightBuffer);
404 float minY = getHeight() * marginFit + mTranslateRect.bottom * relativeDistance;
751 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
752 super.onLayout(changed, left, top, right, bottom);
996 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight();
998 float b = mTranslateRect.bottom;
1004 translateY = Math.max(maxTop - mTranslateRect.bottom,
1060 float maxBottom = mAllowCrop ? mCropRect.bottom : getHeight();
1062 float b = mTranslateRect.bottom;
1066 // Image is shorter than view; translate to the bottom edg
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java270 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
296 public void setPaddingRelative(View view, int start, int top, int end, int bottom); argument
389 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
390 view.invalidate(left, top, right, bottom);
499 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
500 view.setPadding(start, top, end, bottom);
1018 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
1019 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
1120 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
1121 ViewCompatJellybeanMr1.setPaddingRelative(view, start, top, end, bottom);
1450 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
1902 setPaddingRelative(View view, int start, int top, int end, int bottom) argument
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2526 int32_t left, top, right, bottom; local
2529 &right, &bottom));
2545 ((bottom - top + 1) * scale.xHeight) >> 16);
4209 int32_t left, top, right, bottom; local
4213 &left, &top, &right, &bottom));
4219 crop.bottom = bottom + 1;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java427 * Flag indicating the motion event intersected the bottom edge of the screen.
2862 float right, float bottom) {
2867 if (x < left || x > right || y < top || y > bottom) {
2887 public final MotionEvent clampNoHistory(float left, float top, float right, float bottom) { argument
2900 pc[i].y = clamp(pc[i].y, top, bottom);
2861 isWithinBoundsNoHistory(float left, float top, float right, float bottom) argument
H A DWindowManagerPolicy.java228 * @return Rect The left, top, right, and bottom insets, relative
238 * @return Rect The left, top, right, and bottom insets, relative
255 * @param bottom The bottom-most window to consider when determining this.
257 public boolean getNeedsMenuLw(WindowState bottom); argument
498 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom); argument
838 * Returns the bottom-most layer of the system decor, above which no policy decor should
/frameworks/base/core/java/android/widget/
H A DGridLayout.java132 * and <em>bottom</em> edges. To be more precise, GridLayout treats each of its layout
203 * {@link android.view.View#getBottom() bottom} and
917 int bottom = getHeight() - getPaddingBottom() - insets.bottom;
923 drawLine(canvas, x, top, x, bottom, paint);
1116 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1120 int targetHeight = bottom - top;
2068 int left, int top, int right, int bottom,
2071 setMargins(left, top, right, bottom);
2847 * Indicates that a view should be aligned with the <em>bottom</e
2066 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
H A DNumberPicker.java126 * The strength of fading in the top and bottom while drawing the selector.
446 * The bottom of the bottom selection divider.
759 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
761 super.onLayout(changed, left, top, right, bottom);
1553 // draw the bottom divider
2541 int left, int top, int right, int bottom) {
2551 boundsInParent.set(left, top, right, bottom);
2563 String text, int left, int top, int right, int bottom) {
2574 boundsInParent.set(left, top, right, bottom);
2540 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument
2562 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
2596 createAccessibilityNodeInfoForNumberPicker(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp1074 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1077 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1081 (GLfloat)bottom,
1088 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1091 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1095 (GLfixed)bottom,
2420 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2423 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2427 (GLfloat)bottom,
2434 /* void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixe
1076 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1090 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2422 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2436 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp987 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
990 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
994 (GLfixed)bottom,
1820 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1823 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1827 (GLfixed)bottom,
2826 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2829 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2833 (GLfloat)bottom,
2840 /* void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloa
989 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1822 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2828 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2842 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java462 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
475 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
477 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom,
483 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG})
485 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
486 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
521 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
534 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
537 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom,
542 * Helper for saveLayerAlpha(left, top, right, bottom, alph
544 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument
761 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
779 clipRect(float left, float top, float right, float bottom) argument
797 clipRect(int left, int top, int right, int bottom) argument
950 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1145 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1166 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1234 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1261 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
1995 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
2013 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
2031 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2035 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2040 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
2044 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
[all...]
H A DPaint.java1219 * metrics, and also increases top and bottom bounds to provide more space.
1364 public float bottom; field in class:Paint.FontMetrics
1400 public int bottom; field in class:Paint.FontMetricsInt
1405 " descent=" + descent + " bottom=" + bottom +
/frameworks/base/libs/hwui/
H A DDisplayListOp.h241 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
242 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {}
256 mLocalBounds.bottom = fmaxf(mLocalBounds.bottom, points[i + 1]);
338 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument
339 : mArea(left, top, right, bottom)
346 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
347 : mArea(left, top, right, bottom)
361 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom,
366 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mArea.bottom,
547 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument
838 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument
999 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1026 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1076 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1107 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
1178 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1195 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java429 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
434 float bottom,
440 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
445 int bottom,
799 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
804 float bottom,
810 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
815 int bottom,
431 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
442 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
801 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
812 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java226 int bottom, int oldLeft, int oldTop, int oldRight,
228 final int height = bottom - top;
283 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
284 super.onLayout(changed, left, top, right, bottom);
366 int bottom = mHeader.getCollapsedHeight();
368 ? bottom + mQsPeekHeight + mNotificationTopPadding
926 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft,
929 int height = bottom - top;
1518 // stack scroller is close enough (collision distance) to the bottom of the header.
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java649 height - backgroundPadding.top - backgroundPadding.bottom : 0;
694 result.bottom = height - backgroundPadding.bottom;
706 bitMapResult.bottom);
871 * Calculate the bottom of the line the chip will be located on using:
884 * Calculate the offset from bottom of the EditText to top of the provided line.
3118 float bottom; field in class:RecipientEditTextView.ChipBitmapContainer

Completed in 1164 milliseconds

123456789