/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 121 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) { 122 android::uirenderer::Rect clipBounds(left, top, right, bottom); 143 jint right, jint bottom, jfloat radius, jfloat alpha) { 145 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom, 282 jobject clazz, jlong renderNodePtr, int right) { 283 return SET_AND_DIRTY(setRight, right, RenderNode::X); 293 int right, int bottom) { 295 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) { 120 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument 141 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 281 android_view_RenderNode_setRight(JNIEnv* env, jobject clazz, jlong renderNodePtr, int right) argument 291 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
|
H A D | android_view_SurfaceControl.cpp | 71 jfieldID right; member in struct:android::__anon874 129 int right = env->GetIntField(sourceCropObj, gRectClassInfo.right); local 131 Rect sourceCrop(left, top, right, bottom); 200 int right = env->GetIntField(sourceCropObj, gRectClassInfo.right); local 202 Rect sourceCrop(left, top, right, bottom); 672 gRectClassInfo.right = env->GetFieldID(rectClazz, "right", "I");
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 468 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument 471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 526 * @param right The right side of a rectangle to add to the path 530 public void addRect(float left, float top, float right, floa argument 550 addOval(float left, float top, float right, float bottom, Direction dir) argument 585 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 610 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument 640 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument 804 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 808 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 810 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument 813 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 819 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 152 public void setBounds(int left, int top, int right, int bottom) { argument 160 oldBounds.right != right || oldBounds.bottom != bottom) { 165 mBounds.set(left, top, right, bottom); 175 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); 455 // For right now only BitmapDrawable has it. 542 * @param right 545 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument 694 * (right-to left). See {@link android.util.LayoutDirection}. 703 * right [all...] |
H A D | LayerDrawable.java | 329 * @param right The right padding of the new layer. 332 ChildDrawable addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, argument 341 childDrawable.mInsetR = right; 455 * @param r number of pixels to subtract from the right bound 536 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; 542 padding.right = 0; 553 padding.right += mPaddingR[i]; 561 padding.right = 0; 572 padding.right 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 | 64 float right, float bottom, bool opaque) { 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, right, botto 63 prepareDirty(float left, float top, float right, float bottom, bool opaque) argument 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, float right, 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 | 559 * @param right Right 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) { 575 + right + ", b=" + bottom + ",)"); 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, 1023 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1031 mWindowParams.width = frame.right - frame.left;
|
H A D | TvView.java | 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); 1060 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 1062 Log.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top + ", right=" 1063 + right + ", bottom=" + bottom + ",)"); 1071 mSurfaceViewRight = right;
|
/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 803 int right = left + getRight() - getLeft() - getPaddingRight() - paddingLeft; 808 right += getRightPaddingOffset(); 811 mRecentsContainer.drawFadedEdges(canvas, left, right, top, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackView.java | 646 mLayoutAlgorithm.mTaskRect.width() + mTmpRect.left + mTmpRect.right, 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 674 mLayoutAlgorithm.mTaskRect.right + mTmpRect.right,
|
/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); 629 float right = getWidth() - left; 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); 934 onEdgeClicked(false /* right */); 938 onEdgeClicked(true /* right */); 975 protected abstract void onEdgeClicked(boolean right); argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 299 // might need them right away. 1218 public void foundNonMonotonic(NetworkStats left, int leftIndex, NetworkStats right, argument 1225 + "] - right[" + rightIndex + "]\n"); 1227 builder.append("right=").append(right).append('\n');
|
/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, 371 /*package*/ static void native_addRoundRect(long nPath, float left, float top, float right, argument 380 left, top, right 322 native_addRect(long nPath, float left, float top, float right, float bottom, 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 | 811 GLfloat left, GLfloat right, 816 if (cmpf(left,right) || 825 const GLfloat r_width = reciprocalf(right - left); 830 const GLfloat A = mul2f((right + left) * r_width); 853 GLfloat left, GLfloat right, 858 if (cmpf(left,right) || 865 const GLfloat r_width = reciprocalf(right - left); 871 const GLfloat tx = -(right + left) * r_width; 995 GLfloat left, GLfloat right, 1000 frustumf(left, right, botto 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) { 303 if (right && lp.rightMargin != insets.right) { 305 lp.rightMargin = insets.right; 477 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 481 final int parentRight = right - left - getPaddingRight(); 291 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
|
H A D | AdapterViewCompat.java | 543 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 994 * and then alternates between moving up and moving down until 1) we find the right position, or
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 899 // FIXME: this may not be right for something like wrapping text? 1322 // FIXME: this may not be right for something like wrapping text? 1418 * @param right 1421 void layoutVertical(int left, int top, int right, int bottom) { argument 1427 // Where right end of child should go 1428 final int width = right - left; 1513 * @param right 1516 void layoutHorizontal(int left, int top, int right, int bottom) { argument 1544 childLeft = getPaddingLeft() + right - left - mTotalLength; 1549 childLeft = getPaddingLeft() + (right [all...] |
H A D | SwitchCompat.java | 508 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; 534 // Adjust left and right padding to ensure there's enough room for the 537 int paddingRight = padding.right; 585 mTempRect.left + mTempRect.right + mTouchSlop; 767 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 768 super.onLayout(changed, left, top, right, bottom); 851 final int thumbRight = thumbInitialLeft + mThumbWidth + padding.right; 904 cX = bounds.left + bounds.right; 962 return mSwitchWidth - mThumbWidth - padding.left - padding.right;
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 624 status_t AudioTrack::setVolume(float left, float right) argument 628 isnanf(right) || right < GAIN_FLOAT_ZERO || right > GAIN_FLOAT_UNITY) { 634 mVolume[AUDIO_INTERLEAVE_RIGHT] = right; 636 mProxy->setVolumeLR(gain_minifloat_pack(gain_from_float(left), gain_from_float(right))); 2072 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 182 // Deal with empty and ANY right away 417 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", 642 // determine if we have the right player type 664 // create the right type of player 788 // create the right type of player 1310 // create the right type of player 1365 // create the right type of player 1843 void MediaPlayerService::AudioOutput::setVolume(float left, float right) argument 1845 ALOGV("setVolume(%f, %f)", left, right); 1847 mRightVolume = right; [all...] |