Home
last modified time | relevance | path

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

/frameworks/support/wear/tests/src/android/support/wear/widget/
DBoxInsetLayoutTest.java90 int parentLeft = boxParent.getLeft(); in testCase1() local
99 .check(screenLeft(equalTo(parentLeft))) in testCase1()
108 .check(screenLeft(equalTo(parentLeft))) in testCase1()
154 int parentLeft = boxParent.getLeft(); in testCase2() local
164 .check(screenLeft(is(equalTo(parentLeft + desiredPadding)))) in testCase2()
173 .check(screenLeft(equalTo(parentLeft + desiredPadding))) in testCase2()
180 .check(screenLeft(is(equalTo(parentLeft + desiredPadding)))) in testCase2()
189 .check(screenLeft(equalTo(parentLeft + desiredPadding))) in testCase2()
197 .check(screenLeft(is(equalTo(parentLeft + desiredPadding)))) in testCase2()
199 .check(screenRight(is(equalTo(parentLeft + desiredPadding + child3.getWidth())))) in testCase2()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java37 final int parentLeft, parentTop; field in AssistVisualizer.TextEntry
47 TextEntry(AssistStructure.ViewNode node, int parentLeft, int parentTop, Matrix matrix) { in TextEntry() argument
48 int left = parentLeft+node.getLeft(); in TextEntry()
51 this.parentLeft = parentLeft; in TextEntry()
119 + " in " + te.parentLeft + "," + te.parentTop in logText()
141 int parentLeft, int parentTop) {
156 int left = parentLeft + root.getLeft();
163 TextEntry te = new TextEntry(root, parentLeft, parentTop, matrix);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java100 final int parentLeft, parentRight; in onLayout() local
106 parentLeft = getPaddingLeft() + (int)(pivotX - pivotX / mLayoutScaleX + 0.5f); in onLayout()
110 parentLeft = getPaddingLeft(); in onLayout()
146 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 in onLayout()
154 childLeft = parentLeft + lp.leftMargin; in onLayout()
/frameworks/support/design/src/android/support/design/internal/
DBaselineLayout.java86 final int parentLeft = getPaddingLeft(); in onLayout() local
88 final int parentContentWidth = parentRight - parentLeft; in onLayout()
100 final int childLeft = parentLeft + (parentContentWidth - width) / 2; in onLayout()
/frameworks/support/wear/src/android/support/wear/widget/
DBoxInsetLayout.java234 final int parentLeft = getPaddingLeft() + mForegroundPadding.left; in onLayout() local
267 childLeft = parentLeft + leftChildMargin; in onLayout()
271 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 in onLayout()
279 childLeft = parentLeft + leftChildMargin; in onLayout()
/frameworks/base/core/java/android/widget/
DFrameLayout.java267 final int parentLeft = getPaddingLeftWithForeground(); in layoutChildren() local
295 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 + in layoutChildren()
305 childLeft = parentLeft + lp.leftMargin; in layoutChildren()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java1259 final int parentLeft = parent.getPaddingLeft(); in isViewPartiallyInBound() local
1269 if (childLeft >= parentRight || childRight <= parentLeft in isViewPartiallyInBound()
1287 final int parentLeft = parent.getPaddingLeft(); in isViewFullyInBound() local
1297 if (childLeft >= parentLeft && childRight <= parentRight in isViewFullyInBound()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarOverlayLayout.java426 final int parentLeft = getPaddingLeft();
440 int childLeft = parentLeft + lp.leftMargin;
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java476 final int parentLeft = getPaddingLeft();
490 int childLeft = parentLeft + lp.leftMargin;
DRecyclerView.java8932 final int parentLeft = getPaddingLeft(); in requestChildRectangleOnScreen() local
8941 final int offScreenLeft = Math.min(0, childLeft - parentLeft); in requestChildRectangleOnScreen()
8955 : Math.min(childLeft - parentLeft, offScreenRight); in requestChildRectangleOnScreen()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java9244 final int parentLeft = getPaddingLeft(); in getChildRectangleOnScreenScrollAmount() local
9253 final int offScreenLeft = Math.min(0, childLeft - parentLeft); in getChildRectangleOnScreenScrollAmount()
9267 : Math.min(childLeft - parentLeft, offScreenRight); in getChildRectangleOnScreenScrollAmount()
9379 final int parentLeft = getPaddingLeft(); in isFocusedChildVisibleAfterScrolling() local
9386 if (bounds.left - dx >= parentRight || bounds.right - dx <= parentLeft in isFocusedChildVisibleAfterScrolling()