/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 88 when(mSmallClock.getView()).thenReturn(new TextView(getContext())); in setUp() 89 when(mLargeClock.getView()).thenReturn(new TextView(getContext())); in setUp() 137 assertEquals(mClock.getSmallClock().getView().getParent(), mSmallClockFrame); in onPluginConnected_showClock() 138 assertEquals(mClock.getLargeClock().getView().getParent(), mLargeClockFrame); in onPluginConnected_showClock() 149 when(smallClock.getView()).thenReturn(new TextView(getContext())); in onPluginConnected_showSecondPluginClock() 150 when(largeClock.getView()).thenReturn(new TextView(getContext())); in onPluginConnected_showSecondPluginClock() 155 assertThat(otherClock.getSmallClock().getView().getParent()).isEqualTo(mSmallClockFrame); in onPluginConnected_showSecondPluginClock() 156 assertThat(otherClock.getLargeClock().getView().getParent()).isEqualTo(mLargeClockFrame); in onPluginConnected_showSecondPluginClock() 157 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock() 158 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsLayoutTest.java | 93 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GlobalActionsLayoutTest.TestAdapter 178 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() [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | IconMixin.java | 60 final ImageView iconView = getView(); in setIcon() 73 final ImageView iconView = getView(); in setIcon() 84 final ImageView iconView = getView(); in getIcon() 90 final ImageView iconView = getView(); in setContentDescription() 98 final ImageView iconView = getView(); in getContentDescription() 103 protected ImageView getView() { in getView() method in IconMixin
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | OpenGLTest.java | 33 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()
|
D | ControlsTest.java | 31 public CustomControlView getView() { in getView() method in ControlsTest 68 getView().createControls(getActivity(), (int)Math.round(controlCount)); in initUnits()
|
D | FillRateOpenGLTest.java | 58 final CustomOpenGLView view = getView(); in initUnits() 71 renderPatches.add(new RenderPatchAnimation(renderPatch, getView().getRenderRatio())); in initUnits()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | OverlayWindowTest.kt | 97 Assert.assertEquals(view1FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_1)) in testAddProvider() 100 Assert.assertEquals(view2FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_2)) in testAddProvider() 111 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1)) in testRemoveView() 126 overlay.getView(TEST_DECOR_VIEW_ID_1)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithoutIds() 129 overlay.getView(TEST_DECOR_VIEW_ID_2)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithoutIds() 146 overlay.getView(TEST_DECOR_VIEW_ID_1)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithIds() 149 overlay.getView(TEST_DECOR_VIEW_ID_2)!!, 1, Surface.ROTATION_90, Color.BLACK, null in testOnReloadResAndMeasureWithIds() 160 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWithNullParameter() 162 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_2)) in testRemoveRedundantViewsWithNullParameter() 178 Assert.assertNotNull(overlay.getView(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWith2Providers() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFragment.java | 244 mContainer = mQSContainerImplController.getView(); in onViewCreated() 385 setEditLocation(getView()); in onConfigurationChanged() 397 if (getView() instanceof QSContainerImpl) { in setFancyClipping() 398 ((QSContainerImpl) getView()).setFancyClipping(top, bottom, cornerRadius, visible); in setFancyClipping() 600 View view = getView(); in setOverScrollAmount() 629 getView().setTranslationY( in setQsExpansion() 634 int currentHeight = getView().getHeight(); in setQsExpansion() 706 final View view = getView(); in setAlphaAnimationProgress() 779 left + getView().getMeasuredWidth(), in updateQsBounds() 807 if (getView().getY() == -mHeader.getHeight()) { in animateHeaderSlidingOut() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingGroup.java | 267 View view = messagingMessage.getView(); in removeMessage() 291 mMessageContainer.removeView(message.getView()); in recycle() 515 ViewGroup.LayoutParams layoutParams = message.getView().getLayoutParams(); in setMessages() 518 message.getView().setLayoutParams( in setMessages() 521 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages() 527 if (textMessageIndex != mMessageContainer.indexOfChild(message.getView())) { in setMessages() 528 mMessageContainer.removeView(message.getView()); in setMessages() 529 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages() 538 mImageContainer.addView(isolatedMessage.getView()); in setMessages() 563 ViewParent parent = message.getView().getParent(); in removeFromParentIfDifferent() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/stylus/ |
D | HandwritingAreaTrackerTest.java | 72 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()
|
D | HandwritableViewInfoTest.java | 49 assertThat(handwritableViewInfo.getView()).isEqualTo(view); in constructorTest() 61 assertThat(handwritableViewInfo.getView()).isEqualTo(view); in update() 77 assertThat(handwritableViewInfo.getView()).isEqualTo(view); in update_viewDisableAutoHandwriting()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | OverlayWindow.kt | 44 fun getView(@IdRes id: Int): View? { in <lambda>() method in com.android.systemui.decor.OverlayWindow 50 val view = getView(id) in <lambda>() 73 newProviders.all { getView(it.viewId) != null } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | SystemUIToast.java | 140 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()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | InflatingListActivity.java | 55 public View getView(int position, View convertView, ViewGroup parent) { in createListAdapter() 57 return super.getView(position, null, parent); in createListAdapter()
|
/frameworks/base/core/java/android/view/ |
D | HandwritingInitiator.java | 299 final View view = viewInfo.getView(); in findBestCandidateView() 302 return viewInfo.getView(); in findBestCandidateView() 411 final View curView = handwritableViewInfo.getView(); in updateHandwritingAreaForView() 457 public View getView() { in getView() method in HandwritingInitiator.HandwritableViewInfo 479 final View view = getView(); in update()
|
D | ViewRootRectTracker.java | 57 final View v = info.getView(); in updateRectsForView() 169 public View getView() { in getView() method in ViewRootRectTracker.ViewInfo 174 final View view = getView(); in update()
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
D | CompositeCursorAdapterTest.java | 100 adapter.getView(i, null, null); in testGetViewNoEmptySections() 126 adapter.getView(i, null, null); in testGetViewWithHeadersNoEmptySections() 190 adapter.getView(i, null, null); in testGetViewWithHiddenEmptySections() 214 adapter.getView(i, null, null); in testGetViewWithShownEmptySections()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewLayersActivity3.java | 54 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()
|
D | ViewLayersActivity2.java | 57 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()
|
D | ViewLayersActivity4.java | 61 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()
|
D | ListActivity.java | 112 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()
|
D | TransparentListActivity.java | 110 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/ |
D | CollapsedStatusBarFragmentTest.java | 312 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_noOngoingCall_chipHidden() 324 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_hasOngoingCall_chipDisplayedAndNotificationIconsHidden() 339 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_hasOngoingCallButNotificationIconsDisabled_chipHidden() 352 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_hasOngoingCallButAlsoHun_chipHidden() 364 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_ongoingCallEnded_chipHidden() 372 mFragment.getView().findViewById(R.id.ongoing_call_chip).getVisibility()); in disable_ongoingCallEnded_chipHidden() 582 return mFragment.getView().findViewById(R.id.user_switcher_container); in getUserChipView() 586 return mFragment.getView().findViewById(R.id.clock); in getClockView() 590 return mFragment.getView().findViewById(R.id.status_bar_end_side_content); in getEndSideContentView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | AnalogClockControllerTest.java | 59 ViewGroup smallClockFrame = (ViewGroup) mClockController.getView(); in setDarkAmount_AOD() 69 ViewGroup smallClock = (ViewGroup) mClockController.getView(); in setColorPalette_setDigitalClock()
|
D | BubbleClockControllerTest.java | 58 ViewGroup smallClockFrame = (ViewGroup) mClockController.getView(); in setDarkAmount_AOD() 68 ViewGroup smallClock = (ViewGroup) mClockController.getView(); in setColorPalette_setDigitalClock()
|