/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | DividerView.java | 303 if (mStableInsets.left != insets.getStableInsetLeft() 318 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 319 super.onLayout(changed, left, top, right, bottom); 780 rect.set(containingRect.left, containingRect.top, 781 containingRect.left + width, containingRect.top + height); 904 return mStableInsets.left != 0; 957 taskRect.left = offsetPosition - width; 961 taskRect.left = offsetPosition + mDividerSize; 1009 * @return true if and only if {@code dockSide} is top or left
|
/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); 780 float left = (getWidth() * (0.5f - HORIZONTAL_COLLAPSED_REST_PARTIAL / 2.0f) * 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); 299 outRect.left += getTranslationX();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardAffordanceHelper.java | 524 public void launchAffordance(boolean animate, boolean left) { argument 529 KeyguardAffordanceView targetView = left ? mLeftIcon : mRightIcon; 530 KeyguardAffordanceView otherView = left ? mRightIcon : mLeftIcon; 533 fling(0, false, !left); 537 mCallback.onAnimationToSideStarted(!left, mTranslation, 0); 538 mTranslation = left ? mCallback.getMaxTranslationDistance()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 211 + mMagnificationBounds.left - offsetX) / scale; 297 + mMagnificationBounds.left - getOffsetX()) / getScale(); 597 + mMagnificationBounds.left - centerX * scale; 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()) { 695 scrollX = left - magnifFrameInScreenCoords.left; 699 } else if (left < magnifFrameInScreenCoords.left) { 975 onRectangleOnScreenRequested(int left, int top, int right, int bottom) 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,
|
H A D | WindowStateAnimator.java | 711 mTmpSize.set(w.mFrame.left + w.mXOffset, w.mFrame.top + w.mYOffset, 0, 0); 720 + " x=" + mTmpSize.left + " y=" + mTmpSize.top 738 && attrs.surfaceInsets.left == 0 775 + ", set left=" + w.mFrame.left + " top=" + w.mFrame.top 781 + w.mFrame.left + "," + w.mFrame.top + ") (" 787 mSurfaceController.setPositionAndLayer(mTmpSize.left, mTmpSize.top, layerStack, mAnimLayer); 797 mTmpSize.right = mTmpSize.left + w.mRequestedWidth; 805 mTmpSize.left = 0; 809 mTmpSize.right = mTmpSize.left 2026 setMoveAnimation(int left, int top) argument [all...] |
H A D | WindowSurfaceController.java | 129 void setPositionAndLayer(float left, float top, int layerStack, int layer) { argument 132 mSurfaceX = left; 137 "POS (setPositionAndLayer) @ (" + left + "," + top + ")", null); 138 mSurfaceControl.setPosition(left, top); 242 void setPositionInTransaction(float left, float top, boolean recoveringMemory) { argument 243 final boolean surfaceMoved = mSurfaceX != left || mSurfaceY != top; 245 mSurfaceX = left; 250 "POS (setPositionInTransaction) @ (" + left + "," + top + ")", null); 252 mSurfaceControl.setPosition(left, top); 255 + " pos=(" + left [all...] |
/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, botto 327 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 376 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, 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, 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/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); 410 mTmpRect.left + (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/v4/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 65 * Edge flag indicating that the left edge should be affected. 166 * @param left New X coordinate of the left edge of the view 171 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {} argument 199 * @param xvel X velocity of the pointer as it left the screen in pixels per second. 200 * @param yvel Y velocity of the pointer as it left the screen in pixels per second. 300 * @param left Attempted motion along the X axis 301 * @param dx Proposed change in position for left 302 * @return The new clamped position for left 304 public int clampViewPositionHorizontal(View child, int left, in argument 1414 dragTo(int left, int top, int dx, int dy) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 255 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 259 if (left && lp.leftMargin != insets.left) { 261 lp.leftMargin = insets.left; 415 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 419 final int parentRight = right - left - getPaddingRight();
|
H A D | LinearLayoutCompat.java | 362 void drawVerticalDivider(Canvas canvas, int left) { argument 363 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, 364 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding); 1414 * @param left 1419 void layoutVertical(int left, int top, int right, int bottom) { argument 1426 final int width = right - left; 1509 * @param left 1514 void layoutHorizontal(int left, int top, int right, int bottom) { argument 1542 childLeft = getPaddingLeft() + right - left - mTotalLength; 1547 childLeft = getPaddingLeft() + (right - left 1638 setChildFrame(View child, int left, int top, int width, int height) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 752 status_t AudioTrack::setVolume(float left, float right) argument 755 if (isnanf(left) || left < GAIN_FLOAT_ZERO || left > GAIN_FLOAT_UNITY || 761 mVolume[AUDIO_INTERLEAVE_LEFT] = left; 764 mProxy->setVolumeLR(gain_minifloat_pack(gain_from_float(left), gain_from_float(right))); 2201 // If a new IAudioTrack cannot be created, the previous (dead) instance will be left intact. 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); 1493 // if there's more csd left, we submit it here 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);
|
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/media/libstagefright/codecs/avc/enc/src/ |
H A D | intra_est.cpp | 54 /* left neighbor */ 217 uint8 *pred, *top, *left; local 276 left = curL - 1 - pitch; 282 word1 = *(left += pitch); 744 availability.left = TRUE; 750 if (!(blkidx&0x3)) /* left column block (!block_x)*/ 751 { /* check availability left */ 752 availability.left = video->intraAvailA ; 791 if (availability.left == TRUE) 806 /* check if top-left pixe [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 674 status_t AudioFlinger::EffectModule::setVolume(uint32_t *left, uint32_t *right, bool controller) argument 689 volume[0] = *left; 701 *left = volume[0]; 1657 bool AudioFlinger::EffectChain::setVolume_l(uint32_t *left, uint32_t *right) argument 1659 uint32_t newLeft = *left; 1676 *left == mLeftVolume && *right == mRightVolume) { 1678 *left = mNewLeftVolume; 1706 lVol = *left; 1711 *left = newLeft;
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2047 normalizedXToArray(focusingAreas[j].left); 2076 normalizedXToArray(meteringAreas[j].left); 2116 static_cast<int32_t>(crop.left), 2535 if (areas[0].left == 0 && 2559 if (a->left < -1000 || a->left > 1000) return BAD_VALUE; 2563 if (a->left >= a->right) return BAD_VALUE; 2604 int ret = x + previewCrop.left; 2662 float left, top, width, height; local 2670 left [all...] |
/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 281 int left = 0; 315 // Draw all leading margin spans. Adjust left or right according 340 margin.drawLeadingMargin(canvas, paint, left, dir, ltop, 343 left += margin.getLeadingMargin(useFirstLineMargin); 373 x = left + getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); 383 x = left - max + getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); 387 x = ((right + left - max) >> 1) + 511 * Return the start position of the line, given the left an 519 getLineStartPos(int line, int left, int right) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 270 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom); 319 return nSetOutlineRoundRect(mNativeRenderNode, outline.mRect.left, outline.mRect.top, 671 * Sets the left position for the display list. 673 * @param left The left position, in pixels, of the display list 677 public boolean setLeft(int left) { argument 678 return nSetLeft(mNativeRenderNode, left); 715 * Sets the left and top positions for the display list 717 * @param left The left 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 833 nSetLeft(long renderNode, int left) 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 553 mInsetLeft = surfaceInsets.left; 717 * @param left The left 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); 1023 private static native void nSetContentDrawBounds(long nativeProxy, int left, 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);
|