Searched refs:right (Results 176 - 200 of 328) sorted by relevance

1234567891011>>

/frameworks/support/renderscript/v8/rs_support/
H A DrsRuntime.h131 void rsrMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right,
133 void rsrMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right,
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiScrollable.java301 * the right to left. Caution is required on devices configured with right to left languages
332 // scroll horizontally: swipe right -> left
333 // TODO: Assuming device is not in right to left language
334 downX = rect.right - swipeAreaAdjust;
364 * the left to right. Caution is required on devices configured with right to left languages
397 // scroll horizontally: swipe left -> right
398 // TODO: Assuming device is not in right to left language
401 upX = rect.right
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java62 * @param rhs The float array that holds the right-hand-side matrix.
85 * @param rhsVec The float array that holds the right-hand-side vector.
256 * @param right
263 float left, float right, float bottom, float top,
265 if (left == right) {
266 throw new IllegalArgumentException("left == right");
275 final float r_width = 1.0f / (right - left);
281 final float tx = -(right + left) * r_width;
309 * @param right
316 float left, float right, floa
262 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument
315 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java383 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
463 rect.right = (int) ((pos[0] + view.getWidth()) * appScale + 0.5f);
616 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
1356 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument
1360 this.right = right;
1368 right = parcel.readInt();
1377 dest.writeInt(right);
1386 target.setPadding(left, top, right, bottom);
1393 int left, top, right, botto field in class:RemoteViews.ViewPaddingAction
1780 setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) argument
2037 setViewPadding(int viewId, int left, int top, int right, int bottom) argument
[all...]
H A DTextView.java1537 * Returns the right padding of the view, plus space for the right
1654 * Returns the total right padding of the view, including the right
1697 * to the right of, and below the text. Use null if you do not
1707 Drawable right, Drawable bottom) {
1711 || right != null || bottom != null;
1750 if (dr.mDrawableRight != right && dr.mDrawableRight != null) {
1753 dr.mDrawableRight = right;
1775 if (right !
1706 setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) argument
1827 setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom) argument
1846 setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom) argument
2111 setPadding(int left, int top, int right, int bottom) argument
6319 onLayout(boolean changed, int left, int top, int right, int bottom) argument
[all...]
H A DFastScroller.java233 // Bounds are always top right. Y coordinate get's translated during draw
369 left = Math.min(mThumbDrawable.getBounds().right + mThumbW,
379 pos.right = pos.left + mOverlaySize;
384 (int) pos.right, (int) pos.bottom);
393 final int hOff = (tmpRect.right - tmpRect.left) / 2;
395 canvas.drawText(mSectionText, (int) (rectF.left + rectF.right) / 2 - hOff,
424 pos.right = pos.left + mOverlaySize;
429 (int) pos.right, (int) pos.bottom);
759 // ViewGroup does the right thing already, but there might
H A DProgressBar.java997 dirty.right + scrollX, dirty.bottom + scrollY);
1015 int right = w;
1034 right = left + width;
1045 left = w - right;
1046 right = w - tempLeft;
1048 mIndeterminateDrawable.setBounds(left, top, right, bottom);
1052 mProgressDrawable.setBounds(0, 0, right, bottom);
H A DSlidingDrawer.java593 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY);
623 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom);
624 region.union(frame.right - deltaX, 0,
625 frame.right - deltaX + mContent.getWidth(), getHeight());
/frameworks/base/core/java/android/view/
H A DSurfaceView.java291 protected boolean setFrame(int left, int top, int right, int bottom) { argument
292 boolean result = super.setFrame(left, top, right, bottom);
522 mSurfaceFrame.right = mWinFrame.width();
526 mSurfaceFrame.right = (int) (mWinFrame.width() * appInvertedScale + 0.5f);
530 final int surfaceWidth = mSurfaceFrame.right;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java455 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
515 right, bottom, 0.0f, 1.0f, 1.0f,
517 right, top, 0.0f, 1.0f, 0.0f,
/frameworks/native/opengl/libagl/
H A Degl.cpp253 : left(0), top(0), right(w), bottom(h) { }
255 : left(l), top(t), right(r), bottom(b) { }
259 right = min(right, r.right);
264 return (left>=right || top>=bottom);
268 what, left, top, right-left, bottom-top);
273 int32_t right; member in struct:android::egl_window_surface_v2_t::Rect
289 storage->right = lhs.right;
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp223 jfloat top, jfloat right, jfloat bottom) {
227 SkFloatToScalar(right), SkFloatToScalar(bottom));
233 jint top, jint right, jint bottom) {
237 SkIntToScalar(right), SkIntToScalar(bottom));
258 float left, float top, float right, float bottom,
262 SkFloatToScalar(right), SkFloatToScalar(bottom));
294 jfloat left, jfloat top, jfloat right,
298 SkFloatToScalar(right), SkFloatToScalar(bottom));
395 jfloat left, jfloat top, jfloat right,
399 SkScalar right_ = SkFloatToScalar(right);
222 clipRect_FFFF(JNIEnv* env, jobject jcanvas, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
232 clipRect_IIII(JNIEnv* env, jobject jcanvas, jint left, jint top, jint right, jint bottom) argument
257 clipRect(JNIEnv* env, jobject, SkCanvas* canvas, float left, float top, float right, float bottom, int op) argument
293 quickReject__FFFFI(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, int edgetype) argument
394 drawRect__FFFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
799 SkScalar right = SkFloatToScalar(x + length); local
[all...]
/frameworks/base/core/java/android/text/
H A DStaticLayout.java779 int left = 0, right = len;
782 for (right = len; right >= 0; right--) {
783 float w = widths[right - 1 + lineStart - widthStart];
793 for (left = 0; left < right; left++) {
804 ellipsisCount = right - left;
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java124 * The interface was triggered because the user grabbed the right handle and moved it past
331 * @param r the parent's right border
349 final int right = left + handleWidth;
377 tab.layout(left, 0, right, handleHeight);
378 text.layout(left, 0 - parentHeight, right, 0);
382 tab.layout(left, parentHeight - handleHeight, right, parentHeight);
383 text.layout(left, parentHeight, right, parentHeight + parentHeight);
643 int right = slider.tab.getRight();
648 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset)
778 * Sets the right handl
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp587 int left, top, right, bottom; local
588 if (meta->findRect(kKeyCropRect, &left, &top, &right, &bottom)) {
589 mWidth = right - left + 1;
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
H A DInterrogationActivityTest.java111 assertEquals(160, bounds.right);
386 assertEquals(buttonBounds.right, sourceBounds.right);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp400 swap(viewport.right, viewport.bottom);
444 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom,
445 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom,
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp223 int32_t left, top, right, bottom; local
224 CHECK(msg->findRect(key, &left, &top, &right, &bottom));
244 StringPrintf("%s-right", key).c_str(),
245 right);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsHorizontalScrollView.java248 int right = left + mRight - mLeft - mPaddingRight - paddingLeft;
253 right += getRightPaddingOffset();
257 left, right, top, bottom, mScrollX, mScrollY,
H A DRecentsVerticalScrollView.java257 int right = left + mRight - mLeft - mPaddingRight - paddingLeft;
262 right += getRightPaddingOffset();
266 left, right, top, bottom, mScrollX, mScrollY,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h207 i32 right);
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp190 int32_t left, int32_t top, int32_t right, int32_t bottom) {
196 item->u.rectValue.mRight = right;
238 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const {
246 *right = item->u.rectValue.mRight;
/frameworks/av/media/libstagefright/yuv/
H A DYUVCanvas.cpp45 for (int32_t x = rect.left; x < rect.right; ++x) {
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java230 mSurfaceFrame.right = width;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java389 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
391 super.onLayout(changed, left, top, right, bottom);
401 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
449 final int midHorizontal = (right - left) / 2;

Completed in 466 milliseconds

1234567891011>>