Searched refs:right (Results 201 - 225 of 501) sorted by relevance

1234567891011>>

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java154 clip.right = (int) (bitmapWidth - paddingRightPts * displayScale);
292 mediaBox.right = dstWidthPts;
325 cropBox.right = (int) (cropBox.right * scale + 0.5f);
331 // If in RTL mode put the content in the logical top-right corner.
350 clip.right -= paddingRightPts;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp209 position[i*6 + 2].x = r->right;
213 position[i*6 + 4].x = r->right;
215 position[i*6 + 5].x = r->right;
232 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
233 glScissor(left, bottom, right, top);
231 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/base/core/java/android/widget/
H A DExpandableListView.java302 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
329 * left/right child indicator when defined.
416 // the left & right bounds
421 indicatorRect.right = (mChildIndicatorRight == CHILD_INDICATOR_INHERIT) ?
425 indicatorRect.right = mIndicatorRight;
430 indicatorRect.left = width - indicatorRect.right;
431 indicatorRect.right = width - temp;
434 indicatorRect.right -= mPaddingRight;
437 indicatorRect.right += mPaddingLeft;
443 if (indicatorRect.left != indicatorRect.right) {
1174 setChildIndicatorBounds(int left, int right) argument
1223 setIndicatorBounds(int left, int right) argument
[all...]
H A DFrameLayout.java191 mForegroundPaddingRight = padding.right;
294 mForegroundPaddingRight = padding.right;
513 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
514 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
517 void layoutChildren(int left, int top, int right, int bottom, argument
522 final int parentRight = right - left - getPaddingRightWithForeground();
H A DAbsSpinner.java178 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight
216 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
226 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
H A DCompoundButton.java396 final int right = isLayoutRtl() ? getWidth() : drawableWidth;
398 buttonDrawable.setBounds(left, top, right, bottom);
402 background.setHotspotBounds(left, top, right, bottom);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java326 for (int x = r.left, right = r.right; x < right; x += size) {
375 int right = (int) Math.ceil(left + width / scale);
382 right = Math.min(mImageWidth, right);
385 out.set(left, top, right, bottom);
444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) {
647 source.right /= 2f;
650 source.right
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java605 Math.min(mContentFrame.right, mFrame.right),
610 Math.min(mVisibleFrame.right, mFrame.right),
615 Math.min(mStableFrame.right, mFrame.right),
620 Math.max(mFrame.right - mOverscanFrame.right, 0),
625 mFrame.right - mContentFrame.right,
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp154 jfloat left, jfloat top, jfloat right, jfloat bottom) {
155 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom);
243 jfloat right, jfloat bottom, jlong paintHandle) {
245 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint);
249 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) {
251 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
261 jfloat right, jfloat bottom, jlong paintHandle) {
263 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint);
267 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
270 get_canvas(canvasHandle)->drawArc(left, top, right, botto
153 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
242 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
248 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
260 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
266 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
465 SkScalar right = x + length; local
[all...]
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp625 // assume same number of tail samples on each side, left and right
627 CentralTendencyStatistics left, right; local
630 right.sample(tail[n - (i + 1)]);
634 " right tail: mean=%.2f min=%.2f max=%.2f stddev=%.2f\n",
636 right.mean()*1e-6, right.minimum()*1e-6, right.maximum()*1e-6,
637 right.stddev()*1e-6);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java179 public void setBounds(int left, int top, int right, int bottom) { argument
180 mDrawLeft = left + (right-left - mWidth) / 2;
396 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
447 float right = left + outWidth;
450 cropRectF = new RectF(left, top, right, bottom);
538 cropRect.right = cropRect.left + cropWidth;
541 cropRect.right = inWidth;
690 // If the URI is not of the right type, or for some reason the system wallpaper
959 * on its left, top, right, and bottom sides.
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java289 boolean bottom, boolean right) {
300 if (right && lp.rightMargin != insets.right) {
302 lp.rightMargin = insets.right;
469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
473 final int parentRight = right - left - getPaddingRight();
288 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java152 public void setBounds(int left, int top, int right, int bottom) { argument
160 oldBounds.right != right || oldBounds.bottom != bottom) {
165 mBounds.set(left, top, right, bottom);
175 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
455 // For right now only BitmapDrawable has it.
542 * @param right
545 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
694 * (right-to left). See {@link android.util.LayoutDirection}.
703 * right
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvView.java574 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
576 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right
583 mSurfaceView.layout(0, 0, right - left, bottom - top);
1060 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
1062 Log.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top + ", right="
1063 + right + ", bottom=" + bottom + ",)");
1071 mSurfaceViewRight = right;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java292 boolean bottom, boolean right) {
303 if (right && lp.rightMargin != insets.right) {
305 lp.rightMargin = insets.right;
477 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
481 final int parentRight = right - left - getPaddingRight();
291 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
H A DSpinnerCompat.java456 * @param delta Change in the selected position. +1 means selection is moving to the right, so
462 int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left - mSpinnerPadding.right;
574 mSpinnerPadding.left + mSpinnerPadding.right, lp.width);
676 width += mTempRect.left + mTempRect.right;
1021 hOffset = ViewUtils.isLayoutRtl(SpinnerCompat.this) ? mTempRect.right
1024 mTempRect.left = mTempRect.right = 0;
1034 .getDisplayMetrics().widthPixels - mTempRect.left - mTempRect.right;
H A DAbsSpinnerCompat.java160 mSpinnerPadding.right = paddingRight > mSelectionRightPadding ? paddingRight
194 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
204 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java200 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset);
221 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset);
271 bounds.right - mMaxShadowSize, bounds.bottom - verticalOffset);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java111 edgesOut.right = rightEdge;
299 } else if (edges.right < getWidth()) {
300 adjustment[0] = (edges.right - getWidth()) / scale;
/frameworks/base/tools/aapt/
H A DImages.cpp353 // Look for right tick
454 // find left and right extent of nine patch content on center row
507 png_bytepp rows, int left, int top, int right, int bottom)
511 if (left > right || top > bottom) {
516 for (int i = left; i <= right; i++) {
557 int left, right, top, bottom; local
560 image->width, &left, &right);
565 // hpatch, vpatch, left, top, right, bottom);
566 const uint32_t c = get_color(image->rows, left, top, right, bottom);
567 NOISY(printf("Color in (%d,%d)-(%d,%d): #%08x\n", left, top, right, botto
506 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
591 int right; local
[all...]
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java235 canvas.translate(mCardBounds.right - inset, mCardBounds.bottom - inset);
256 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset);
306 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset);
/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/animation/
H A DAnimation.java1002 * @param right
1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1015 invalidate.set(left, top, right, bottom);
1035 * @param right
1040 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1042 region.set(left, top, right, bottom);
H A DTransformation.java163 setClipRect(r.left, r.top, r.right, r.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

Completed in 3695 milliseconds

1234567891011>>