/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)); 376 AStringPrintf("%s-left", key).c_str(), 377 left);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 566 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument 571 Log.d(TAG, "Redrawing: left=" + left + ", top=" + top); 574 final float right = left + mBackground.getWidth() * mScale; 578 c.clipRect(left, top, right, bottom, 584 RectF dest = new RectF(left, top, right, bottom); 594 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 597 final float right = left + mBackground.getWidth() * mScale; 604 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 651 private FloatBuffer createMesh(int left, in argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableView.java | 105 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 106 super.onLayout(changed, left, top, right, bottom); 329 outRect.left += getTranslationX();
|
H A D | NotificationShelf.java | 508 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 509 super.onLayout(changed, left, top, right, bottom); 638 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardAffordanceHelper.java | 534 public void launchAffordance(boolean animate, boolean left) { argument 539 KeyguardAffordanceView targetView = left ? mLeftIcon : mRightIcon; 540 KeyguardAffordanceView otherView = left ? mRightIcon : mLeftIcon; 543 fling(0, false, !left); 547 mCallback.onAnimationToSideStarted(!left, mTranslation, 0); 548 mTranslation = left ? mCallback.getMaxTranslationDistance()
|
H A D | SignalDrawable.java | 437 void updateRect(float left, float top, float right, float bottom) { argument 438 mSlashRect.left = left;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 108 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { 110 args.argi1 = left; 326 + mMagnificationBounds.left - getOffsetX()) / getScale(); 617 + mMagnificationBounds.left - centerX * normScale; 703 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument 707 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 716 if (right - left > magnifFrameInScreenCoords.width()) { 720 scrollX = left - magnifFrameInScreenCoords.left; 724 } else if (left < magnifFrameInScreenCoord [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowSurfaceController.java | 271 void setPositionInTransaction(float left, float top, boolean recoveringMemory) { argument 272 final boolean surfaceMoved = mSurfaceX != left || mSurfaceY != top; 274 mSurfaceX = left; 279 "POS (setPositionInTransaction) @ (" + left + "," + top + ")", null); 281 mSurfaceControl.setPosition(left, top); 284 + " pos=(" + left + "," + top + ")", e);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 78 /*package*/ static void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, argument 87 float right = left + image.getWidth(); 92 (int)left, (int)top, (int)right, (int)bottom); 208 final float left, final float top, final float right, final float bottom, long paint) { 217 graphics.fillRect((int)left, (int)top, 218 (int)(right-left), (int)(bottom-top)); 223 graphics.drawRect((int)left, (int)top, 224 (int)(right-left), (int)(bottom-top)); 230 /*package*/ static void nDrawOval(long nativeCanvas, final float left, argument 232 if (right > left 207 nDrawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 262 nDrawArc(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 291 nDrawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument 759 clipRect(float left, float top, float right, float bottom, int regionOp) argument [all...] |
H A D | Path_Delegate.java | 307 /*package*/ static void nArcTo(long nPath, float left, float top, float right, argument 315 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 330 float left, float top, float right, float bottom, int dir) { 336 pathDelegate.addRect(left, top, right, bottom, dir); 340 /*package*/ static void nAddOval(long nPath, float left, float top, float right, argument 348 left, top, right - left, bottom - top), false); 364 /*package*/ static void nAddArc(long nPath, float left, float top, float right, argument 373 left, top, right - left, botto 329 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument 378 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 391 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 796 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 829 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 | 94 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ExprModel.java | 160 public ComparisonExpr comparison(String op, Expr left, Expr right) { argument 161 return register(new ComparisonExpr(op, left, right)); 252 public MathExpr math(Expr left, String op, Expr right) { argument 253 return register(new MathExpr(left, op, right)); 256 public TernaryExpr logical(Expr left, String op, Expr right) { argument 258 // left && right 259 // left ? right : false 260 return register(new TernaryExpr(left, right, symbol("false", boolean.class))); 262 // left || right 263 // left 268 bitshift(Expr left, String op, Expr right) 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, righ 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/core-ui/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 64 * Edge flag indicating that the left edge should be affected. 165 * @param left New X coordinate of the left edge of the view 170 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {} argument 198 * @param xvel X velocity of the pointer as it left the screen in pixels per second. 199 * @param yvel Y velocity of the pointer as it left the screen in pixels per second. 299 * @param left Attempted motion along the X axis 300 * @param dx Proposed change in position for left 301 * @return The new clamped position for left 303 public int clampViewPositionHorizontal(View child, int left, in argument 1412 dragTo(int left, int top, int dx, int dy) argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingToolbarLayout.java | 424 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 425 super.onLayout(changed, left, top, right, bottom); 458 mTmpRect.left + (isRtl 471 right - left - (isRtl ? mExpandedMarginStart : mExpandedMarginEnd),
|
H A D | TextInputLayout.java | 91 * (start/end), opposed to absolutely (left/right).</p> 582 // Add a flexible spacer in the middle so that the left/right views stay pinned 1365 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1366 super.onLayout(changed, left, top, right, bottom); 1372 final int l = rect.left + mEditText.getCompoundPaddingLeft();
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 261 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 265 if (left && lp.leftMargin != insets.left) { 267 lp.leftMargin = insets.left; 423 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 427 final int parentRight = right - left - getPaddingRight();
|
H A D | LinearLayoutCompat.java | 368 void drawVerticalDivider(Canvas canvas, int left) { argument 369 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, 370 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding); 1420 * @param left 1425 void layoutVertical(int left, int top, int right, int bottom) { argument 1432 final int width = right - left; 1515 * @param left 1520 void layoutHorizontal(int left, int top, int right, int bottom) { argument 1548 childLeft = getPaddingLeft() + right - left - mTotalLength; 1553 childLeft = getPaddingLeft() + (right - left 1644 setChildFrame(View child, int left, int top, int width, int height) argument [all...] |
H A D | SwitchCompat.java | 811 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; 837 // Adjust left and right padding to ensure there's enough room for the 839 int paddingLeft = padding.left; 843 paddingLeft = Math.max(paddingLeft, inset.left); 897 mTempRect.left + mTempRect.right + mTouchSlop; 1074 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1075 super.onLayout(changed, left, top, right, bottom); 1088 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); 1151 thumbInitialLeft += padding.left; [all...] |
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | CircledImageView.java | 369 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 407 super.onLayout(changed, left, top, right, bottom); 646 public void setPadding(@Px int left, @Px int top, @Px int right, @Px int bottom) { argument 647 if (left != getPaddingLeft() 651 mShadowPainter.setBounds(left, top, getWidth() - right, getHeight() - bottom); 653 super.setPadding(left, top, right, bottom); 761 void setBounds(@Px int left, @Px int top, @Px int right, @Px int bottom) { argument 762 mBounds.set(left, top, right, bottom);
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
H A D | WearableDrawerLayout.java | 574 int left, 605 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 606 super.onLayout(changed, left, top, right, bottom); 1089 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument 1155 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument 572 onLayoutChange( View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 783 status_t AudioTrack::setVolume(float left, float right) argument 786 if (isnanf(left) || left < GAIN_FLOAT_ZERO || left > GAIN_FLOAT_UNITY || 792 mVolume[AUDIO_INTERLEAVE_LEFT] = left; 795 mProxy->setVolumeLR(gain_minifloat_pack(gain_from_float(left), gain_from_float(right))); 2239 // If a new IAudioTrack cannot be created, the previous (dead) instance will be left intact. 2723 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 1699 // if there's more csd left, we submit it here 1806 int32_t left, top, right, bottom, width, height; local 1807 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { 1808 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); 2931 int32_t left, top, right, bottom; local 2932 if (info->mData->format()->findRect("crop", &left, &top, &right, &bottom)) { 2933 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
|
H A D | OggExtractor.cpp | 432 size_t left = 0; local 434 while (left < right_plus_one) { 435 size_t center = left + (right_plus_one - left) / 2; 442 left = center + 1; 444 left = center; 449 if (left == mTableOfContents.size()) { 450 --left; 453 const TOCEntry &entry = mTableOfContents.itemAt(left); 456 left, mTableOfContent [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 793 status_t AudioFlinger::EffectModule::setVolume(uint32_t *left, uint32_t *right, bool controller) argument 808 volume[0] = *left; 819 *left = volume[0]; 1864 bool AudioFlinger::EffectChain::setVolume_l(uint32_t *left, uint32_t *right, bool force) argument 1866 uint32_t newLeft = *left; 1883 *left == mLeftVolume && *right == mRightVolume) { 1885 *left = mNewLeftVolume; 1913 lVol = *left; 1918 *left = newLeft; 1928 uint32_t left local [all...] |