/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 154 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 D | RenderEngine.cpp | 209 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 D | ExpandableListView.java | 302 * 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 D | FrameLayout.java | 191 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 D | AbsSpinner.java | 178 mSpinnerPadding.right = mPaddingRight > mSelectionRightPadding ? mPaddingRight 216 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; 226 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
|
H A D | CompoundButton.java | 396 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 D | TiledImageRenderer.java | 326 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 D | WindowState.java | 605 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 D | android_graphics_Canvas.cpp | 154 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 D | FastMixer.cpp | 625 // 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 D | WallpaperManager.java | 179 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 D | ActionBarOverlayLayout.java | 289 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 D | Drawable.java | 152 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 D | TvView.java | 574 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 D | ActionBarOverlayLayout.java | 292 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 D | SpinnerCompat.java | 456 * @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 D | AbsSpinnerCompat.java | 160 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 D | FakeShadowDrawable.java | 200 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 D | CropView.java | 111 edgesOut.right = rightEdge; 299 } else if (edges.right < getWidth()) { 300 adjustment[0] = (edges.right - getWidth()) / scale;
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 353 // 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 D | RoundRectDrawableWithShadow.java | 235 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 D | ScrollingMovementMethod.java | 34 protected boolean right(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 1002 * @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 D | Transformation.java | 163 setClipRect(r.left, r.top, r.right, r.bottom);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 367 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
|