Searched refs:right (Results 276 - 300 of 664) sorted by relevance

<<11121314151617181920>>

/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java200 public void setBounds(int left, int top, int right, int bottom) { argument
208 oldBounds.right != right || oldBounds.bottom != bottom) {
213 mBounds.set(left, top, right, bottom);
223 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
669 * @param right position in pixels of the right bound
673 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
827 * (right-to left). See {@link android.util.LayoutDirection}.
836 * right
[all...]
H A DInsetDrawable.java180 padding.right += mState.mInsetRight;
194 contentInsets.right + mState.mInsetRight,
216 r.right -= mState.mInsetRight;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarOverlayLayout.java256 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
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java428 * Called right before the engine is going away. After this the
672 mLayout.surfaceInsets.right += mOutsets.right;
691 w += padding.left + padding.right + mOutsets.left + mOutsets.right;
695 mOverscanInsets.right += padding.right;
699 mContentInsets.right += padding.right;
703 mStableInsets.right
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSpinner.java175 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight
213 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
223 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
H A DCompoundButton.java422 final int right = isLayoutRtl() ? getWidth() : drawableWidth;
424 buttonDrawable.setBounds(left, top, right, bottom);
428 background.setHotspotBounds(left, top, right, bottom);
H A DTabWidget.java289 * Sets the drawable to use as the right part of the strip below the tab
292 * @param drawable the right strip drawable
303 * Sets the drawable to use as the right part of the strip below the tab
306 * @param resId the resource identifier of the drawable to use as the right
316 * @return the drawable used as the right part of the strip below the tab
381 bounds.right = selectedChild.getRight();
385 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(),
386 Math.max(getWidth(), bounds.right + rightStrip.getIntrinsicWidth()), myHeight);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp54 SkScalar right = x + length; local
60 drawRect(left, top, right, bottom, paint);
65 drawRect(left, top, right, bottom, paint);
170 // glyphs centered or right-aligned; the offset above takes
217 // glyphs centered or right-aligned; the offset above takes
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainer.java120 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
121 super.onLayout(changed, left, top, right, bottom);
254 mQsBounds.right = mQSPanel.getWidth();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java167 r.right *= scale;
238 (int) taskViewRect.right, (int) taskViewRect.bottom);
323 return r.left + "," + r.top + "-" + r.right + "," + r.bottom;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java201 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset);
222 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset);
272 bounds.right - mMaxShadowSize, bounds.bottom - verticalOffset);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java110 edgesOut.right = rightEdge;
298 } else if (edges.right < getWidth()) {
299 adjustment[0] = (edges.right - getWidth()) / scale;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiProducerActivity.java46 // The Gap between the content and the frame which should get filled on the right and bottom
77 // Note: We reduce the size by CONTENT_GAP pixels on right and bottom, so that they get
206 currentFrameBounds.right, currentFrameBounds.bottom);
228 currentBackBounds.right, currentBackBounds.bottom);
288 rect.right - BORDER_WIDTH / 2, rect.bottom - BORDER_WIDTH / 2);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java187 te.bounds.right - mTmpLocation[0], te.bounds.bottom - mTmpLocation[1],
195 canvas.drawRect(0, 0, te.bounds.right - te.bounds.left, te.bounds.bottom - te.bounds.top,
200 te.bounds.right - te.bounds.left, te.lineBaselines[j] - te.scrollY,
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java269 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset);
290 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset);
340 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset);
/frameworks/av/media/img_utils/include/img_utils/
H A DDngUtils.h97 uint32_t right,
158 * badRectCount - number of (top, left, bottom, right) tuples are given in
/frameworks/av/media/libstagefright/foundation/
H A DMetaData.cpp83 int32_t right, int32_t bottom) {
87 r.mRight = right;
172 int32_t *right, int32_t *bottom) {
185 *right = r->mRight;
80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java34 protected boolean right(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java477 crop.left, crop.top, crop.right, crop.bottom);
487 crop.left, crop.top, crop.right, crop.bottom);
639 layerStackRect.left, layerStackRect.top, layerStackRect.right, layerStackRect.bottom,
640 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom);
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java1014 * @param right
1021 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1027 invalidate.set(left, top, right, bottom);
1047 * @param right
1052 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1054 region.set(left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java367 childLayoutParams.right = (int) (itemLeft + itemWidth);
388 // Last child on each row should extend to very right edge
390 childLayoutParams.right = menuWidth;
439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right,
744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the
749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java375 visibleDisplayBounds.right -= 1;
386 visibleDisplayBounds.right), visibleDisplayBounds.left);
455 visibleDisplayBounds.right -= 1;
466 visibleDisplayBounds.right), visibleDisplayBounds.left);
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.cpp54 repaintRect.right, repaintRect.bottom));
263 rectangleVertices.push_back(Vertex{bounds.right, bounds.top});
265 rectangleVertices.push_back(Vertex{bounds.right, bounds.bottom});
362 info.clipRight = clip.right;
H A DLayerBuilder.cpp162 // right and bottom delta calculation reversed to account for direction
163 boundsDelta = opBounds.right - mBounds.right;
268 Vertex::set(currentVert++, rect.right, rect.top);
270 Vertex::set(currentVert++, rect.right, rect.bottom);
H A DRecordedOp.h334 float* left, float* top, float* right, float* bottom, float *rx, float *ry)
338 , right(right)
344 const float* right; member in struct:android::uirenderer::RoundRectPropsOp
333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument

Completed in 2309 milliseconds

<<11121314151617181920>>