Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSection.java256 ExpandableView firstView = getFirstVisibleChild(); in updateBounds() local
257 if (firstView != null) { in updateBounds()
259 int finalTranslationY = (int) Math.ceil(ViewState.getFinalTranslationY(firstView)); in updateBounds()
267 newTop = (int) Math.ceil(firstView.getTranslationY()); in updateBounds()
270 if (firstView.showingPulsing()) { in updateBounds()
273 + ExpandableViewState.getFinalActualHeight(firstView)); in updateBounds()
275 mBounds.left += Math.max(firstView.getTranslation(), 0); in updateBounds()
276 mBounds.right += Math.min(firstView.getTranslation(), 0); in updateBounds()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
H A DGlobalActionsGridLayoutTest.java137 View firstView = new View(mContext, null); in testUpdateSeparatedItemSize() local
141 separatedView.addView(firstView); in testUpdateSeparatedItemSize()
145 ViewGroup.LayoutParams childParams = firstView.getLayoutParams(); in testUpdateSeparatedItemSize()
153 childParams = firstView.getLayoutParams(); in testUpdateSeparatedItemSize()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DStackAnimationControllerTest.java211 final View firstView = mLayout.getChildAt(0); in testChildRemoved() local
212 mLayout.removeView(firstView); in testChildRemoved()
216 assertEquals(-1, mLayout.indexOfChild(firstView)); in testChildRemoved()
/aosp12/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java960 RemoteViews firstView = factory.getViewAt(0); in updateTemporaryMetaData() local
961 if (firstView != null) { in updateTemporaryMetaData()
962 loadingTemplate.loadFirstViewHeight(firstView, mContext, in updateTemporaryMetaData()
1285 RemoteViews firstView, Context context, Executor executor) { in loadFirstViewHeight() argument
1287 firstView.applyAsync(context, new RemoteViewsFrameLayout(context, null), executor, in loadFirstViewHeight()
H A DAbsListView.java4877 final View firstView = getChildAt(0);
4878 mMotionViewOriginalTop = firstView.getTop();
7803 final View firstView = getChildAt(0); in run()
7804 if (firstView == null) { in run()
7807 final int firstViewTop = firstView.getTop(); in run()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java914 final View firstView = target.getChildAt(0); in canTargetScrollVertically() local
915 if (firstView.getTop() >= 0) { in canTargetScrollVertically()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterView.java2582 View firstView = getChildAt(firstIndex);
2586 center = getCenter(firstView);
2589 center = mOrientation == HORIZONTAL ? firstView.getLeft() : firstView.getTop();
2592 center = mOrientation == HORIZONTAL ? firstView.getRight() : firstView.getBottom();
2596 center -= ((ChildViewHolder) firstView.getTag(