/frameworks/support/volley/src/com/android/volley/ |
H A D | Request.java | 418 Priority left = this.getPriority(); 423 return left == right ? 425 right.ordinal() - left.ordinal();
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 933 args.argi1 = rectangle.left; 1087 scrollX = rectangle.left - magnifiedRegionBounds.left; 1091 } else if (rectangle.left < magnifiedRegionBounds.left) { 1092 scrollX = rectangle.left - magnifiedRegionBounds.left; 1520 result.left = (int) (fromFrame.left 1521 + (toFrame.left [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 140 public void setBounds(int left, int top, int right, int bottom) { argument 147 if (oldBounds.left != left || oldBounds.top != top || 149 mBounds.set(left, top, right, bottom); 159 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
|
H A D | NinePatchDrawable.java | 185 int left = Bitmap.scaleFromDensity(insets.left, sdensity, tdensity); 189 return Insets.of(left, top, right, bottom); 210 dest.left = Bitmap.scaleFromDensity(src.left, sdensity, tdensity);
|
H A D | AnimatedRotateDrawable.java | 76 int w = bounds.right - bounds.left; 82 canvas.rotate(mCurrentDegrees, px + bounds.left, py + bounds.top); 198 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); 178 mState.mDrawable.setBounds(bounds.left, bounds.top,
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 203 b.left, b.top, b.width(), b.height()); 277 // put the origin in the left-bottom corner 414 float src_x = viewport.left; 416 float dst_x = frame.left; 444 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom, 445 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom,
|
H A D | LayerBase.cpp | 246 tr.transform(mesh->mVertices[0], win.left, win.top); 247 tr.transform(mesh->mVertices[1], win.left, win.bottom); 412 GLfloat left = GLfloat(win.left) / GLfloat(s.active.w); local 418 texCoords[0].u = left; 420 texCoords[1].u = left; 457 s.active.crop.left, s.active.crop.top,
|
H A D | Transform.cpp | 209 vec2 lt( bounds.left, bounds.top ); 211 vec2 lb( bounds.left, bounds.bottom ); 219 r.left = floorf(min(lt[0], rt[0], lb[0], rb[0]) + 0.5f);
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiObject.java | 218 rect.centerY(), rect.left + SWIPE_MARGIN_LIMIT, rect.centerY(), steps); 237 return getInteractionController().swipe(rect.left + SWIPE_MARGIN_LIMIT, 345 * Clicks the top and left corner of the UI element 356 return getInteractionController().click(rect.left + 5, rect.top + 5); 405 * Long clicks on the top and left corner of the UI element 416 return getInteractionController().longTap(rect.left + 5, rect.top + 5); 489 // long click left + center 495 getInteractionController().longTap(rect.left + 20, rect.centerY());
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 300 * expressed as a pair of <em>left</em> and <em>top</em> coordinates, and 307 * {@link #getLeft()} and {@link #getTop()}. The former returns the left, or X, 312 * right of the left edge of its direct parent. 350 * is expressed in pixels for the left, top, right and bottom parts of the view. 352 * pixels. For instance, a left padding of 2 will push the view's content by 353 * 2 pixels to the right of the left edge. Padding can be set using the 1030 * Use with {@link #focusSearch(int)}. Move focus to the left. 1835 * right-to-left direction. 2135 * Flag indicating that start/end padding has been resolved into left/right padding 2144 * Flag indicating that the start/end drawables has been resolved into left/righ 8583 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument 9548 setLeft(int left) argument 10695 postInvalidate(int left, int top, int right, int bottom) argument 10739 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument 10790 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument 14032 onLayout(boolean changed, int left, int top, int right, int bottom) argument 14048 setFrame(int left, int top, int right, int bottom) argument 14618 setPadding(int left, int top, int right, int bottom) argument 14633 internalSetPadding(int left, int top, int right, int bottom) argument 17644 int left; field in class:View.AttachInfo.InvalidateInfo [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 706 float left; 714 left = startX; 717 left = x; 730 invalidateRect.set((int) (left - radius), (int) (top - radius), 734 left = startX; 737 left = oldX; 750 invalidateRect.union((int) (left - radius), (int) (top - radius), 765 left = startX; 768 left = oldX; 780 left [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 315 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 321 // We're at the left-side of the image; allow intercepting movements to the right 324 // We're at the right-side of the image; allow intercepting movements to the left 348 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 354 // We're at the left-side of the image; allow intercepting movements to the right 357 // We're at the right-side of the image; allow intercepting movements to the left 496 final int cropWidth = mCropRect.right - mCropRect.left; 502 matrix.postTranslate(-mCropRect.left, -mCropRect.top); 588 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 589 super.onLayout(changed, left, to [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 317 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 323 // We're at the left-side of the image; allow intercepting movements to the right 326 // We're at the right-side of the image; allow intercepting movements to the left 350 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 356 // We're at the left-side of the image; allow intercepting movements to the right 359 // We're at the right-side of the image; allow intercepting movements to the left 498 final int cropWidth = mCropRect.right - mCropRect.left; 504 matrix.postTranslate(-mCropRect.left, -mCropRect.top); 590 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 591 super.onLayout(changed, left, to [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Spinner.java | 467 * so views are scrolling to the left. -1 means selection is moving to the left. 471 int childrenLeft = mSpinnerPadding.left; 472 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; 580 mSpinnerPadding.left + mSpinnerPadding.right, lp.width); 694 width += mTempRect.left + mTempRect.right; 950 hOffset = isLayoutRtl() ? mTempRect.right : -mTempRect.left; 952 mTempRect.left = mTempRect.right = 0; 962 .getDisplayMetrics().widthPixels - mTempRect.left - mTempRect.right;
|
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 214 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right; 224 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/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/native/opengl/libagl/ |
H A D | egl.cpp | 55 EGLint left, EGLint top, EGLint width, EGLint height); 253 : left(0), top(0), right(w), bottom(h) { } 255 : left(l), top(t), right(r), bottom(b) { } 257 left = max(left, r.left); 264 return (left>=right || top>=bottom); 268 what, left, top, right-left, bottom-top); 271 int32_t left; member in struct:android::egl_window_surface_v2_t::Rect 2150 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 130 int32_t mulRL(int left, int32_t in, uint32_t vRL) argument 134 if (left) { 147 if (left) { 173 int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a) argument 177 if (left) { 190 if (left) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 452 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 455 final float right = left + mBackground.getWidth(); 462 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 511 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument 514 left, bottom, 0.0f, 0.0f, 1.0f, 516 left, top, 0.0f, 0.0f, 0.0f,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 66 // left). 252 final int tw = r.right - r.left; 255 int dw = r.left + tw + r.right; 259 mNumberX = w-r.right-((dw-r.right-r.left)/2);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 529 void VideoEditorPlayer::VeAudioOutput::setVolume(float left, float right) { argument 531 ALOGV("setVolume(%f, %f)", left, right); 532 mLeftVolume = left; 535 mTrack->setVolume(left, right); 567 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
|