Searched defs:left (Results 276 - 300 of 334) sorted by relevance

<<11121314

/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java103 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
H A DBindingExpressionParser.java380 public ExpressionContext left; field in class:BindingExpressionParser.AndOrOpContext
475 public ExpressionContext left; field in class:BindingExpressionParser.TernaryOpContext
501 public ExpressionContext left; field in class:BindingExpressionParser.ComparisonOpContext
546 public ExpressionContext left; field in class:BindingExpressionParser.MathOpContext
571 public ExpressionContext left; field in class:BindingExpressionParser.QuestionQuestionOpContext
596 public ExpressionContext left; field in class:BindingExpressionParser.BitShiftOpContext
643 public ExpressionContext left; field in class:BindingExpressionParser.BinaryOpContext
808 ((MathOpContext)_localctx).left = _prevctx;
828 ((MathOpContext)_localctx).left = _prevctx;
848 ((BitShiftOpContext)_localctx).left
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp408 // the origin being in the bottom-left corner. Here we flip to the
409 // convention that the rest of the system uses (top-left corner) by
430 int left = rect.left; local
437 Rect flippedRect{top, width - right, bottom, width - left};
444 width - left, height - top};
450 Rect flippedRect{height - bottom, left, local
456 Rect flippedRect{left, top, right, bottom};
884 realRect.left, realRect.top, realRect.right, realRect.bottom);
1091 // specified with a bottom-left origi
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp55 EGLint left, EGLint top, EGLint width, EGLint height);
254 : left(0), top(0), right(w), bottom(h) { }
256 : left(l), top(t), right(r), bottom(b) { }
258 left = max(left, r.left);
265 return (left>=right || top>=bottom);
269 what, left, top, right-left, bottom-top);
272 int32_t left; member in struct:android::egl_window_surface_v2_t::Rect
2182 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp482 float insetL = winCrop.left * xScale;
487 crop.left += insetL;
574 activeCrop.left, activeCrop.bottom));
592 "[%d, %d, %d, %d]: %s (%d)", mName.string(), transformedFrame.left,
601 sourceCrop.left, sourceCrop.top, sourceCrop.right,
804 auto error = mHwcLayers[hwcId].layer->setCursorPosition(position.left,
807 "to (%d, %d): %s (%d)", mName.string(), position.left,
1019 float left = float(win.left) / float(s.active.w); local
1027 texCoords[0] = vec2(left, 1.
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java302 centerX = Math.min(Math.max(mTranslateRect.left + 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;
636 matrix.postTranslate(-mCropRect.left, -mCropRect.top);
722 protected void onLayout(boolean changed, int left, in argument
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java1931 int left, right;
1934 left = selectedTitle.getLeft();
1940 left = (int) (mSelectionOffset * nextTitle.getLeft() +
1941 (1.0f - mSelectionOffset) * left);
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
1955 mIndicatorLeft = left;
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java328 * Scroll indicator direction for the left 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.
2023 * @param left The left coordinate of the rectangle to invalidate.
2028 public static void postInvalidateOnAnimation(View view, int left, in argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSlidingPaneLayout.java56 * of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a
130 * Drawable used to draw the shadow between panes to support RTL (right to left language).
366 final int left;
371 left = panel.getLeft();
376 left = right = top = bottom = 0;
394 if (clampedChildLeft >= left && clampedChildTop >= top &&
918 * itself is open revealing the left pane, or if all content fits without sliding.
1008 mTmpRect.left = Math.max(mTmpRect.left, mSlideableView.getRight());
1093 * @deprecated Renamed to {@link #setShadowDrawableLeft(Drawable d)} to support LTR (left t
1342 onViewPositionChanged(View changedView, int left, int top, int dx, int dy) argument
1375 clampViewPositionHorizontal(View child, int left, int dx) argument
[all...]
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,
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);
890 final int left = mTemp[0] - mTemp2[0];
891 rect.set(left, top, left + view.getWidth(), top + view.getHeight());
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/righ
[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
828 int paddingLeft = padding.left;
832 paddingLeft = Math.max(paddingLeft, inset.left);
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);
1096 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left);
1159 thumbInitialLeft += padding.left;
[all...]
H A DToolbar.java1150 * @param contentInsetLeft Content inset for the toolbar's left edge
1166 * Gets the left content inset for this toolbar.
1172 * @return The left content inset for this toolbar
1324 * Gets the content inset that will be used on the left side of the bar in the current
1327 * @return the current content inset left in pixels
1707 int left = paddingLeft;
1721 left = layoutChildLeft(mNavButtonView, left, collapsingMargins,
1731 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin
1935 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java440 private static boolean hitTest(View child, float x, float y, float left, float top) { argument
441 return x >= left &&
442 x <= left + child.getWidth() &&
726 final int leftDiff = curX - mTmpRect.left - mRecyclerView.getPaddingLeft();
781 final int left = Math.round(mSelectedStartX + mDx) - margin;
783 final int right = left + viewHolder.itemView.getWidth() + 2 * margin;
785 final int centerX = (left + right) / 2;
795 || other.getRight() < left || other.getLeft() > right) {
1317 * @param x The <code>left</code> offset of the View that is being dragged. This value
1462 flags &= ~masked; //remove left / righ
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp286 // if the mediaserver has crashed, battery stats could be left
381 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n",
2022 void MediaPlayerService::AudioOutput::setVolume(float left, float right) argument
2024 ALOGV("setVolume(%f, %f)", left, right);
2026 mLeftVolume = left;
2029 mTrack->setVolume(left, right);
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java407 mX = rect.left - view.getLeft();
447 * Returns the left edge of the window, in pixels, relative to the left
754 * Returns the left edge of this view, in pixels, relative to the left edge of its parent.
1073 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { argument
1074 mNode.mX = left;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java473 * Flag indicating the motion event intersected the left 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).
677 * indicates that the major axis of contact is oriented to the left.
678 * The full range is from -PI/2 radians (finger pointing fully left) to PI/2 radians
683 * -PI/2 radians is pointing left, -PI or PI radians is pointing down, and PI/2 radians
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).
835 * <li>For a joystick, reports the absolute position of the left trigger control.
884 * The value is normalized to a range from -1.0 (turn left) t
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.java76 /** Flag for having an icon on the left side of the title bar */
126 * Flag for requesting a decoration-free window that is dismissed by swiping from the left.
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
/frameworks/base/core/java/android/widget/
H A DGridLayout.java202 * {@link android.view.View#getLeft() left},
921 int left = getPaddingLeft() + insets.left;
928 int x = left + xs[i];
937 drawLine(canvas, left, y, right, y, paint);
1103 This method is then left with the simpler task of applying margins, gravity
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, to
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);
2653 private AccessibilityNodeInfo createAccessibilityNodeInfoForNumberPicker(int left, int top, argument
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
H A DRemoteViews.java779 // been disabled from the outset, but was left open by accident.
820 rect.left = (int) (pos[0] * appScale + 0.5f);
1810 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument
1812 this.left = left;
1820 left = parcel.readInt();
1829 dest.writeInt(left);
1839 target.setPadding(left, top, right, bottom);
1846 int left, top, right, bottom; field in class:RemoteViews.ViewPaddingAction
2468 * @param left Th
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.java572 drawingBounds.left += frameOffsets.left;
578 drawingBounds.left += framePadding.left - frameOffsets.left;
597 mMenuBackground.setBounds(drawingBounds.left,
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, in argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp1192 /* 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) {
1197 (GLfloat)left,
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) {
1211 (GLfixed)left,
2539 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2542 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2544 (GLfloat)left,
2553 /* void glOrthox ( GLfixed left, GLfixe
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.cpp1105 /* 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) {
1110 (GLfixed)left,
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) {
1943 (GLfixed)left,
2944 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
2947 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
2949 (GLfloat)left,
2958 /* void glOrthofOES ( GLfloat left, GLfloa
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...]

Completed in 2613 milliseconds

<<11121314