/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 812 GLfloat bottom, GLfloat top, 817 cmpf(top, bottom) || 826 const GLfloat r_height = reciprocalf(top - bottom); 831 const GLfloat B = (top + bottom) * r_height; 854 GLfloat bottom, GLfloat top, 859 cmpf(top, bottom) || 866 const GLfloat r_height = reciprocalf(top - bottom); 872 const GLfloat ty = -(top + bottom) * r_height; 996 GLfloat bottom, GLfloat top, 1000 frustumf(left, right, bottom, to 810 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 852 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 994 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1003 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 1015 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1024 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayout.java | 544 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 292 boolean bottom, boolean right) { 307 if (bottom && lp.bottomMargin != insets.bottom) { 309 lp.bottomMargin = insets.bottom; 322 // The top and bottom action bars are always within the content area. 386 // xlarge screen layout doesn't have bottom action bar. 419 // If action bar is split, adjust bottom insets for it. 437 mContentInsets.bottom += bottomInset; 440 mInnerInsets.bottom += bottomInset; 477 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 291 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument [all...] |
H A D | AdapterViewCompat.java | 543 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1067 // Either we hit the bottom, or we are trying to move up
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 306 int bottom = 0; 308 bottom = getHeight() - getPaddingBottom() - mDividerHeight; 311 bottom = child.getBottom() + lp.bottomMargin; 313 drawHorizontalDivider(canvas, bottom); 1419 * @param bottom 1421 void layoutVertical(int left, int top, int right, int bottom) { argument 1442 childTop = getPaddingTop() + bottom - top - mTotalLength; 1447 childTop = getPaddingTop() + (bottom - top - mTotalLength) / 2; 1514 * @param bottom 1516 void layoutHorizontal(int left, int top, int right, int bottom) { argument [all...] |
H A D | SwitchCompat.java | 767 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 768 super.onLayout(changed, left, top, right, bottom); 880 final int switchInnerBottom = switchBottom - padding.bottom;
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 1370 int left, int top, int right, int bottom) { 1378 android_native_rect_t crop = { left, top, right, bottom }; 1369 set_crop(const camera2_stream_ops_t* w, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 455 dbottom = sTempRect.bottom; 459 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); 461 if (top >= bottom) return TextUtils.packRangeInLong(0, -1); 462 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom)); 609 * If bounds is not null, return the top, left, right, bottom extents 620 bounds.bottom = getLineTop(line + 1); 629 * bottom of the last line. 676 * bottom line of the Layout. 1007 * below the bottom of the text, you get the last line. 1166 * Return the vertical position of the bottom o 1379 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 196 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, 204 private static native int nPrepareDirty(long renderer, int left, int top, int right, int bottom, argument 292 public boolean clipRect(float left, float top, float right, float bottom) { argument 293 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); 297 float right, float bottom, int op); 300 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument 301 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); 305 public boolean clipRect(int left, int top, int right, int bottom) { argument 306 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); 310 int right, int bottom, in 296 nClipRect(long renderer, float left, float top, float right, float bottom, int op) argument 309 nClipRect(long renderer, int left, int top, int right, int bottom, int op) argument 354 quickReject(float left, float top, float right, float bottom, EdgeType type) argument 358 nQuickReject(long renderer, float left, float top, float right, float bottom) argument 457 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument 466 nSaveLayer(long renderer, float left, float top, float right, float bottom, long paint, int saveFlags) argument 481 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument 489 nSaveLayerAlpha(long renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument 541 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, Paint paint) argument 547 nDrawArc(long renderer, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, long paint) argument 574 nDrawPatch(long renderer, long bitmap, long chunk, float left, float top, float right, float bottom, long paint) argument 639 nDrawBitmap(long renderer, long bitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float left, float top, float right, float bottom, long paint) argument 727 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument 780 drawOval(float left, float top, float right, float bottom, Paint paint) argument 784 nDrawOval(long renderer, float left, float top, float right, float bottom, long paint) argument 840 drawRect(float left, float top, float right, float bottom, Paint paint) argument 845 nDrawRect(long renderer, float left, float top, float right, float bottom, long paint) argument 864 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, Paint paint) argument 869 nDrawRoundRect(long renderer, float left, float top, float right, float bottom, float rx, float y, long paint) argument [all...] |
H A D | RenderNode.java | 315 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom); 362 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); 745 * Sets the bottom position for the display list. 747 * @param bottom The bottom position, in pixels, of the display list 751 public boolean setBottom(int bottom) { argument 752 return nSetBottom(mNativeRenderNode, bottom); 761 * @param bottom The bottom position of the display list, in pixels 768 public boolean setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 845 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument 847 nSetBottom(long renderNode, int bottom) argument 857 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument 862 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1569 public void updateCursor(View view, int left, int top, int right, int bottom) { argument 1578 mTmpCursorRect.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 147 public boolean pageDown(boolean bottom); argument 338 public boolean setFrame(int left, int top, int right, int bottom); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | RadialTimePickerView.java | 701 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 857 float bottom = mYCenter + outerRadius; 858 canvas.drawRect(left, top, right, bottom, mPaintDebug); 864 bottom = mYCenter + mCircleRadius[HOURS]; 865 canvas.drawRect(left, top, right, bottom, mPaintDebug);
|
H A D | RemoteViews.java | 744 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); 1489 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument 1494 this.bottom = bottom; 1502 bottom = parcel.readInt(); 1511 dest.writeInt(bottom); 1518 target.setPadding(left, top, right, bottom); 1525 int left, top, right, bottom; field in class:RemoteViews.ViewPaddingAction 2010 * @param bottom The id of a drawable to place below the text, or 0 2012 public void setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) { argument 2027 setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) argument 2352 setViewPadding(int viewId, int left, int top, int right, int bottom) argument [all...] |
H A D | ScrollView.java | 887 * if topFocus is true, or at the bottom of the bounds if topFocus is 891 * @param bottom the bottom offset of the bounds in which a focusable must 896 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument 903 * top, and its bottom is above the bound's bottom. A partially 916 if (top < viewBottom && viewTop < bottom) { 923 (viewBottom < bottom); 995 mTempRect.bottom = mTempRect.top + height; 997 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom); 1043 scrollAndFocus(int direction, int top, int bottom) argument [all...] |
H A D | StackView.java | 1101 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1321 globalInvalidateRect.right, globalInvalidateRect.bottom); 1325 globalInvalidateRect.right, globalInvalidateRect.bottom); 1356 int bottom = Math.max(mView.getBottom() + verticalOffsetDelta, mView.getBottom()); 1358 invalidateRectf.set(left, top, right, bottom); 1369 (int) Math.ceil(invalidateRectf.bottom));
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | GlowPadView.java | 1062 // we only scale to fit vertically if we're not pinned to the top or bottom. In these 1063 // cases, we want the ring to hang off the side or top/bottom, respectively. 1117 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1118 super.onLayout(changed, left, top, right, bottom); 1120 final int height = bottom - top;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 54 jfieldID bottom; member in struct:android::JMetricsID 488 env->SetFloatField(metricsObj, gFontMetrics_fieldID.bottom, SkScalarToFloat(metrics.fBottom)); 508 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.bottom, SkScalarCeilToInt(metrics.fBottom)); 1037 gFontMetrics_fieldID.bottom = req_fieldID(env->GetFieldID(gFontMetrics_class, "bottom", "F")); 1047 gFontMetricsInt_fieldID.bottom = req_fieldID(env->GetFieldID(gFontMetricsInt_class, "bottom", "I"));
|
H A D | SkiaCanvas.cpp | 68 virtual int saveLayer(float left, float top, float right, float bottom, 70 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 82 virtual bool quickRejectRect(float left, float top, float right, float bottom) const; 84 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); 99 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint); 100 virtual void drawRoundRect(float left, float top, float right, float bottom, 103 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint); 104 virtual void drawArc(float left, float top, float right, float bottom, 288 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, argument 290 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); 296 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SkCanvas::SaveFlags flags) argument 430 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 514 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument 520 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 530 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 535 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 154 jfloat left, jfloat top, jfloat right, jfloat bottom) { 155 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom); 243 jfloat right, jfloat bottom, jlong paintHandle) { 245 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint); 249 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) { 251 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint); 261 jfloat right, jfloat bottom, jlong paintHandle) { 263 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint); 267 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, 270 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngl 153 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 242 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument 248 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument 260 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument 266 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument 470 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth; local 475 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth; local [all...] |
H A D | android_view_GLES20Canvas.cpp | 121 jlong rendererPtr, jint left, jint top, jint right, jint bottom, 124 return renderer->prepareDirty(left, top, right, bottom, opaque); 208 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, 212 return renderer->saveLayer(left, top, right, bottom, paint, saveFlags); 220 return renderer->saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, 225 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, 228 return renderer->saveLayerAlpha(left, top, right, bottom, alpha, saveFlags); 235 return renderer->saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, 244 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom) { 246 const bool result = renderer->quickRejectConservative(left, top, right, bottom); 120 android_view_GLES20Canvas_prepareDirty(JNIEnv* env, jobject clazz, jlong rendererPtr, jint left, jint top, jint right, jint bottom, jboolean opaque) argument 207 android_view_GLES20Canvas_saveLayer(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr, jint saveFlags) argument 224 android_view_GLES20Canvas_saveLayerAlpha(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jint alpha, jint saveFlags) argument 243 android_view_GLES20Canvas_quickReject(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 250 android_view_GLES20Canvas_clipRectF(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jint op) argument 259 android_view_GLES20Canvas_clipRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jint left, jint top, jint right, jint bottom, jint op) argument 437 android_view_GLES20Canvas_drawPatch(JNIEnv* env, jobject clazz, jlong rendererPtr, jlong bitmapPtr, jlong patchPtr, float left, float top, float right, float bottom, jlong paintPtr) argument 455 android_view_GLES20Canvas_drawRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr) argument 463 android_view_GLES20Canvas_drawRoundRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintPtr) argument 502 android_view_GLES20Canvas_drawOval(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr) argument 510 android_view_GLES20Canvas_drawArc(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintPtr) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 104 result = (r.left | r.top | r.bottom | r.right) != 0; 292 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 294 mHotspotBounds = new Rect(left, top, bottom, right); 296 mHotspotBounds.set(left, top, bottom, right); 300 mCurrDrawable.setHotspotBounds(left, top, right, bottom); 515 hotspotBounds.right, hotspotBounds.bottom); 932 if (t.bottom > r.bottom) r.bottom = t.bottom; [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 426 bool setBottom(int bottom) { argument 427 if (RP_SET(mPrimitiveFields.mBottom, bottom)) { 447 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 449 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { 453 mPrimitiveFields.mBottom = bottom;
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputManager.java | 313 * @param bottom Bottom position. 317 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 436 final int bottom) { 440 mSessionCallback.onLayoutSurface(mSession, left, top, right, bottom); 699 public void onLayoutSurface(int left, int top, int right, int bottom, int seq) { 706 record.postLayoutSurface(left, top, right, bottom); 435 postLayoutSurface(final int left, final int top, final int right, final int bottom) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 494 int32_t left, top, right, bottom; local 495 if (buffer->meta()->findRect("crop-rect", &left, &top, &right, &bottom)) { 504 rectClazz.get(), rectConstructID, left, top, right + 1, bottom + 1);
|