Home
last modified time | relevance | path

Searched refs:getLeft (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DMathExpr.java33 return join(getLeft().getUniqueKey(), mOp, getRight().getUniqueKey()); in computeUniqueKey()
40 if (getLeft().getResolvedType().isString() in resolveType()
45 return modelAnalyzer.findCommonParentOf(getLeft().getResolvedType(), in resolveType()
58 public Expr getLeft() { in getLeft() method in MathExpr
DBitShiftExpr.java33 return join(getLeft().getUniqueKey(), mOp, getRight().getUniqueKey()); in computeUniqueKey()
38 return getLeft().getResolvedType(); in resolveType()
50 public Expr getLeft() { in getLeft() method in BitShiftExpr
DComparisonExpr.java50 public Expr getLeft() { in getLeft() method in ComparisonExpr
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java46 int left = parentLeft+node.getLeft(); in TextEntry()
94 matrix.setTranslate(windowNode.getLeft(), windowNode.getTop()); in setAssistStructure()
96 buildTextRects(windowNode.getRootViewNode(), 0, windowNode.getLeft(), in setAssistStructure()
149 matrix.preTranslate(root.getLeft(), root.getTop());
150 int left = parentLeft + root.getLeft();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DColorOverlayDimmer.java150 float dx = v.getLeft() + v.getTranslationX(); in drawColorOverlay()
156 c.drawRect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom(), mPaint); in drawColorOverlay()
158 c.drawRect(v.getLeft() + v.getPaddingLeft(), in drawColorOverlay()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DCodeGenUtil.kt27 app("", it.getLeft().toCode()) in toCode()
62 app("", it.getLeft().toCode()) in toCode()
70 app("", it.getLeft().toCode()) in toCode()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java248 if (x < mCurrText.getLeft() - mTabPadding) { in onTouchEvent()
265 final int left = mCurrText.getLeft() - mTabPadding; in onDraw()
283 int left = mCurrText.getLeft() - mTabPadding; in updateTextPositions()
292 left = mCurrText.getLeft() - mTabPadding; in updateTextPositions()
/frameworks/support/design/src/android/support/design/widget/
DViewOffsetHelper.java48 mLayoutLeft = mView.getLeft(); in onViewLayout()
56 ViewCompat.offsetLeftAndRight(mView, mOffsetLeft - (mView.getLeft() - mLayoutLeft)); in updateOffsets()
DSwipeDismissBehavior.java206 mOriginalCapturedViewLeft = child.getLeft();
224 targetLeft = child.getLeft() < mOriginalCapturedViewLeft
258 final int distance = child.getLeft() - mOriginalCapturedViewLeft;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContainer.java96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
114 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in setStackedBackground()
303 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in onLayout()
307 mBackground.setBounds(mContextView.getLeft(), mContextView.getTop(), in onLayout()
316 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(), in onLayout()
DRtlSpacingHelper.java40 public int getLeft() { in getLeft() method in RtlSpacingHelper
/frameworks/base/core/java/android/widget/
DGallery.java409 final int childLeft = selChild.getLeft(); in trackMotionScroll()
475 return view.getLeft() + view.getWidth() / 2; in getCenterOfView()
511 if (child.getLeft() <= galleryRight) { in detachOffScreenChildren()
580 if (selView.getLeft() <= galleryCenter && selView.getRight() >= galleryCenter) { in setSelectionToCenterChild()
591 if (child.getLeft() <= galleryCenter && child.getRight() >= galleryCenter) { in setSelectionToCenterChild()
597 int childClosestEdgeDistance = Math.min(Math.abs(child.getLeft() - galleryCenter), in setSelectionToCenterChild()
712 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()
725 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()
741 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftLtr()
757 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftLtr()
[all …]
DSlidingDrawer.java324 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset, in dispatchDraw()
409 final int left = mHandle.getLeft(); in onInterceptTouchEvent()
466 final int left = mHandle.getLeft(); in onTouchEvent()
621 handle.offsetLeftAndRight(mTopOffset - handle.getLeft()); in moveHandle()
625 mHandleWidth - handle.getLeft()); in moveHandle()
628 final int left = handle.getLeft(); in moveHandle()
808 animateClose(mVertical ? mHandle.getTop() : mHandle.getLeft()); in animateClose()
830 animateOpen(mVertical ? mHandle.getTop() : mHandle.getLeft()); in animateOpen()
DRtlSpacingHelper.java38 public int getLeft() { in getLeft() method in RtlSpacingHelper
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListButtonsDiagonalAcrossItemsTest.java65 < mCenterButton.getLeft()); in testPreconditions()
69 < mRightButton.getLeft()); in testPreconditions()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java584 final int startLeft = mCapturedView.getLeft(); in forceSettleCapturedViewAt()
702 mScroller.fling(mCapturedView.getLeft(), mCapturedView.getTop(), in flingCapturedView()
726 final int dx = x - mCapturedView.getLeft(); in continueSettling()
926 if (x + scrollX >= child.getLeft() && x + scrollX < child.getRight() && in canScroll()
928 canScroll(child, true, dx, dy, x + scrollX - child.getLeft(), in canScroll()
1025 final int oldLeft = toCapture.getLeft(); in shouldInterceptTouchEvent()
1150 dragTo(mCapturedView.getLeft() + idx, mCapturedView.getTop() + idy, idx, idy); in processTouchEvent()
1401 final int oldLeft = mCapturedView.getLeft(); in dragTo()
1446 return x >= view.getLeft() && in isViewUnder()
1464 if (x >= child.getLeft() && x < child.getRight() && in findTopChildUnder()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisible.java61 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight()); in onCreate()
77 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight()); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
114 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in setStackedBackground()
326 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in onLayout()
330 mBackground.setBounds(mActionContextView.getLeft(), mActionContextView.getTop(), in onLayout()
339 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(), in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHeaderView.java201 mAlarmStatus.setX(mDateGroup.getLeft() + mDateCollapsed.getRight()); in onLayout()
579 target.avatarX = mMultiUserSwitch.getLeft() + mMultiUserAvatar.getLeft(); in captureLayoutValues()
582 target.batteryX = mSystemIconsSuperContainer.getLeft() in captureLayoutValues()
585 target.batteryX = mSystemIconsSuperContainer.getLeft() in captureLayoutValues()
586 + mSystemIconsContainer.getLeft(); in captureLayoutValues()
593 : mMultiUserSwitch.getLeft() - mSettingsContainer.getLeft(); in captureLayoutValues()
622 mMultiUserAvatar.setX(values.avatarX - mMultiUserSwitch.getLeft()); in applyLayoutValues()
627 mSystemIconsSuperContainer.setX(values.batteryX - mSystemIconsContainer.getLeft()); in applyLayoutValues()
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java60 return lhs.getLeft() - rhs.getLeft();
212 v.getRight() : v.getLeft(); in sortByRows()
246 views[i].getLeft() - views[i - 1].getRight()); in verifyMargin()
270 alignedLocation = sorted[i][0].getLeft(); in verifyBeginAligned()
272 assertEquals(alignedLocation, sorted[i][0].getLeft()); in verifyBeginAligned()
293 edges[i] = sorted[i][0].getLeft(); in getEndEdges()
332 return (v.getLeft() + v.getRight())/2; in getCenterX()
576 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testBug22209986()
586 mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft()); in testBug22209986()
615 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testScrollAndRemove()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java54 "x", 0, rightList.getLeft()); in onCreate()
60 "x", rightList.getLeft(), 0); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java117 mDragger.smoothSlideViewTo(mDynamicContent, mDynamicContent.getLeft(), in openOptions()
126 mDragger.smoothSlideViewTo(mDynamicContent, mDynamicContent.getLeft(), in closeOptions()
430 mDragger.smoothSlideViewTo(child, child.getLeft(), closedOptionsY); in onViewReleased()
432 mDragger.smoothSlideViewTo(child, child.getLeft(), openedOptionsY); in onViewReleased()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java70 pt[0] += v0.getLeft(); in mapCoordInDescendentToSelf()
105 pt[0] -= next.getLeft(); in mapCoordInSelfToDescendent()
/frameworks/base/libs/hwui/
DRenderProperties.h292 return setTranslationX(value - getLeft()); in setX()
297 return getLeft() + getTranslationX(); in getX()
420 float getLeft() const { in getLeft() function
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java491 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft(); in getSelectedDxDy()
636 mSelectedStartX = selected.itemView.getLeft(); in select()
777 || other.getRight() < left || other.getLeft() > right) { in findSwapTargets()
783 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2); in findSwapTargets()
818 && Math.abs(x - viewHolder.itemView.getLeft()) in moveIfNecessary()
1695 final int dx = curX - selected.itemView.getLeft(); in chooseDropTarget()
1711 int diff = target.itemView.getLeft() - curX; in chooseDropTarget()
1712 if (diff > 0 && target.itemView.getLeft() < selected.itemView.getLeft()) { in chooseDropTarget()

1234