Searched defs:right (Results 201 - 225 of 242) sorted by relevance

12345678910

/frameworks/native/services/surfaceflinger/
H A DLayer.cpp399 float insetR = (winWidth - winCrop.right ) * xScale;
404 crop.right -= insetR;
452 activeTransparentRegion.orSelf(Rect(activeCrop.right, activeCrop.top,
719 float right = float(win.right) / float(s.active.w); local
727 texCoords[2] = vec2(right, 1.0f - bottom);
728 texCoords[3] = vec2(right, 1.0f - top);
797 position[2] = tr.transform(win.right, win.bottom);
798 position[3] = tr.transform(win.right, win.top);
877 c.active.crop.right,
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java301 e.getX()), mTranslateRect.right - widthBuffer);
403 float minX = getWidth() * marginFit + mTranslateRect.right * relativeDistance;
446 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
452 // We're at the left-side of the image; allow intercepting movements to the right
455 // We're at the right-side of the image; allow intercepting movements to the left
479 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
485 // We're at the left-side of the image; allow intercepting movements to the right
488 // We're at the right-side of the image; allow intercepting movements to the left
659 final int cropWidth = mCropRect.right - mCropRect.left;
751 protected void onLayout(boolean changed, int left, int top, int right, in argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java270 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
389 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
390 view.invalidate(left, top, right, bottom);
1018 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
1019 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
1222 * @param direction Negative to check scrolling left, positive to check scrolling right.
1447 * @param right The right coordinate of the rectangle to invalidate.
1451 int right, int bottom) {
1452 IMPL.postInvalidateOnAnimation(view, left, top, right, botto
1450 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DToolbar.java942 * @param contentInsetRight Content inset for the toolbar's right edge
974 * Get the right content inset for this toolbar.
980 * @return The right content inset for this toolbar
1336 int right = width - paddingRight;
1346 right = layoutChildRight(mNavButtonView, right, collapsingMargins,
1356 right = layoutChildRight(mCollapseButtonView, right, collapsingMargins,
1369 right = layoutChildRight(mMenuView, right, collapsingMargin
1574 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2526 int32_t left, top, right, bottom; local
2529 &right, &bottom));
2539 ((right - left + 1) * scale.xWidth) >> 16);
4209 int32_t left, top, right, bottom; local
4213 &left, &top, &right, &bottom));
4218 crop.right = right + 1;
H A DACodec.cpp2187 // eCompressionFormat does not seem right.
2193 // eColorFormat does not seem right.
3848 int32_t left, top, right, bottom; local
3851 notify->findRect("crop", &left, &top, &right, &bottom)) {
3853 // NOTE: native window uses extended right-bottom coordinate
3854 reply->setRect("crop", left, top, right + 1, bottom + 1);
4637 &crop.left, &crop.top, &crop.right, &crop.bottom)) {
5941 // We're already doing this right now.
/frameworks/base/core/java/android/view/
H A DMotionEvent.java437 * Flag indicating the motion event intersected the right edge of the screen.
453 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
455 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
635 * indicates that the major axis of contact is oriented to the right. A negative angle
638 * (finger pointing fully right).
643 * is pointing right. See also {@link #AXIS_TILT}.
677 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
763 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
810 * <li>For a joystick, reports the absolute position of the right trigger control.
843 * The value is normalized to a range from -1.0 (turn left) to 1.0 (turn right)
2861 isWithinBoundsNoHistory(float left, float top, float right, float bottom) argument
2887 clampNoHistory(float left, float top, float right, float bottom) argument
[all...]
H A DWindowManagerPolicy.java228 * @return Rect The left, top, right, and bottom insets, relative
238 * @return Rect The left, top, right, and bottom insets, relative
498 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom); argument
1041 * such as the Home key and the right soft keys, don't work.
H A DKeyEvent.java92 * feature key for selecting a software defined function shown on the bottom right
332 * or the top right trigger button. */
340 * or the bottom right trigger button. */
347 * On a game controller, the right thumb button indicates that the right
883 * <p>This mask is used to check whether the right the ALT meta key is pressed.</p>
911 * <p>This mask is used to check whether the right SHIFT meta key is pressed.</p>
955 * <p>This mask is used to check whether the right CTRL meta key is pressed.</p>
983 * <p>This mask is used to check whether the right META meta key is pressed.</p>
1990 * The meta state is normalized such that if either the left or right modifie
2107 metaStateFilterDirectionalModifiers(int metaState, int modifiers, int basic, int left, int right) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java131 * GridLayout's algorithms favour rows and columns that are closer to its <em>right</em>
204 * {@link android.view.View#getRight() right} properties.
916 int right = getWidth() - getPaddingRight() - insets.right;
931 drawLine(canvas, left, y, right, y, paint);
1116 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1119 int targetWidth = right - left;
2068 int left, int top, int right, int bottom,
2071 setMargins(left, top, right, bottom);
2885 * Indicates that a view should be aligned with the <em>right</e
2066 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
H A DNumberPicker.java759 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
761 super.onLayout(changed, left, top, right, bottom);
2541 int left, int top, int right, int bottom) {
2551 boundsInParent.set(left, top, right, bottom);
2563 String text, int left, int top, int right, int bottom) {
2574 boundsInParent.set(left, top, right, bottom);
2597 int right, int bottom) {
2619 boundsInParent.set(left, top, right, bottom);
2540 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument
2562 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
2596 createAccessibilityNodeInfoForNumberPicker(int left, int top, int right, int bottom) argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp255 // an array of the right size -- this might happen with extensions
300 // an array of the right size -- this might happen with extensions
1074 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1077 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1080 (GLfloat)right,
1088 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1091 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1094 (GLfixed)right,
2420 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2423 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloa
1076 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1090 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2422 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2436 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp255 // an array of the right size -- this might happen with extensions
300 // an array of the right size -- this might happen with extensions
987 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
990 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
993 (GLfixed)right,
1820 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1823 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1826 (GLfixed)right,
2826 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2829 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloa
989 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1822 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2828 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2842 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java81 * Flag for drawTextRun indicating left-to-right run direction.
87 * Flag for drawTextRun indicating right-to-left run direction.
462 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
475 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
477 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom,
483 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG})
485 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
486 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
521 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
534 public int saveLayerAlpha(float left, float top, float right, floa argument
544 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument
761 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
779 clipRect(float left, float top, float right, float bottom) argument
797 clipRect(int left, int top, int right, int bottom) argument
950 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1145 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1166 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1234 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1261 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
1995 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
2013 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
2031 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2035 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2040 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
2044 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListOp.h241 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
242 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {}
254 mLocalBounds.right = fmaxf(mLocalBounds.right, points[i]);
338 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument
339 : mArea(left, top, right, bottom)
346 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
347 : mArea(left, top, right, bottom)
361 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom,
366 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mAre
547 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument
838 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument
999 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1026 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1076 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1107 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
1178 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1195 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java333 public void glFrustumf(float left, float right, float bottom, float top, argument
336 mgl.glFrustumf(left, right, bottom, top, near, far);
340 public void glFrustumx(int left, int right, int bottom, int top, int near, argument
343 mgl.glFrustumx(left, right, bottom, top, near, far);
607 public void glOrthof(float left, float right, float bottom, float top, argument
610 mgl.glOrthof(left, right, bottom, top, near, far);
614 public void glOrthox(int left, int right, int bottom, int top, int near, argument
617 mgl.glOrthox(left, right, bottom, top, near, far);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java429 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
433 float right,
440 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
444 int right,
799 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
803 float right,
810 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
814 int right,
431 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument
442 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument
801 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument
812 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java225 public void onLayoutChange(View v, int left, int top, int right,
283 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
284 super.onLayout(changed, left, top, right, bottom);
926 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft,
1714 protected void onEdgeClicked(boolean right) { argument
1715 if ((right && getRightIcon().getVisibility() != View.VISIBLE)
1716 || (!right && getLeftIcon().getVisibility() != View.VISIBLE)
1721 mAfforanceHelper.startHintAnimation(right, new Runnable() {
1728 boolean start = getLayoutDirection() == LAYOUT_DIRECTION_RTL ? right : !right;
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java311 textBounds.right = 0;
654 - backgroundPadding.right);
662 + iconWidth + backgroundPadding.left + backgroundPadding.right);
684 width - backgroundPadding.right - mChipTextEndPadding - textWidth;
689 int iconX = shouldPositionAvatarOnRight() ? width - backgroundPadding.right - iconWidth :
693 result.right = iconX + iconWidth;
705 final RectF dst = new RectF(bitMapResult.left, bitMapResult.top, bitMapResult.right,
711 * Returns true if the avatar should be positioned at the right edge of the chip.
1026 if (getWidth() > 0 && bounds.right - bounds.left >
3117 float right; field in class:RecipientEditTextView.ChipBitmapContainer
[all...]
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp448 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
450 rsrMeasureTextAlloc(rsc, a, left, right, top, bottom);
454 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
456 rsrMeasureText(rsc, text, left, right, top, bottom);
447 SC_MeasureTextAlloc(Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
453 SC_MeasureText(const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java185 * (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/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java127 * GridLayout's algorithms favour rows and columns that are closer to its <em>right</em>
189 * {@link android.view.View#getRight() right} properties.
1005 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1008 int targetWidth = right - left;
1943 int left, int top, int right, int bottom,
1946 setMargins(left, top, right, bottom);
2764 * Indicates that a view should be aligned with the <em>right</em>
1941 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java1002 lp.rightMargin + insets.right);
1548 private void layoutDecoratedWithMargins(View child, int left, int top, int right, int bottom) { argument
1554 + ", r:" + right + ", b:" + bottom);
1556 layoutDecorated(child, left + lp.leftMargin, top + lp.topMargin, right - lp.rightMargin
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java161 // init is ofter called right after and is NOT threadsafe.
1868 public boolean setFrame(final int left, final int top, final int right, final int bottom) { argument
1869 return mWebViewPrivate.super_setFrame(left, top, right, bottom);
/frameworks/av/services/audioflinger/
H A DThreads.cpp156 // so AudioFlinger could allocate the right amount of memory.
529 if (mask & AUDIO_CHANNEL_OUT_FRONT_RIGHT) s.append("front-right, ");
533 if (mask & AUDIO_CHANNEL_OUT_BACK_RIGHT) s.append("back-right, ");
535 if (mask & AUDIO_CHANNEL_OUT_FRONT_RIGHT_OF_CENTER) s.append("front-right-of-center, ");
538 if (mask & AUDIO_CHANNEL_OUT_SIDE_RIGHT) s.append("side-right, ");
542 if (mask & AUDIO_CHANNEL_OUT_TOP_FRONT_RIGHT) s.append("top-front-right, ");
545 if (mask & AUDIO_CHANNEL_OUT_TOP_BACK_RIGHT) s.append("top-back-right, " );
549 if (mask & AUDIO_CHANNEL_IN_RIGHT) s.append("right, ");
553 if (mask & AUDIO_CHANNEL_IN_RIGHT_PROCESSED) s.append("right-processed, ");
3475 ALOGV("Track right volum
3956 float left, right; local
[all...]

Completed in 470 milliseconds

12345678910