Home
last modified time | relevance | path

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

1234

/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.java250 : alignment_value - tab.getLeft()) : 0; in hide()
310 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
659 int left = slider.tab.getLeft();
752 int deltaX = (int) x - handle.getLeft() - (handle.getWidth() / 2);
DSwipeDismissLayout.java398 if (x + scrollX >= child.getLeft() && x + scrollX < child.getRight() &&
400 canScroll(child, true, dx, x + scrollX - child.getLeft(),
/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewTransform.java49 mTmpRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom());
75 rect.set(tv.getLeft(), tv.getTop(), tv.getRight(), tv.getBottom()); in fillIn()
130 return ((int) rect.left != v.getLeft()) || ((int) rect.right != v.getRight()) || in hasRectChangedFrom()
176 Rect fromViewRect = new Rect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom()); in applyToTaskView()
/frameworks/base/core/java/android/widget/
DGallery.java428 final int childLeft = selChild.getLeft(); in trackMotionScroll()
496 return view.getLeft() + view.getWidth() / 2; in getCenterOfView()
532 if (child.getLeft() <= galleryRight) { in detachOffScreenChildren()
601 if (selView.getLeft() <= galleryCenter && selView.getRight() >= galleryCenter) { in setSelectionToCenterChild()
612 if (child.getLeft() <= galleryCenter && child.getRight() >= galleryCenter) { in setSelectionToCenterChild()
618 int childClosestEdgeDistance = Math.min(Math.abs(child.getLeft() - galleryCenter), in setSelectionToCenterChild()
734 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()
747 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftRtl()
763 curRightEdge = prevIterationView.getLeft() - itemSpacing; in fillToGalleryLeftLtr()
779 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/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DSectionHeaderView.java108 mClearAllButton.getLeft(), in disallowSingleClick()
110 mClearAllButton.getLeft() + mClearAllButton.getWidth(), in disallowSingleClick()
/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/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.h266 bool setX(float value) { return setTranslationX(value - getLeft()); } in setX()
269 float getX() const { return getLeft() + getTranslationX(); } in getX()
363 int getLeft() const { return mPrimitiveFields.mLeft; } in getLeft() function
DRenderNode.cpp417 if (properties().getLeft() != 0 || properties().getTop() != 0) { in applyViewPropertyTransforms()
418 matrix.translate(properties().getLeft(), properties().getTop()); in applyViewPropertyTransforms()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DUniqueIds.java70 if (mButton.getLeft() == 0) { in ToggleScene()
/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp271 if (properties.getLeft() != 0 || properties.getTop() != 0) { in setViewProperties()
272 canvas->translate(properties.getLeft(), properties.getTop()); in setViewProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DMinimizedDockShadow.java48 updatePaint(getLeft(), getTop(), getRight(), getBottom()); in setDockSide()
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupTest.java110 outRegion.set(view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); in getUnobscuredTouchableRegion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java107 right = getLeft() - mSignalIndicatorToIconFrameSpacing; in layoutIndicator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java80 mDrawable.setBounds(getLeft(), getTop(), getRight(), getBottom()); in setDrawable()
/frameworks/base/core/tests/coretests/src/android/widget/
DAbsSeekBarTest.java118 return center(new Rect(view.getLeft(), view.getTop(), view.getRight(), view.getBottom())); in center()

1234