Home
last modified time | relevance | path

Searched refs:leftEdge (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipSnapAlgorithm.java131 int leftEdge = stackBounds.left; in snapRectToClosestEdge() local
133 leftEdge = movementBounds.left; in snapRectToClosestEdge()
135 leftEdge = movementBounds.right; in snapRectToClosestEdge()
138 leftEdge)); in snapRectToClosestEdge()
144 final int fromLeft = Math.abs(leftEdge - movementBounds.left); in snapRectToClosestEdge()
146 final int fromRight = Math.abs(movementBounds.right - leftEdge); in snapRectToClosestEdge()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java426 final float leftEdge = isStash in movetoTarget() local
435 final float xEndValue = velocityX < 0 ? leftEdge : rightEdge; in movetoTarget()
524 final float leftEdge = stashType == STASH_TYPE_LEFT
529 tmpBounds.set((int) leftEdge,
531 (int) (leftEdge + mPipBoundsState.getBounds().width()),
DPipResizeGestureHandler.java368 final int leftEdge = bounds.left; in snapToMovementBoundsEdge() local
371 final int fromLeft = Math.abs(leftEdge - movementBounds.left); in snapToMovementBoundsEdge()
372 final int fromRight = Math.abs(movementBounds.right - leftEdge); in snapToMovementBoundsEdge()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMotionHelper.java418 final float leftEdge = isStash in movetoTarget() local
427 final float xEndValue = velocityX < 0 ? leftEdge : rightEdge; in movetoTarget()
516 final float leftEdge = stashType == STASH_TYPE_LEFT
521 tmpBounds.set((int) leftEdge,
523 (int) (leftEdge + mPipBoundsState.getBounds().width()),
DPipResizeGestureHandler.java376 final int leftEdge = bounds.left; in snapToMovementBoundsEdge() local
379 final int fromLeft = Math.abs(leftEdge - movementBounds.left); in snapToMovementBoundsEdge()
380 final int fromRight = Math.abs(movementBounds.right - leftEdge); in snapToMovementBoundsEdge()
/frameworks/base/core/java/android/widget/
DMagnifier.java316 float leftEdge = 0; in show() local
317 if (leftEdge > rampX0) { in show()
320 leftEdge = sourceCenterX - (sourceCenterX - leftEdge) / mZoom; in show()
321 } else if (leftEdge > x0) { in show()
324 leftEdge = x0 + rampPre - (rampX0 - leftEdge) * rampPre / mRamp; in show()
326 int leftBound = Math.min((int) leftEdge, mView.getWidth()); in show()
DEditor.java6417 int leftEdge = mTextViewLocation[0] + mTextView.getPaddingLeft();
6418 nearEdge = x < leftEdge + mTextViewEdgeSlop;
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java104 float leftEdge = centerX - imageWidth / 2f * scale; in getEdgesHelper() local
109 edgesOut.left = leftEdge; in getEdgesHelper()
/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp438 ParaWidth leftEdge = candidates[i].postBreak - width; in computeBreaks() local
447 leftEdge = candidates[i].postBreak - width; in computeBreaks()
455 float delta = candidates[j].preBreak - leftEdge; in computeBreaks()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java1069 final int leftEdge = getPaddingLeft();
1071 final int widthAvailable = rightEdge - leftEdge;
1109 final int left = leftEdge + (widthAvailable - childWidth) / 2;
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java470 boolean leftEdge = (edgeFlags & EDGE_LEFT) > 0; in isInside()
474 if ((x >= this.x || (leftEdge && x <= this.x + this.width)) in isInside()