/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.cpp | 130 int DisplayListCanvas::saveLayer(float left, float top, float right, float bottom, argument 136 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, (int) flags)); 181 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom); 185 bool DisplayListCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 186 return mState.quickRejectConservative(left, top, right, bottom); 195 bool DisplayListCanvas::clipRect(float left, float top, float right, float bottom, argument 197 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 198 return mState.clipRect(left, top, right, bottom, op); 345 void DisplayListCanvas::drawRect(float left, float top, float right, float bottom, argument 347 addDrawOp(new (alloc()) DrawRectOp(left, top, right, botto 350 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 355 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 387 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 392 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument [all...] |
H A D | RecordingCanvas.cpp | 118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument 130 const Rect unmappedBounds(left, top, right, bottom); 177 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom); 226 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 227 return mState.quickRejectConservative(left, top, right, bottom); 233 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument 234 return mState.clipRect(left, top, right, bottom, op); 291 void RecordingCanvas::drawRect(float left, float top, float right, float bottom, const SkPaint& paint) { argument 293 Rect(left, top, right, bottom), 307 float right local 357 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 370 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 412 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 420 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 700 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 702 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right 709 mSurfaceView.layout(0, 0, right - left, bottom - top); 1244 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 1246 Log.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top + ", right=" 1247 + right + ", bottom=" + bottom + ",)"); 1255 mSurfaceViewRight = right;
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 369 int32_t left, top, right, bottom; local 370 CHECK(msg->findRect(key, &left, &top, &right, &bottom)); 390 AStringPrintf("%s-right", key).c_str(), 391 right);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 549 final float right = left + mBackground.getWidth() * mScale; 553 c.clipRect(left, top, right, bottom, 559 RectF dest = new RectF(left, top, right, bottom); 572 final float right = left + mBackground.getWidth() * mScale; 579 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 626 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument 630 right, bottom, 0.0f, 1.0f, 1.0f, 632 right, top, 0.0f, 1.0f, 0.0f,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | DividerView.java | 305 || mStableInsets.right != insets.getStableInsetRight() 318 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 319 super.onLayout(changed, left, top, right, bottom); 787 rect.set(containingRect.right - width, containingRect.bottom - height, 788 containingRect.right, containingRect.bottom); 906 return mStableInsets.right != 0; 958 taskRect.right = offsetPosition; 962 taskRect.right = offsetPosition + width + mDividerSize; 1016 * @return true if and only if {@code dockSide} is bottom or right
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ActivatableNotificationView.java | 646 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 647 super.onLayout(changed, left, top, right, bottom); 782 float right = getWidth() - left; 802 mAppearAnimationRect.set(left, top, right, bottom); 803 setOutlineRect(left, top + mAppearAnimationTranslation, right,
|
H A D | ExpandableView.java | 100 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 101 super.onLayout(changed, left, top, right, bottom); 300 outRect.right += getTranslationX();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardAffordanceHelper.java | 240 public void startHintAnimation(boolean right, argument 243 startHintAnimationPhase1(right, onFinishedListener); 246 private void startHintAnimationPhase1(final boolean right, final Runnable onFinishedListener) { argument 247 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; 248 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount); 264 startUnlockHintAnimationPhase2(right, onFinishedListener); 278 private void startUnlockHintAnimationPhase2(boolean right, final Runnable onFinishedListener) { argument 279 ValueAnimator animator = getAnimatorToRadius(right, 0); 295 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { argument 296 final KeyguardAffordanceView targetView = right 343 fling(float vel, final boolean snapBack, boolean right) argument 370 startFinishingCircleAnimation(float velocity, Runnable mAnimationEndRunnable, boolean right) argument [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 678 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument 682 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 691 if (right - left > magnifFrameInScreenCoords.width()) { 697 scrollX = right - magnifFrameInScreenCoords.right; 701 } else if (right > magnifFrameInScreenCoords.right) { 702 scrollX = right - magnifFrameInScreenCoords.right; 975 public void onRectangleOnScreenRequested(int left, int top, int right, in argument 984 handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 197 public void repositionChild(IWindow window, int left, int top, int right, int bottom, argument 199 mService.repositionChild(this, window, left, top, right, bottom, 402 // The right window has responded, even if it's no longer around,
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 305 /*package*/ static void native_arcTo(long nPath, float left, float top, float right, argument 313 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 328 float left, float top, float right, float bottom, int dir) { 334 pathDelegate.addRect(left, top, right, bottom, dir); 338 /*package*/ static void native_addOval(long nPath, float left, float top, float right, argument 346 left, top, right - left, bottom - top), false); 362 /*package*/ static void native_addArc(long nPath, float left, float top, float right, argument 371 left, top, right - left, bottom - top, 376 /*package*/ static void native_addRoundRect(long nPath, float left, float top, float right, argument 385 left, top, right 327 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 389 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 793 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 826 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
/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/design/src/android/support/design/widget/ |
H A D | CollapsingToolbarLayout.java | 387 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 388 super.onLayout(changed, left, top, right, bottom); 414 mTmpRect.right + (isRtl 423 right - left - (isRtl ? mExpandedMarginStart : mExpandedMarginEnd),
|
H A D | TextInputLayout.java | 451 // Add a flexible spacer in the middle so that the left/right views stay pinned 903 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 904 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 256 boolean bottom, boolean right) { 267 if (right && lp.rightMargin != insets.right) { 269 lp.rightMargin = insets.right; 415 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 419 final int parentRight = right - left - getPaddingRight(); 255 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
|
H A D | LinearLayoutCompat.java | 897 // FIXME: this may not be right for something like wrapping text? 1320 // FIXME: this may not be right for something like wrapping text? 1416 * @param right 1419 void layoutVertical(int left, int top, int right, int bottom) { argument 1425 // Where right end of child should go 1426 final int width = right - left; 1511 * @param right 1514 void layoutHorizontal(int left, int top, int right, int bottom) { argument 1542 childLeft = getPaddingLeft() + right - left - mTotalLength; 1547 childLeft = getPaddingLeft() + (right [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 752 status_t AudioTrack::setVolume(float left, float right) argument 756 isnanf(right) || right < GAIN_FLOAT_ZERO || right > GAIN_FLOAT_UNITY) { 762 mVolume[AUDIO_INTERLEAVE_RIGHT] = right; 764 mProxy->setVolumeLR(gain_minifloat_pack(gain_from_float(left), gain_from_float(right))); 2404 // right after AudioTrack is started, one may not find a timestamp 2582 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 1452 int32_t left, top, right, bottom, width, height; local 1453 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { 1454 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); 1903 ALOGW("Can't reclaim codec right now due to pending buffers."); 2672 int32_t left, top, right, bottom; local 2673 if (info->mFormat->findRect("crop", &left, &top, &right, &bottom)) { 2674 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 674 status_t AudioFlinger::EffectModule::setVolume(uint32_t *left, uint32_t *right, bool controller) argument 690 volume[1] = *right; 702 *right = volume[1]; 1657 bool AudioFlinger::EffectChain::setVolume_l(uint32_t *left, uint32_t *right) argument 1660 uint32_t newRight = *right; 1676 *left == mLeftVolume && *right == mRightVolume) { 1679 *right = mNewRightVolume; 1707 rVol = *right; 1712 *right = newRight;
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 149 * @param align whether to left, right, or center the text. Styles can 169 * @param align whether to left, right, or center the text. Styles can 282 int right = mWidth; 315 // Draw all leading margin spans. Adjust left or right according 335 margin.drawLeadingMargin(canvas, paint, right, dir, ltop, 338 right -= margin.getLeadingMargin(useFirstLineMargin); 375 x = right + getIndentAdjust(lineNum, Alignment.ALIGN_RIGHT); 381 x = right - max + getIndentAdjust(lineNum, Alignment.ALIGN_RIGHT); 387 x = ((right + left - max) >> 1) + 511 * Return the start position of the line, given the left and right bound 519 getLineStartPos(int line, int left, int right) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 116 * // by x pixels to the right and redraw this view. All the commands 270 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom); 320 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); 693 * Sets the right position for the display list. 695 * @param right The right position, in pixels, of the display list 699 public boolean setRight(int right) { argument 700 return nSetRight(mNativeRenderNode, right); 719 * @param right The right positio 727 setLeftTopRightBottom(int left, int top, int right, int bottom) argument 828 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument 831 nSetRight(long renderNode, int right) argument 840 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument 845 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument [all...] |
H A D | ThreadedRenderer.java | 550 if (surfaceInsets != null && (surfaceInsets.left != 0 || surfaceInsets.right != 0 555 mSurfaceWidth = width + mInsetLeft + surfaceInsets.right; 719 * @param right The right side of the protected bounds. 722 public void setContentDrawBounds(int left, int top, int right, int bottom) { argument 723 nSetContentDrawBounds(mNativeProxy, left, top, right, bottom); 1024 int top, int right, int bottom); 1023 nSetContentDrawBounds(long nativeProxy, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1653 public void updateCursor(View view, int left, int top, int right, int bottom) { argument 1662 mTmpCursorRect.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 357 public boolean setFrame(int left, int top, int right, int bottom); argument
|