Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java90 when(mSmallClock.getView()).thenReturn(new TextView(getContext())); in setUp()
91 when(mLargeClock.getView()).thenReturn(new TextView(getContext())); in setUp()
140 assertEquals(mClock.getSmallClock().getView().getParent(), mSmallClockFrame); in onPluginConnected_showClock()
141 assertEquals(mClock.getLargeClock().getView().getParent(), mLargeClockFrame); in onPluginConnected_showClock()
152 when(smallClock.getView()).thenReturn(new TextView(getContext())); in onPluginConnected_showSecondPluginClock()
153 when(largeClock.getView()).thenReturn(new TextView(getContext())); in onPluginConnected_showSecondPluginClock()
158 assertThat(otherClock.getSmallClock().getView().getParent()).isEqualTo(mSmallClockFrame); in onPluginConnected_showSecondPluginClock()
159 assertThat(otherClock.getLargeClock().getView().getParent()).isEqualTo(mLargeClockFrame); in onPluginConnected_showSecondPluginClock()
160 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
161 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsLayoutTest.java93 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/
DIconMixin.java60 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/
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()
DControlsTest.java31 public CustomControlView getView() { in getView() method in ControlsTest
68 getView().createControls(getActivity(), (int)Math.round(controlCount)); in initUnits()
DFillRateOpenGLTest.java58 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/
DOverlayWindowTest.kt97 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/
DQSFragment.java247 mContainer = mQSContainerImplController.getView(); in onViewCreated()
389 setEditLocation(getView()); in onConfigurationChanged()
402 if (getView() instanceof QSContainerImpl) { in setFancyClipping()
403 ((QSContainerImpl) getView()).setFancyClipping(leftInset, top, rightInset, bottom, in setFancyClipping()
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()
784 left + getView().getMeasuredWidth(), in updateQsBounds()
812 if (getView().getY() == -mHeader.getHeight()) { in animateHeaderSlidingOut()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/stylus/
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()
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()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingGroup.java267 View view = messagingMessage.getView(); in removeMessage()
291 mMessageContainer.removeView(message.getView()); in recycle()
517 ViewGroup.LayoutParams layoutParams = message.getView().getLayoutParams(); in setMessages()
520 message.getView().setLayoutParams( in setMessages()
523 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages()
529 if (textMessageIndex != mMessageContainer.indexOfChild(message.getView())) { in setMessages()
530 mMessageContainer.removeView(message.getView()); in setMessages()
531 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages()
540 mImageContainer.addView(isolatedMessage.getView()); in setMessages()
565 ViewParent parent = message.getView().getParent(); in removeFromParentIfDifferent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DOverlayWindow.kt44 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/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
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()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
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()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DInflatingListActivity.java55 public View getView(int position, View convertView, ViewGroup parent) { in createListAdapter()
57 return super.getView(position, null, parent); in createListAdapter()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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()
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()
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()
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()
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()
/frameworks/base/core/java/android/view/
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()
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java100 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/packages/SystemUI/src/com/android/systemui/smartspace/dagger/
DSmartspaceViewComponent.kt46 fun getView(): BcSmartspaceDataPlugin.SmartspaceView in create() method
64 ?: plugin.getView(parent) in create()
/frameworks/rs/tests/java_api/RSUnitTests/gui/com/android/rs/unittest/
DRSListActivity.java42 public View getView(int position, View convertView, ViewGroup parent) { in onCreate()
43 View view = super.getView(position, convertView, parent); in onCreate()

1234567891011