Home
last modified time | relevance | path

Searched refs:getView (Results 1 – 25 of 239) sorted by relevance

12345678910

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockSwitchTest.java90 when(mSmallClock.getView()).thenReturn(new TextView(getContext())); in setUp()
91 when(mLargeClock.getView()).thenReturn(new TextView(getContext())); in setUp()
152 when(smallClock.getView()).thenReturn(new TextView(getContext())); in onPluginConnected_showSecondPluginClock()
153 when(largeClock.getView()).thenReturn(new TextView(getContext())); in onPluginConnected_showSecondPluginClock()
160 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
161 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
172 when(smallClock.getView()).thenReturn(new TextView(getContext())); in onPluginDisconnected_secondOfTwoDisconnected()
173 when(largeClock.getView()).thenReturn(new TextView(getContext())); in onPluginDisconnected_secondOfTwoDisconnected()
179 assertThat(otherClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
181 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
H A DGlobalActionsLayoutTest.java178 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_oneSeparatedOneList()
181 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_oneSeparatedOneList()
200 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_twoSeparatedItems()
202 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_twoSeparatedItems()
225 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_twoSeparatedItems_reverse()
228 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_twoSeparatedItems_reverse()
250 doReturn(view1).when(mAdapter).getView(eq(0), any(), any()); in testOnUpdateList_fourInList()
253 doReturn(view2).when(mAdapter).getView(eq(1), any(), any()); in testOnUpdateList_fourInList()
256 doReturn(view3).when(mAdapter).getView(eq(2), any(), any()); in testOnUpdateList_fourInList()
259 doReturn(view4).when(mAdapter).getView(eq(3), any(), any()); in testOnUpdateList_fourInList()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
H A DOverlayWindowTest.kt97 Assert.assertEquals(view1FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_1))
100 Assert.assertEquals(view2FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_2))
111 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1))
126 overlay.getView(TEST_DECOR_VIEW_ID_1)!!, 1, Surface.ROTATION_90, Color.BLACK, null
129 overlay.getView(TEST_DECOR_VIEW_ID_2)!!, 1, Surface.ROTATION_90, Color.BLACK, null
146 overlay.getView(TEST_DECOR_VIEW_ID_1)!!, 1, Surface.ROTATION_90, Color.BLACK, null
149 overlay.getView(TEST_DECOR_VIEW_ID_2)!!, 1, Surface.ROTATION_90, Color.BLACK, null
160 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1))
162 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_2))
178 Assert.assertNotNull(overlay.getView(TEST_DECOR_VIEW_ID_1))
[all …]
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/
H A DOpenGLTest.java33 public CustomOpenGLView getView() { in getView() method in OpenGLTest
68 getView().waitRenderReady(); in initProbePass()
69 getView().setFrameDrawer(new ParamFrameDrawer(probe * getUnitScale())); in initProbePass()
74 getView().setFrameDrawer(null); in freeProbePass()
H A DControlsTest.java31 public CustomControlView getView() { in getView() method in ControlsTest
68 getView().createControls(getActivity(), (int)Math.round(controlCount)); in initUnits()
H A DFillRateOpenGLTest.java58 final CustomOpenGLView view = getView(); in initUnits()
71 renderPatches.add(new RenderPatchAnimation(renderPatch, getView().getRenderRatio())); in initUnits()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSFragment.java389 setEditLocation(getView()); in onConfigurationChanged()
606 View view = getView(); in setOverScrollAmount()
635 getView().setTranslationY( in setQsExpansion()
640 int currentHeight = getView().getHeight(); in setQsExpansion()
712 final View view = getView(); in setAlphaAnimationProgress()
823 if (getView() != null) { in animateHeaderSlidingOut()
871 return getView().getHeight(); in getDesiredHeight()
873 return getView().getMeasuredHeight(); in getDesiredHeight()
907 getView().animate().cancel(); in hideImmediately()
916 getView().animate()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingGroup.java267 View view = messagingMessage.getView(); in removeMessage()
291 mMessageContainer.removeView(message.getView()); in recycle()
520 message.getView().setLayoutParams( in setMessages()
523 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages()
530 mMessageContainer.removeView(message.getView()); in setMessages()
540 mImageContainer.addView(isolatedMessage.getView()); in setMessages()
565 ViewParent parent = message.getView().getParent(); in removeFromParentIfDifferent()
568 ((ViewGroup) parent).removeView(message.getView()); in removeFromParentIfDifferent()
584 if (!message.getView().isShown()) { in onLayout()
587 MessagingPropertyAnimator.fadeIn(message.getView()); in onLayout()
[all …]
H A DMessagingMessage.java135 getGroup().performRemoveAnimation(getView(), () -> setIsHidingAnimated(false)); in hideAnimated()
146 default View getView() { in getView() method
/aosp14/frameworks/base/core/tests/coretests/src/android/view/stylus/
H A DHandwritingAreaTrackerTest.java72 assertThat(viewInfos.get(0).getView()).isEqualTo(view); in updateHandwritingAreaForView_singleView()
89 assertThat(viewInfos.get(0).getView()).isEqualTo(view1); in updateHandwritingAreaForView_multipleViews()
92 assertThat(viewInfos.get(1).getView()).isEqualTo(view2); in updateHandwritingAreaForView_multipleViews()
119 assertThat(viewInfos.get(0).getView()).isEqualTo(view2); in updateHandwritingAreaForView_afterDisableAutoHandwriting()
146 assertThat(viewInfos.get(0).getView()).isEqualTo(view2); in updateHandwritingAreaForView_removesInactiveView()
H A DHandwritableViewInfoTest.java49 assertThat(handwritableViewInfo.getView()).isEqualTo(view); in constructorTest()
61 assertThat(handwritableViewInfo.getView()).isEqualTo(view); in update()
78 assertThat(handwritableViewInfo.getView()).isEqualTo(view); in update_viewDisableAutoHandwriting()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DHandleMenu.java146 final View appInfoPillView = mAppInfoPill.mWindowViewHost.getView(); in setupHandleMenu()
157 final View windowingPillView = mWindowingPill.mWindowViewHost.getView(); in setupHandleMenu()
187 final View moreActionsPillView = mMoreActionsPill.mWindowViewHost.getView(); in setupHandleMenu()
255 final View appInfoPill = mAppInfoPill.mWindowViewHost.getView(); in checkClickEvent()
275 mAppInfoPill.mWindowViewHost.getView(), in isValidMenuInput()
281 mWindowingPill.mWindowViewHost.getView(), in isValidMenuInput()
286 mMoreActionsPill.mWindowViewHost.getView(), in isValidMenuInput()
303 return mAppInfoPill.mWindowViewHost.getView().isLaidOut(); in viewsLaidOut()
H A DResizeVeil.java100 final ImageView appIcon = mViewHost.getView().findViewById(R.id.veil_application_icon); in setupResizeVeil()
122 mViewHost.getView().setBackgroundColor(mContext.getColor(backgroundColorId)); in showVeil()
142 mViewHost.getView().getViewRootImpl().applyTransactionOnDraw(t); in showVeil()
181 mViewHost.getView().getViewRootImpl().applyTransactionOnDraw(t); in updateResizeVeil()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
H A DOverlayWindow.kt44 fun getView(@IdRes id: Int): View? { regex
50 val view = getView(id)
73 newProviders.all { getView(it.viewId) != null }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DSystemUIToast.java140 public View getView() { in getView() method in SystemUIToast
168 if (isPluginToast() && mPluginToast.getView() != null) { in inflateToastView()
169 return mPluginToast.getView(); in inflateToastView()
234 return ToastDefaultAnimation.Companion.toastIn(getView()); in createInAnimator()
241 return ToastDefaultAnimation.Companion.toastOut(getView()); in createOutAnimator()
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DInflatingListActivity.java55 public View getView(int position, View convertView, ViewGroup parent) { in createListAdapter()
57 return super.getView(position, null, parent); in createListAdapter()
/aosp14/frameworks/base/core/java/android/view/
H A DViewRootRectTracker.java57 final View v = info.getView(); in updateRectsForView()
169 public View getView() { in getView() method in ViewRootRectTracker.ViewInfo
174 final View view = getView(); in update()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity3.java54 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ViewLayersActivity3.SimpleListAdapter
55 TextView v = (TextView) super.getView(position, convertView, parent); in getView()
H A DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ViewLayersActivity2.SimpleListAdapter
58 TextView v = (TextView) super.getView(position, convertView, parent); in getView()
H A DViewLayersActivity4.java61 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ViewLayersActivity4.SimpleListAdapter
62 TextView v = (TextView) super.getView(position, convertView, parent); in getView()
H A DListActivity.java112 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ListActivity.SimpleListAdapter
113 TextView v = (TextView) super.getView(position, convertView, parent); in getView()
H A DTransparentListActivity.java110 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in TransparentListActivity.SimpleListAdapter
111 TextView v = (TextView) super.getView(position, convertView, parent); in getView()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
H A DCollapsedStatusBarFragmentTest.java434 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_noOngoingCall_chipHidden()
446 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_hasOngoingCall_chipDisplayedAndNotificationIconsHidden()
460 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_hasOngoingCallButNotificationIconsDisabled_chipHidden()
473 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_hasOngoingCallButAlsoHun_chipHidden()
485 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_ongoingCallEnded_chipHidden()
492 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_ongoingCallEnded_chipHidden()
499 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_ongoingCallEnded_chipHidden()
777 return mFragment.getView().findViewById(R.id.user_switcher_container); in getUserChipView()
781 return mFragment.getView().findViewById(R.id.clock); in getClockView()
785 return mFragment.getView().findViewById(R.id.status_bar_end_side_content); in getEndSideContentView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/dagger/
H A DSmartspaceViewComponent.kt46 fun getView(): BcSmartspaceDataPlugin.SmartspaceView regex
64 ?: plugin.getView(parent)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DScreenRecordingAdapter.java94 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ScreenRecordingAdapter
103 return super.getView(position, convertView, parent); in getView()

12345678910