Searched defs:right (Results 251 - 275 of 301) sorted by relevance

<<111213

/frameworks/native/libs/gui/
H A DSurface.cpp431 int right = rect.right; local
437 Rect flippedRect{top, width - right, bottom, width - left};
443 Rect flippedRect{width - right, height - bottom,
451 height - top, right};
456 Rect flippedRect{left, top, right, bottom};
884 realRect.left, realRect.top, realRect.right, realRect.bottom);
1094 Rect rect(rects[r].left, rects[r].bottom, rects[r].right, rects[r].top);
/frameworks/native/opengl/libagl/
H A Degl.cpp254 : left(0), top(0), right(w), bottom(h) { }
256 : left(l), top(t), right(r), bottom(b) { }
260 right = min(right, r.right);
265 return (left>=right || top>=bottom);
269 what, left, top, right-left, bottom-top);
274 int32_t right; member in struct:android::egl_window_surface_v2_t::Rect
290 storage->right = lhs.right;
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp484 float insetR = (winWidth - winCrop.right ) * xScale;
489 crop.right -= insetR;
575 activeTransparentRegion.orSelf(Rect(activeCrop.right, activeCrop.top,
593 transformedFrame.top, transformedFrame.right,
601 sourceCrop.left, sourceCrop.top, sourceCrop.right,
1021 float right = float(win.right) / float(s.active.w); local
1029 texCoords[2] = vec2(right, 1.0f - bottom);
1030 texCoords[3] = vec2(right, 1.0f - top);
1155 if (point->x > crop.right) {
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java303 e.getX()), mTranslateRect.right - widthBuffer);
417 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
423 // We're at the left-side of the image; allow intercepting movements to the right
426 // We're at the right-side of the image; allow intercepting movements to the left
450 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
456 // We're at the left-side of the image; allow intercepting movements to the right
459 // We're at the right-side of the image; allow intercepting movements to the left
630 final int cropWidth = mCropRect.right - mCropRect.left;
722 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
723 super.onLayout(changed, left, top, right, botto
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java1931 int left, right;
1935 right = selectedTitle.getRight();
1942 right = (int) (mSelectionOffset * nextTitle.getRight() +
1943 (1.0f - mSelectionOffset) * right);
1946 left = right = -1;
1949 setIndicatorPosition(left, right);
1952 private void setIndicatorPosition(int left, int right) { argument
1953 if (left != mIndicatorLeft || right != mIndicatorRight) {
1954 // If the indicator's left/right has changed, invalidate
1956 mIndicatorRight = right;
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java337 * Scroll indicator direction for the right edge of the view.
376 void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
533 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
534 view.invalidate(left, top, right, bottom);
1410 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
1411 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
1799 * @param direction Negative to check scrolling left, positive to check scrolling right.
2025 * @param right The right coordinate of the rectangle to invalidate.
2029 int right, in
2028 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java581 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java407 public void onLayoutChange(View v, int left, int top, int right, int bottom,
605 * @param submit whether to submit the query right now or only update the contents of
867 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
868 super.onLayout(changed, left, top, right, bottom);
875 mSearchSrcTextViewBounds.left, 0, mSearchSrcTextViewBounds.right, bottom - top);
1109 // Next, check for left/right moves, which we use to "return" the
1113 // left key, at end if right key
1114 // TODO: Reverse left/right for right-to-left languages, e.g.
1430 + dropDownPadding.right
[all...]
H A DSwitchCompat.java800 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right;
826 // Adjust left and right padding to ensure there's enough room for the
829 int paddingRight = padding.right;
833 paddingRight = Math.max(paddingRight, inset.right);
887 mTempRect.left + mTempRect.right + mTouchSlop;
1082 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1083 super.onLayout(changed, left, top, right, bottom);
1097 opticalInsetRight = Math.max(0, insets.right - trackPadding.right);
1173 if (thumbInsets.right > paddin
[all...]
H A DToolbar.java1151 * @param contentInsetRight Content inset for the toolbar's right edge
1186 * Gets the right content inset for this toolbar.
1192 * @return The right content inset for this toolbar
1339 * Gets the content inset that will be used on the right side of the bar in the current
1342 * @return the current content inset right in pixels
1708 int right = width - paddingRight;
1718 right = layoutChildRight(mNavButtonView, right, collapsingMargins,
1728 right = layoutChildRight(mCollapseButtonView, right, collapsingMargin
1948 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp183 // Deal with empty and ANY right away
381 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n",
419 * The only arguments this understands right now are -c, -von and -voff,
628 // determine if we have the right player type
672 // create the right type of player
806 // create the right type of player
2022 void MediaPlayerService::AudioOutput::setVolume(float left, float right) argument
2024 ALOGV("setVolume(%f, %f)", left, right);
2027 mRightVolume = right;
2029 mTrack->setVolume(left, right);
[all...]
/frameworks/base/core/java/android/view/
H A DMotionEvent.java478 * Flag indicating the motion event intersected the right edge of the screen.
494 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
496 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
676 * indicates that the major axis of contact is oriented to the right. A negative angle
679 * (finger pointing fully right).
684 * is pointing right. See also {@link #AXIS_TILT}.
718 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
804 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
851 * <li>For a joystick, reports the absolute position of the right trigger control.
884 * The value is normalized to a range from -1.0 (turn left) to 1.0 (turn right)
3003 isWithinBoundsNoHistory(float left, float top, float right, float bottom) argument
3029 clampNoHistory(float left, float top, float right, float bottom) argument
[all...]
H A DWindow.java78 /** Flag for having an icon on the right side of the title bar */
416 * Prepare a panel to be displayed. This is called right before the
2172 public void notifyRestrictedCaptionAreaCallback(int left, int top, int right, int bottom) { argument
2174 mRestrictedCaptionAreaRect.set(left, top, right, bottom);
H A DWindowManagerPolicy.java255 * @return Rect The left, top, right, and bottom insets, relative
265 * @return Rect The left, top, right, and bottom insets, relative
570 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom); argument
1147 * such as the Home key and the right soft keys, don't work.
/frameworks/base/core/java/android/widget/
H A DGridLayout.java129 * GridLayout's algorithms favour rows and columns that are closer to its <em>right</em>
204 * {@link android.view.View#getRight() right} properties.
922 int right = getWidth() - getPaddingRight() - insets.right;
937 drawLine(canvas, left, y, right, y, paint);
1107 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1110 int targetWidth = right - left;
2046 int left, int top, int right, int bottom,
2049 setMargins(left, top, right, bottom);
2873 * Indicates that a view should be aligned with the <em>right</e
2044 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument
[all...]
H A DNumberPicker.java774 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
776 super.onLayout(changed, left, top, right, bottom);
2598 int left, int top, int right, int bottom) {
2608 boundsInParent.set(left, top, right, bottom);
2620 String text, int left, int top, int right, int bottom) {
2631 boundsInParent.set(left, top, right, bottom);
2654 int right, int bottom) {
2676 boundsInParent.set(left, top, right, bottom);
2597 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument
2619 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
2653 createAccessibilityNodeInfoForNumberPicker(int left, int top, int right, int bottom) argument
H A DRemoteViews.java822 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f);
1810 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument
1814 this.right = right;
1822 right = parcel.readInt();
1831 dest.writeInt(right);
1839 target.setPadding(left, top, right, bottom);
1846 int left, top, right, bottom; field in class:RemoteViews.ViewPaddingAction
2470 * @param right The id of a drawable to place to the right o
2473 setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) argument
2527 setTextViewCompoundDrawables(int viewId, Icon left, Icon top, Icon right, Icon bottom) argument
2872 setViewPadding(int viewId, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java574 drawingBounds.right -= frameOffsets.right;
580 drawingBounds.right -= framePadding.right - frameOffsets.right;
598 drawingBounds.bottom-6, drawingBounds.right,
636 widthSize - mFloatingInsets.left - mFloatingInsets.right,
678 if (mOutsets.left > 0 || mOutsets.right > 0) {
683 width + mOutsets.left + mOutsets.right, mode);
723 protected void onLayout(boolean changed, int left, int top, int right, in argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp370 // an array of the right size -- this might happen with extensions
416 // an array of the right size -- this might happen with extensions
1192 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1195 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1198 (GLfloat)right,
1206 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1209 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1212 (GLfixed)right,
2539 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2542 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloa
1194 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
1208 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2541 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2555 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.cpp370 // an array of the right size -- this might happen with extensions
416 // an array of the right size -- this might happen with extensions
1105 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1108 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1111 (GLfixed)right,
1938 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
1941 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
1944 (GLfixed)right,
2944 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2947 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloa
1107 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
1940 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument
2946 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument
2960 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.java429 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
442 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
444 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom,
450 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG})
452 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
453 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
488 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
504 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom,
509 * Helper for saveLayerAlpha(left, top, right, botto
511 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument
742 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
760 clipRect(float left, float top, float right, float bottom) argument
778 clipRect(int left, int top, int right, int bottom) argument
933 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1130 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1151 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1219 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1246 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
2028 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
2046 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
2064 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2068 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2073 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
2077 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 DOpenGLRenderer.cpp119 float left, float top, float right, float bottom, bool opaque) {
122 left, top, right, bottom, mLightCenter);
124 mTilingClip.set(left, top, right, bottom);
133 discardFramebuffer(mTilingClip.left, mTilingClip.top, mTilingClip.right, mTilingClip.bottom);
140 mTilingClip.right, mTilingClip.bottom, mOpaque);
144 float left, float top, float right, float bottom, bool opaque) {
146 setupFrameState(viewportWidth, viewportHeight, left, top, right, bottom, opaque);
160 void OpenGLRenderer::discardFramebuffer(float left, float top, float right, float bottom) { argument
165 left <= 0.0f && top <= 0.0f && right >= mState.getWidth() && bottom >= mState.getHeight()) {
174 void OpenGLRenderer::clear(float left, float top, float right, floa argument
118 setupFrameState(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument
143 prepareDirty(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument
472 saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument
530 saveLayerDeferred(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
606 createLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument
1022 dirtyLayer(const float left, const float top, const float right, const float bottom, const Matrix4& transform) argument
1031 dirtyLayer(const float left, const float top, const float right, const float bottom) argument
1359 quickRejectSetupScissor(float left, float top, float right, float bottom, const SkPaint* paint) argument
1519 float right = FLT_MIN; local
1630 drawPatch(const SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry, float left, float top, float right, float bottom, const SkPaint* paint) argument
1801 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* p) argument
1866 drawOval(float left, float top, float right, float bottom, const SkPaint* p) argument
1889 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) argument
1921 drawRect(float left, float top, float right, float bottom, const SkPaint* p) argument
2070 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument
2391 float right = FLT_MIN; local
2431 drawColorRect(float left, float top, float right, float bottom, const SkPaint* paint, bool ignoreTransform) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java460 * @param right Right position.
463 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
642 void postLayoutSurface(final int left, final int top, final int right, argument
647 mSessionCallback.onLayoutSurface(mSession, left, top, right, bottom);
999 public void onLayoutSurface(int left, int top, int right, int bottom, int seq) {
1006 record.postLayoutSurface(left, top, right, bottom);
/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

Completed in 4219 milliseconds

<<111213