/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 44 * order, so the element with the largest index will be drawn on top. 328 * @param top The top padding of the new layer. 332 ChildDrawable addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, argument 340 childDrawable.mInsetT = top; 454 * @param t number of pixels to add to the top bound 536 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; 541 padding.top = 0; 552 padding.top += mPaddingT[i]; 560 padding.top 605 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
H A D | RippleDrawable.java | 573 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 575 mHotspotBounds.set(left, top, right, bottom);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 63 status_t DisplayListRenderer::prepareDirty(float left, float top, argument 119 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument 125 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, flags)); 163 bool DisplayListRenderer::clipRect(float left, float top, float right, float bottom, argument 165 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 166 return StatefulBaseRenderer::clipRect(left, top, right, bottom, op); 253 float left, float top, float right, float bottom, const SkPaint* paint) { 258 addDrawOp(new (alloc()) DrawPatchOp(bitmap, patch, left, top, right, bottom, paint)); 267 status_t DisplayListRenderer::drawRect(float left, float top, float right, float bottom, argument 270 addDrawOp(new (alloc()) DrawRectOp(left, top, righ 252 drawPatch(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 274 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument 281 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 315 drawOval(float left, float top, float right, float bottom, const SkPaint* paint) argument 322 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument [all...] |
H A D | OpenGLRenderer.h | 136 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 146 virtual int saveLayer(float left, float top, float right, float bottom, argument 148 return saveLayer(left, top, right, bottom, paint, flags, NULL); 153 int saveLayer(float left, float top, float right, float bottom, 156 int saveLayerDeferred(float left, float top, float right, float bottom, 173 float left, float top, float right, float bottom, const SkPaint* paint); 175 float left, float top, float right, float bottom, const SkPaint* paint); 177 virtual status_t drawRect(float left, float top, float right, float bottom, 179 virtual status_t drawRoundRect(float left, float top, float right, float bottom, 182 virtual status_t drawOval(float left, float top, floa 327 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 558 * @param top Top position in pixels, relative to the overlay view. 565 public void layoutSurface(final int left, final int top, final int right, argument 567 if (left > right || top > bottom) { 574 if (DEBUG) Log.d(TAG, "layoutSurface (l=" + left + ", t=" + top + ", r=" 577 mSessionCallback.onLayoutSurface(left, top, right, bottom); 976 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1003 frame.right - frame.left, frame.bottom - frame.top, 1004 frame.left, frame.top, type, flag, PixelFormat.TRANSPARENT); 1023 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1030 mWindowParams.y = frame.top; [all...] |
H A D | TvView.java | 234 * Sets the Z order of a window owning the surface of this TvView on top of an application. 574 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 576 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right 583 mSurfaceView.layout(0, 0, right - left, bottom - top); 608 int top = location[1]; 609 region.op(left, top, left + width, top + height, Region.Op.UNION); 1060 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 1062 Log.d(TAG, "onLayoutSurface (left=" + left + ", top [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsPanelView.java | 102 public void drawFadedEdges(Canvas c, int left, int right, int top, int bottom); argument 804 int top = getScrollY() + getFadeTop(offsetRequired); 805 int bottom = top + getFadeHeight(offsetRequired); 811 mRecentsContainer.drawFadedEdges(canvas, left, right, top, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackView.java | 389 // Map the top edge of next task view into the local space of the current 649 mLayoutAlgorithm.mTaskRect.height() + mTmpRect.top + mTmpRect.bottom, 657 * This is called with the size of the space not including the top or right insets, or the 662 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 673 mLayoutAlgorithm.mTaskRect.top - mTmpRect.top, 687 (mLayoutAlgorithm.mTaskRect.top - mLayoutAlgorithm.mViewRect.top); 810 (mLayoutAlgorithm.mTaskRect.top - mLayoutAlgorithm.mViewRect.top); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ActivatableNotificationView.java | 501 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 502 super.onLayout(changed, left, top, right, bottom); 631 // handle top animation 637 float top; 643 top = bottom * heightFraction; 645 top = heightFraction * (actualHeight + mAnimationTranslationY) * 0.1f - 647 bottom = actualHeight * (1 - heightFraction) + top * heightFraction; 649 mAppearAnimationRect.set(left, top, right, bottom); 650 setOutlineRect(left, top + mAppearAnimationTranslation, right,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelView.java | 615 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument 616 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 300 /*package*/ static void native_arcTo(long nPath, float left, float top, float right, argument 308 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 323 float left, float top, float right, float bottom, int dir) { 329 pathDelegate.addRect(left, top, right, bottom, dir); 333 /*package*/ static void native_addOval(long nPath, float left, float top, float right, argument 341 left, top, right - left, bottom - top), false); 357 /*package*/ static void native_addArc(long nPath, float left, float top, float right, argument 366 left, top, right - left, bottom - top, 322 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 371 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 384 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 727 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 760 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 98 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 450 transform.matrix.load(top()); 509 matrixf_t::multiply(temp_mvp, projection.top(), modelview.top()); 589 const GLfloat* const mv = modelview.top().elements(); 602 const GLfloat* const mv = modelview.top().elements(); 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, 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 | 90 // Default offset in dips from the top of the view to where the progress spinner should stop 193 * near the top of the refreshing content. This position is a consistent 199 * @param start The offset in pixels from the top of this view at which the 201 * @param end The offset in pixels from the top of this view at which the 215 * The refresh indicator resting position is always positioned near the top 222 * @param end The offset in pixels from the top of this view at which the 544 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | ViewDragHelper.java | 74 * Edge flag indicating that the top edge should be affected. 166 * @param top New Y coordinate of the top edge of the view 170 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {} argument 314 * @param top Attempted motion along the Y axis 315 * @param dy Proposed change in position for top 316 * @return The new clamped position for top 318 public int clampViewPositionVertical(View child, int top, int dy) { argument 525 * Animate the view <code>child</code> to the given (left, top) position. 535 * @param finalTop Final top positio 1396 dragTo(int left, int top, int dx, int dy) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 291 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 299 if (top && lp.topMargin != insets.top) { 301 lp.topMargin = insets.top; 322 // The top and bottom action bars are always within the content area. 408 // If tabs are not embedded, increase space on top to account for them. 413 // This is the space needed on top of the window for all of the action bar 436 mContentInsets.top += topInset; 439 mInnerInsets.top += topInset; 477 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
H A D | AdapterViewCompat.java | 73 * The offset in pixels from the top of the AdapterView to the top 543 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1061 // Either we hit the top, or we are trying to move down
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 298 final int top = child.getTop() - lp.topMargin - mDividerHeight; 299 drawHorizontalDivider(canvas, top); 358 void drawHorizontalDivider(Canvas canvas, int top) { argument 359 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, 360 getWidth() - getPaddingRight() - mDividerPadding, top + mDividerHeight); 1417 * @param top 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; 1512 * @param top 1516 layoutHorizontal(int left, int top, int right, int bottom) argument 1640 setChildFrame(View child, int left, int top, int width, int height) 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); 879 final int switchInnerTop = switchTop + padding.top; 910 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; 911 canvas.translate(left, top);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | intra_est.cpp | 52 /* top neighbor */ 217 uint8 *pred, *top, *left; local 230 top = curL - pitch; 234 word1 = *((uint32*)(top)); /* read 4 bytes from top */ 235 word2 = *((uint32*)(top + 4)); /* read 4 bytes from top */ 236 word3 = *((uint32*)(top + 8)); /* read 4 bytes from top */ 237 word4 = *((uint32*)(top [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2024 normalizedYToArray(focusingAreas[j].top); 2053 normalizedYToArray(meteringAreas[j].top); 2097 static_cast<int32_t>(crop.top), 2528 areas[0].top == 0 && 2552 if (a->top < -1000 || a->top > 1000) return BAD_VALUE; 2556 if (a->top >= a->bottom) return BAD_VALUE; 2612 int ret = y + previewCrop.top; 2654 float left, top, width, height; local 2663 top [all...] |
/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 | 227 // The baseline is the top of the following line minus the current line's descent. 454 dtop = sTempRect.top; 458 final int top = Math.max(dtop, 0); 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 618 bounds.top = getLineTop(line); 626 * Return the vertical position of the top of the specified line 670 * top line of the Layout. 1309 int top 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 | 41 * An implementation of Canvas on top of OpenGL ES 2.0. 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); 296 private static native boolean nClipRect(long renderer, float left, float top, argument 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, righ 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 578 drawBitmap(Bitmap bitmap, float left, float top, Paint paint) argument 584 nDrawBitmap(long renderer, long bitmap, float left, float top, 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); 343 * ProjectBackwards=true directly on top of it. Default value is false. 361 return nSetOutlineRoundRect(mNativeRenderNode, outline.mRect.left, outline.mRect.top, 723 * Sets the top position for the display list. 725 * @param top The top position, in pixels, of the display list 729 public boolean setTop(int top) { argument 730 return nSetTop(mNativeRenderNode, top); 756 * Sets the left and top positions for the display list 759 * @param top Th 768 setLeftTopRightBottom(int left, int top, int right, int bottom) argument 845 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument 849 nSetTop(long renderNode, int top) 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...] |