Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java67 final int rootOffsetX = root.getLeft(); in draw()
92 left = Math.min(left, rootOffsetX + child.getLeft()); in draw()
111 && v.getLeft() <= 0 && v.getRight() >= left) { in draw()
116 && v.getLeft() <= right && v.getRight() >= width) { in draw()
121 && v.getLeft() <= 0 && v.getRight() >= width) { in draw()
126 && v.getLeft() <= 0 && v.getRight() >= width) { in draw()
178 return view1.getLeft() <= 0 in viewsCoverEntireWidth()
179 && view1.getRight() >= view2.getLeft() in viewsCoverEntireWidth()
DActionBarContainer.java96 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in setPrimaryBackground()
114 mStackedBackground.setBounds(mTabContainer.getLeft(), mTabContainer.getTop(), in setStackedBackground()
339 mBackground.setBounds(mActionBarView.getLeft(), mActionBarView.getTop(), in onLayout()
343 mBackground.setBounds(mActionContextView.getLeft(), mActionContextView.getTop(), in onLayout()
352 mStackedBackground.setBounds(tabContainer.getLeft(), tabContainer.getTop(), in onLayout()
DSlidingTab.java247 : alignment_value - tab.getLeft()) : 0; in hide()
307 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
656 int left = slider.tab.getLeft();
749 int deltaX = (int) x - handle.getLeft() - (handle.getWidth() / 2);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java48 int left = parentLeft+node.getLeft(); in TextEntry()
98 matrix.setTranslate(windowNode.getLeft(), windowNode.getTop()); in setAssistStructure()
100 buildTextRects(windowNode.getRootViewNode(), 0, windowNode.getLeft(), in setAssistStructure()
155 matrix.preTranslate(root.getLeft(), root.getTop());
156 int left = parentLeft + root.getLeft();
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListButtonsDiagonalAcrossItemsTest.java65 < mCenterButton.getLeft()); in testPreconditions()
69 < mRightButton.getLeft()); in testPreconditions()
/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/android/widget/
DGallery.java428 final int childLeft = selChild.getLeft(); in trackMotionScroll()
497 return view.getLeft() + view.getWidth() / 2; in getCenterOfView()
533 if (child.getLeft() <= galleryRight) { in detachOffScreenChildren()
602 if (selView.getLeft() <= galleryCenter && selView.getRight() >= galleryCenter) { in setSelectionToCenterChild()
613 if (child.getLeft() <= galleryCenter && child.getRight() >= galleryCenter) { in setSelectionToCenterChild()
619 int childClosestEdgeDistance = Math.min(Math.abs(child.getLeft() - galleryCenter), in setSelectionToCenterChild()
735 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()
748 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()
764 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftLtr()
780 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftLtr()
[all …]
DSlidingDrawer.java327 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset, in dispatchDraw()
412 final int left = mHandle.getLeft(); in onInterceptTouchEvent()
469 final int left = mHandle.getLeft(); in onTouchEvent()
626 handle.offsetLeftAndRight(mTopOffset - handle.getLeft()); in moveHandle()
630 mHandleWidth - handle.getLeft()); in moveHandle()
633 final int left = handle.getLeft(); in moveHandle()
813 animateClose(mVertical ? mHandle.getTop() : mHandle.getLeft(), false); in animateClose()
835 animateOpen(mVertical ? mHandle.getTop() : mHandle.getLeft(), false); in animateOpen()
DRtlSpacingHelper.java38 public int getLeft() { in getLeft() method in RtlSpacingHelper
DFastScroller.java672 maxWidth = adjacent.getLeft(); in measureViewToSide()
689 right = (adjacent == null ? container.right : adjacent.getLeft()) - marginRight; in measureViewToSide()
804 final int left = thumb.getLeft() + (thumb.getWidth() - trackWidth) / 2; in layoutTrack()
1555 final float left = mThumbImage.getLeft() + offset; in isPointInsideX()
1563 return x >= mThumbImage.getLeft() - adjust; in isPointInsideX()
1634 return object.getLeft();
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTiledImageDrawable.java62 canvas.translate(-mTiles.getLeft(), -mTiles.getTop()); in rebuildDisplayListIfNeeded()
66 canvas.translate(tile.getLeft(), tile.getTop()); in rebuildDisplayListIfNeeded()
DScrollCaptureController.java106 public int getLeft() { in getLeft() method in ScrollCaptureController.LongScreenshot
107 return mImageTileSet.getLeft(); in getLeft()
292 Log.d(TAG, "bounds: " + mImageTileSet.getLeft() + "," + mImageTileSet.getTop() in onCaptureResult()
DImageTile.java85 int getLeft() { in getLeft() method in ImageTile
DImageTileSet.java155 int getLeft() { in getLeft() method in ImageTileSet
/frameworks/base/core/java/com/android/internal/view/
DScrollViewCaptureHelper.java134 view.getScrollX() - contentView.getLeft(), in onScrollRequested()
170 contentView.getLeft() - view.getScrollX(), in onScrollRequested()
/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.java118 mDragger.smoothSlideViewTo(mDynamicContent, mDynamicContent.getLeft(), in openOptions()
127 mDragger.smoothSlideViewTo(mDynamicContent, mDynamicContent.getLeft(), in closeOptions()
433 mDragger.smoothSlideViewTo(child, child.getLeft(), closedOptionsY); in onViewReleased()
435 mDragger.smoothSlideViewTo(child, child.getLeft(), openedOptionsY); in onViewReleased()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardCarousel.java240 int cardCenter = (cardView.getLeft() + cardView.getRight()) / 2; in updatePadding()
241 int viewCenter = (getLeft() + getRight()) / 2; in updatePadding()
252 float viewCenter = (view.getRight() + view.getLeft()) / 2f; in updateCardView()
265 : view.getLeft() - mCardMarginPx; in updateCardView()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java502 outPosition[0] = mSelectedStartX + mDx - mSelected.itemView.getLeft(); in getSelectedDxDy()
647 mSelectedStartX = selected.itemView.getLeft(); in select()
788 || other.getRight() < left || other.getLeft() > right) { in findSwapTargets()
794 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2); in findSwapTargets()
829 && Math.abs(x - viewHolder.itemView.getLeft()) in moveIfNecessary()
1754 final int dx = curX - selected.itemView.getLeft(); in chooseDropTarget()
1770 int diff = target.itemView.getLeft() - curX; in chooseDropTarget()
1771 if (diff > 0 && target.itemView.getLeft() < selected.itemView.getLeft()) { in chooseDropTarget()
/frameworks/base/libs/hwui/
DRenderProperties.h281 bool setX(float value) { return setTranslationX(value - getLeft()); } in setX()
284 float getX() const { return getLeft() + getTranslationX(); } in getX()
378 int getLeft() const { return mPrimitiveFields.mLeft; } in getLeft() function
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DUniqueIds.java70 if (mButton.getLeft() == 0) { in ToggleScene()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java59 parent.getLeft(), in getLargeClockRegion()
157 mSmallClockFrame.getLeft(), in updateClockTargetRegions()
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java245 r.left = (int) (view.getLeft() - width / 2.0f); in getRectAroundView()
247 r.left = (int) ((view.getLeft() + view.getRight()) / 2.0f - width / 2.0f); in getRectAroundView()
/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp359 if (properties.getLeft() != 0 || properties.getTop() != 0) { in setViewProperties()
360 canvas->translate(properties.getLeft(), properties.getTop()); in setViewProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java107 right = getLeft() - mSignalIndicatorToIconFrameSpacing; in layoutIndicator()

12345