Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp356 ParaWidth leftEdge = candidates[i].postBreak - width; in computeBreaks() local
365 leftEdge = candidates[i].postBreak - width; in computeBreaks()
373 const float delta = candidates[j].preBreak - leftEdge; in computeBreaks()
/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/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java857 int leftEdge = getPaddingLeft();
879 final int widthAvailable = rightEdge - leftEdge;
880 final int left = leftEdge + (widthAvailable - childWidth) / 2;
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java459 boolean leftEdge = (edgeFlags & EDGE_LEFT) > 0; in isInside()
463 if ((x >= this.x || (leftEdge && x <= this.x + this.width)) in isInside()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java1342 int leftEdge = mGridView.getLayoutManager().findViewByPosition(199).getLeft(); in testContinuousSwapForward() local
1350 assertEquals(leftEdge, mGridView.getLayoutManager().findViewByPosition(199).getLeft()); in testContinuousSwapForward()
1383 int leftEdge = mGridView.getLayoutManager().findViewByPosition(0).getLeft(); in testContinuousSwapBackward() local
1391 assertEquals(leftEdge, mGridView.getLayoutManager().findViewByPosition(0).getLeft()); in testContinuousSwapBackward()
1636 int leftEdge = mGridView.getLayoutManager().findViewByPosition(151).getLeft(); in testSwapAfterScroll() local
1644 assertEquals(leftEdge, mGridView.getLayoutManager().findViewByPosition(151).getLeft()); in testSwapAfterScroll()
2197 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testBug22209986() local
2206 assertEquals(leftEdge, in testBug22209986()
2241 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testScrollAndRemove() local
2250 assertEquals(leftEdge, in testScrollAndRemove()
[all …]
/frameworks/support/drawerlayout/src/main/java/androidx/drawerlayout/widget/
DDrawerLayout.java2240 final boolean leftEdge = mAbsGravity == Gravity.LEFT; in peekDrawer()
2241 if (leftEdge) { in peekDrawer()
2249 if (toCapture != null && ((leftEdge && toCapture.getLeft() < childLeft) in peekDrawer()
2250 || (!leftEdge && toCapture.getLeft() > childLeft)) in peekDrawer()
/frameworks/base/core/java/android/widget/
DEditor.java5539 int leftEdge = mTextViewLocation[0] + mTextView.getPaddingLeft();
5540 nearEdge = x < leftEdge + mTextViewEdgeSlop;