/frameworks/base/core/java/android/text/ |
H A D | StaticLayout.java | 708 int left = 0, right = len; 711 for (right = len; right > 0; right--) { 712 float w = widths[right - 1 + lineStart - widthStart]; 722 for (left = 0; left < right; left++) { 733 ellipsisCount = right - left;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 130 * 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); 649 int right = slider.tab.getRight(); 654 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset) 784 * Sets the right handl [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 474 updateMirrorMatrix(bounds.right - bounds.left); 534 canvas.translate(mDstRect.right - mDstRect.left, 0); 546 updateMirrorMatrix(mDstRect.right - mDstRect.left); 579 final int right = bounds.right - mDstRect.right; 581 mOpticalInsets = Insets.of(left, top, right, bottom);
|
H A D | ShapeDrawable.java | 138 * @param right padding for the right side (in pixels) 141 public void setPadding(int left, int top, int right, int bottom) { argument 142 if ((left | top | right | bottom) == 0) { 148 mShapeState.mPadding.set(left, top, right, bottom); 155 * in the Rect object as: left, top, right, bottom.
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 554 (x1 > mClip->right || y1 < mClip->top || x2 < mClip->left || y4 > mClip->bottom)) { 563 mBounds->right = fmax(mBounds->right, x3); 581 mBounds->right = fmax(mBounds->right, fmax(x1, fmax(x2, fmax(x3, x4)))); 617 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * intRadius; 642 if ((bounds.right > bounds.left) && (bounds.top > bounds.bottom)) {
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 432 crop.left, crop.top, crop.right, crop.bottom); 567 layerStackRect.left, layerStackRect.top, layerStackRect.right, layerStackRect.bottom, 568 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom);
|
/frameworks/base/core/java/android/widget/ |
H A D | TabWidget.java | 273 * Sets the drawable to use as the right part of the strip below the 275 * @param drawable the right strip drawable 284 * Sets the drawable to use as the right part of the strip below the 287 * right strip drawable 347 bounds.right = selectedChild.getRight(); 351 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(), 352 Math.max(getWidth(), bounds.right + rightStrip.getIntrinsicWidth()), myHeight);
|
H A D | ActionMenuView.java | 425 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 427 super.onLayout(changed, left, top, right, bottom); 437 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft(); 485 final int midHorizontal = (right - left) / 2;
|
H A D | SlidingDrawer.java | 614 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY); 644 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom); 645 region.union(frame.right - deltaX, 0, 646 frame.right - deltaX + mContent.getWidth(), getHeight());
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 229 int32_t left, top, right, bottom; local 230 CHECK(msg->findRect(key, &left, &top, &right, &bottom)); 250 StringPrintf("%s-right", key).c_str(), 251 right);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 305 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/native/services/surfaceflinger/ |
H A D | Transform.cpp | 207 vec2 rt( bounds.right, bounds.top ); 209 vec2 rb( bounds.right, bounds.bottom ); 218 r.right = floorf(max(lt[0], rt[0], lb[0], rb[0]) + 0.5f);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 185 * (optical) left/right: coordinate quantities - do not reverse 843 // Iterate from left to right, which is a different index traversal 1256 int left, top, right, bottom; 1260 right = end; 1266 right = startSecondary + sizeSecondary; 1268 v.layout(left, top, right, bottom); 1269 updateChildOpticalInsets(v, left, top, right, bottom); 1273 private void updateChildOpticalInsets(View v, int left, int top, int right, int bottom) { argument 1276 v.getRight() - right, v.getBottom() - bottom); 1303 int right [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.h | 207 i32 right);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 263 int32_t left, int32_t top, int32_t right, int32_t bottom) { 269 item->u.rectValue.mRight = right; 311 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const { 319 *right = item->u.rectValue.mRight; 261 setRect( const char *name, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 309 findRect( const char *name, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const argument
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVCanvas.cpp | 45 for (int32_t x = rect.left; x < rect.right; ++x) {
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerDyn.cpp | 194 void AudioResamplerDyn<TC, TI, TO>::setVolume(float left, float right) argument 196 AudioResampler::setVolume(left, right); 199 mVolumeSimd[1] = static_cast<TO>(right); 204 mVolumeSimd[1] = u4_28_from_float(clampFloatVol(right));
|
H A D | Effects.h | 103 status_t setVolume(uint32_t *left, uint32_t *right, bool controller); 276 bool setVolume_l(uint32_t *left, uint32_t *right); 378 uint32_t mRightVolume; // previous volume on right channel 380 uint32_t mNewRightVolume; // new volume on right channel
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 298 return getInteractionController().swipe(rect.right - SWIPE_MARGIN_LIMIT, 303 * Performs the swipe right action on the UiObject. 326 rect.centerY(), rect.right - SWIPE_MARGIN_LIMIT, rect.centerY(), steps); 457 * Long clicks bottom and right corner of the UI element 470 return getInteractionController().longTapNoSync(rect.right - 5, rect.bottom - 5); 474 * Clicks the bottom and right corner of the UI element 487 return getInteractionController().clickNoSync(rect.right - 5, rect.bottom - 5); 938 // End at the top-left and bottom-right corners of the control
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 230 mSurfaceFrame.right = width;
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
H A D | FrameLayoutGravityTest.java | 52 mRightView = activity.findViewById(R.id.right);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 615 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 619 float right, 626 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 630 int right, 974 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 978 float right, 985 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 989 int right, 617 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument 628 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument 976 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument 987 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 498 float right, 507 int right, 747 float right, 756 int right, 496 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument 505 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument 745 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument 754 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 430 private void ortho(float left, float right, float bottom, float top, float znear, float zfar) { argument 431 mProjMatrix[0] = 2f / (right - left); 443 mProjMatrix[12] = -(right + left) / (right - left);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 435 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 437 super.onLayout(changed, left, top, right, bottom); 447 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft(); 494 final int midHorizontal = (right - left) / 2;
|