/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 142 public void setBounds(int left, int top, int right, int bottom) { argument 149 if (oldBounds.left != left || oldBounds.top != top || 155 mBounds.set(left, top, right, bottom); 165 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); 586 * (right-to left). See {@link android.util.LayoutDirection}. 595 * right-to-left. See {@link android.util.LayoutDirection}.
|
H A D | AnimatedRotateDrawable.java | 76 int w = bounds.right - bounds.left; 82 canvas.rotate(mCurrentDegrees, px + bounds.left, py + bounds.top); 203 mState.mDrawable.setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
|
H A D | RotateDrawable.java | 78 int w = bounds.right - bounds.left; 86 canvas.rotate(st.mCurrentDegrees, px + bounds.left, py + bounds.top); 183 mState.mDrawable.setBounds(bounds.left, bounds.top,
|
/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListView.java | 298 * Resolve start/end indicator. start/end indicator always takes precedence over left/right 325 * left/right child indicator when defined. 412 // the left & right bounds 415 indicatorRect.left = (mChildIndicatorLeft == CHILD_INDICATOR_INHERIT) ? 420 indicatorRect.left = mIndicatorLeft; 425 final int temp = indicatorRect.left; 426 indicatorRect.left = width - indicatorRect.right; 429 indicatorRect.left -= mPaddingRight; 432 indicatorRect.left += mPaddingLeft; 439 if (indicatorRect.left ! 1170 setChildIndicatorBounds(int left, int right) argument 1219 setIndicatorBounds(int left, int right) argument [all...] |
H A D | Switch.java | 493 maxTextWidth * 2 + mThumbTextPadding * 4 + mTempRect.left + mTempRect.right); 535 mTempRect.left + mTempRect.right + mTouchSlop; 672 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 673 super.onLayout(changed, left, top, right, bottom); 731 int switchInnerLeft = switchLeft + mTempRect.left; 739 int thumbLeft = switchInnerLeft - mTempRect.left + thumbPos; 791 return mSwitchWidth - mThumbWidth - mTempRect.left - mTempRect.right;
|
H A D | AbsSpinner.java | 170 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft 212 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; 222 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
|
H A D | TabWidget.java | 249 * Sets the drawable to use as the left part of the strip below the 251 * @param drawable the left strip drawable 260 * Sets the drawable to use as the left part of the strip below the 263 * left strip drawable 343 bounds.left = selectedChild.getLeft(); 346 leftStrip.setBounds(Math.min(0, bounds.left - leftStrip.getIntrinsicWidth()), 347 myHeight - leftStrip.getIntrinsicHeight(), bounds.left, myHeight);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); 326 for (int x = r.left, right = r.right; x < right; x += size) { 354 // rectangle containing visible range. The left-top coordinate returned is 373 int left = (int) Math.floor(cX - width / (2f * scale)); 375 int right = (int) Math.ceil(left + width / scale); 380 left = Math.max(0, size * (left / size)); 385 out.set(left, top, right, bottom); 444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) { 646 source.left / [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 377 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 383 // We're at the left-side of the image; allow intercepting movements to the right 386 // We're at the right-side of the image; allow intercepting movements to the left 410 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 416 // We're at the left-side of the image; allow intercepting movements to the right 419 // We're at the right-side of the image; allow intercepting movements to the left 559 final int cropWidth = mCropRect.right - mCropRect.left; 565 matrix.postTranslate(-mCropRect.left, -mCropRect.top); 651 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 652 super.onLayout(changed, left, to [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewCompat.java | 209 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument 269 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument 270 view.postInvalidateDelayed(getFrameTime(), left, top, right, bottom); 468 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument 469 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom); 570 * @param direction Negative to check scrolling left, positive to check scrolling right. 782 * @param left The left coordinate of the rectangle to invalidate. 787 public static void postInvalidateOnAnimation(View view, int left, int top, argument 789 IMPL.postInvalidateOnAnimation(view, left, to [all...] |
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 171 public void setBounds(int left, int top, int right, int bottom) { argument 172 mDrawLeft = left + (right-left - mWidth) / 2; 409 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned 461 float left = (inWidth - outWidth) * horizontalAlignment; 462 float right = left + outWidth; 465 cropRectF = new RectF(left, top, right, bottom); 511 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, 553 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; 554 cropRect.right = cropRect.left [all...] |
H A D | MediaRouteButton.java | 370 final int left = getPaddingLeft(); 377 final int drawLeft = left + (right - left - drawWidth) / 2;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 593 int left = 0; 598 left = 1; 603 outRect.set(left, top, right, bottom); 636 mTempTextureMatrix[12] = source.left; 649 source.left /= texWidth; 657 target.right = target.left + target.width() * (xBound - source.left) / source.width(); 678 draw(params, GLES20.GL_TRIANGLE_STRIP, COUNT_FILL_VERTEX, target.left, target.top, 780 fillRect(target.left, target.top, target.width(), target.height(), toColor); 998 bounds.left [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 308 // Look for left tick 379 png_bytepp rows, int left, int top, int right, int bottom) 381 png_bytep color = rows[top] + left*4; 383 if (left > right || top > bottom) { 388 for (int i = left; i <= right; i++) { 429 int left, right, top, bottom; local 432 image->width, &left, &right); 437 // hpatch, vpatch, left, top, right, bottom); 438 const uint32_t c = get_color(image->rows, left, top, right, bottom); 439 NOISY(printf("Color in (%d,%d)-(%d,%d): #%08x\n", left, to 378 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument 461 int left; local [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 51 * of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a 352 final int left; 357 left = panel.getLeft(); 362 left = right = top = bottom = 0; 378 if (clampedChildLeft >= left && clampedChildTop >= top && 881 * itself is open revealing the left pane, or if all content fits without sliding. 1032 * Set a drawable to use as a shadow cast by the right pane onto the left pane 1042 * Set a drawable to use as a shadow cast by the right pane onto the left pane 1065 final int left = right - shadowWidth; 1066 mShadowDrawable.setBounds(left, to 1210 onViewPositionChanged(View changedView, int left, int top, int dx, int dy) argument 1232 clampViewPositionHorizontal(View child, int left, int dx) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 55 EGLint left, EGLint top, EGLint width, EGLint height); 254 : left(0), top(0), right(w), bottom(h) { } 256 : left(l), top(t), right(r), bottom(b) { } 258 left = max(left, r.left); 265 return (left>=right || top>=bottom); 269 what, left, top, right-left, bottom-top); 272 int32_t left; member in struct:android::egl_window_surface_v2_t::Rect 2154 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 441 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 444 final float right = left + mBackground.getWidth(); 451 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 498 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument 501 left, bottom, 0.0f, 0.0f, 1.0f, 503 left, top, 0.0f, 0.0f, 0.0f,
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 366 crop.left, crop.top, crop.right, crop.bottom); 477 layerStackRect.left, layerStackRect.top, layerStackRect.right, layerStackRect.bottom, 478 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom);
|
H A D | GLES20RenderLayer.java | 128 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 64 // left). 258 final int tw = r.right - r.left; 261 int dw = r.left + tw + r.right; 265 mNumberX = w-r.right-((dw-r.right-r.left)/2);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StackBox.java | 33 /** Used with {@link WindowManagerService#createStack}. Horizontal to left of. */ 315 mTmpRect.right = bounds.left + firstWidth; 317 mTmpRect.left = mTmpRect.right; 318 mTmpRect.right = bounds.left + width;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsSpinnerICS.java | 156 mSpinnerPadding.left = paddingLeft > mSelectionLeftPadding ? paddingLeft 196 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; 206 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 531 void VideoEditorPlayer::VeAudioOutput::setVolume(float left, float right) { argument 533 ALOGV("setVolume(%f, %f)", left, right); 534 mLeftVolume = left; 537 mTrack->setVolume(left, right); 570 snprintf(buffer, SIZE-1, " stream type(%d), left - right volume(%f, %f)\n",
|
/frameworks/base/core/java/android/text/method/ |
H A D | ScrollingMovementMethod.java | 29 protected boolean left(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 1000 * @param left 1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument 1015 invalidate.set(left, top, right, bottom); 1033 * @param left 1040 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 1042 region.set(left, top, right, bottom);
|