Searched refs:right (Results 401 - 425 of 772) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java608 drawingBounds.right -= frameOffsets.right;
614 drawingBounds.right -= framePadding.right - frameOffsets.right;
632 drawingBounds.bottom-6, drawingBounds.right,
670 widthSize - mFloatingInsets.left - mFloatingInsets.right,
712 if (mOutsets.left > 0 || mOutsets.right > 0) {
717 width + mOutsets.left + mOutsets.right, mode);
757 protected void onLayout(boolean changed, int left, int top, int right, in argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java130 * The interface was triggered because the user grabbed the right handle and moved it past
337 * @param r the parent's right border
355 final int right = left + handleWidth;
383 tab.layout(left, 0, right, handleHeight);
384 text.layout(left, 0 - parentHeight, right, 0);
388 tab.layout(left, parentHeight - handleHeight, right, parentHeight);
389 text.layout(left, parentHeight, right, parentHeight + parentHeight);
651 int right = slider.tab.getRight();
656 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset)
786 * Sets the right handl
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp520 (x1 > mClip->right || y1 < mClip->top || x2 < mClip->left || y4 > mClip->bottom)) {
529 mBounds->right = std::max(mBounds->right, x3);
547 mBounds->right = std::max(mBounds->right, std::max(x1, std::max(x2, std::max(x3, x4))));
583 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * intRadius;
603 if ((bounds.right > bounds.left) && (bounds.top > bounds.bottom)) {
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.cpp553 int right, int bottom) {
554 args->context->setContentDrawBounds(args->left, args->top, args->right, args->bottom);
558 void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) { argument
563 args->right = right;
624 int right, int bottom, SkBitmap* bitmap) {
629 args->srcRect.set(left, top, right, bottom);
552 CREATE_BRIDGE5(setContentDrawBounds, CanvasContext* context, int left, int top, int right, int bottom) argument
623 copySurfaceInto(sp<Surface>& surface, int left, int top, int right, int bottom, SkBitmap* bitmap) argument
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp475 ALOGV("Layer %d: Setting Crop -- left=%d, top=%d, right=%d, bottom=%d", id,
476 cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(),
479 Rect r = Rect(cc.rectangle().left(), cc.rectangle().top(), cc.rectangle().right(),
485 ALOGV("Layer %d: Setting Final Crop -- left=%d, top=%d, right=%d, bottom=%d", id,
486 fcc.rectangle().left(), fcc.rectangle().top(), fcc.rectangle().right(),
488 Rect r = Rect(fcc.rectangle().left(), fcc.rectangle().top(), fcc.rectangle().right(),
509 Rect rect = Rect(r.left(), r.top(), r.right(), r.bottom());
573 Rect viewport = Rect(pc.viewport().left(), pc.viewport().top(), pc.viewport().right(),
575 Rect frame = Rect(pc.frame().left(), pc.frame().top(), pc.frame().right(), pc.frame().bottom());
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java248 (v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> alignToAnchor();
1606 width = displayFrame.right - displayFrame.left;
1617 // If we need to adjust for gravity RIGHT, align to the bottom-right
1633 displayFrame.right, false);
1659 screenLocation[0], displayFrame.left, displayFrame.right, mClipToScreen);
1755 final int right = outParams.x + width;
1756 if (right > displayFrameRight) {
1757 // The popup is too far right, move it back in.
1758 outParams.x -= right - displayFrameRight;
1833 // frame on the top right an
[all...]
H A DAbsSpinner.java185 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight
223 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
233 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
H A DCompoundButton.java440 final int right = isLayoutRtl() ? getWidth() : drawableWidth;
442 buttonDrawable.setBounds(left, top, right, bottom);
446 background.setHotspotBounds(left, top, right, bottom);
H A DTextView.java470 // First reset "left" and "right" drawables to their initial values
481 // Use "end" drawable as "right" drawable if the "right" drawable was not defined
488 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right"
1547 // This call will save the initial left/right drawables
2574 * Returns the right padding of the view, plus space for the right
2699 * Returns the total right padding of the view, including the right
2742 * right o
2754 setCompoundDrawables(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument
2894 setCompoundDrawablesWithIntrinsicBounds(@rawableRes int left, @DrawableRes int top, @DrawableRes int right, @DrawableRes int bottom) argument
2918 setCompoundDrawablesWithIntrinsicBounds(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument
3326 setPadding(int left, int top, int right, int bottom) argument
8532 onLayout(boolean changed, int left, int top, int right, int bottom) argument
[all...]
H A DActionMenuView.java434 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
436 super.onLayout(changed, left, top, right, bottom);
446 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
494 final int midHorizontal = (right - left) / 2;
H A DSlidingDrawer.java610 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY);
640 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom);
641 region.union(frame.right - deltaX, 0,
642 frame.right - deltaX + mContent.getWidth(), getHeight());
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java144 * @param right padding for the right side (in pixels)
147 public void setPadding(int left, int top, int right, int bottom) { argument
148 if ((left | top | right | bottom) == 0) {
154 mShapeState.mPadding.set(left, top, right, bottom);
161 * in the Rect object as: left, top, right, bottom.
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSFooter.java160 addOnLayoutChangeListener((v, left, top, right, bottom, oldLeft, oldTop, oldRight,
161 oldBottom) -> updateAnimator(right - left));
224 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSignalDrawable.java437 void updateRect(float left, float top, float right, float bottom) { argument
440 mSlashRect.right = right;
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java305 double oldRight = (rectangle.right + 1000) / 2000.0;
311 int right = mCropRectangle.left + toIntConstrained(
315 transformed[index] = new MeteringRectangle(left, top, right - left, bottom - top,
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
H A DBindingExpressionParser.java584 public ExpressionContext right; field in class:BindingExpressionParser.ComparisonOpContext
670 public ExpressionContext right; field in class:BindingExpressionParser.QuestionQuestionOpContext
740 public ExpressionContext right; field in class:BindingExpressionParser.BitShiftOpContext
765 public ExpressionContext right; field in class:BindingExpressionParser.AndOrOpContext
862 public ExpressionContext right; field in class:BindingExpressionParser.MathOpContext
909 public ExpressionContext right; field in class:BindingExpressionParser.BinaryOpContext
1108 ((MathOpContext)_localctx).right = expression(14);
1127 ((MathOpContext)_localctx).right = expression(13);
1146 ((BitShiftOpContext)_localctx).right = expression(12);
1165 ((ComparisonOpContext)_localctx).right
[all...]
/frameworks/av/include/media/audiohal/
H A DStreamHalInterface.h107 virtual status_t setVolume(float left, float right) = 0;
/frameworks/av/media/libaudiohal/
H A DStreamHalLocal.h99 virtual status_t setVolume(float left, float right);
/frameworks/av/media/libaudiohal/include/
H A DStreamHalInterface.h107 virtual status_t setVolume(float left, float right) = 0;
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerDyn.cpp204 void AudioResamplerDyn<TC, TI, TO>::setVolume(float left, float right) argument
206 AudioResampler::setVolume(left, right);
209 mVolumeSimd[1] = static_cast<TO>(right);
214 mVolumeSimd[1] = u4_28_from_float(clampFloatVol(right));
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h207 i32 right);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java301 return getInteractionController().swipe(rect.right - SWIPE_MARGIN_LIMIT,
306 * Performs the swipe right action on the UiObject.
329 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps);
464 * Long clicks bottom and right corner of the UI element
477 return getInteractionController().longTapNoSync(rect.right - 5, rect.bottom - 5);
481 * Clicks the bottom and right corner of the UI element
494 return getInteractionController().clickNoSync(rect.right - 5, rect.bottom - 5);
945 // End at the top-left and bottom-right corners of the control
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java547 crop.left, crop.top, crop.right, crop.bottom);
557 crop.left, crop.top, crop.right, crop.bottom);
726 layerStackRect.left, layerStackRect.top, layerStackRect.right, layerStackRect.bottom,
727 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom);
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DPalette.java734 * @param right The right side of the rectangle used for the region.
738 public Palette.Builder setRegion(int left, int top, int right, int bottom) { argument
744 if (!mRegion.intersect(left, top, right, bottom)) {
814 region.right = Math.min((int) Math.ceil(region.right * scale),
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java241 mSurfaceFrame.right = width;

Completed in 8620 milliseconds

<<11121314151617181920>>