Home
last modified time | relevance | path

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

12345678

/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/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java94 when(plugin.getView()).thenReturn(pluginView); in onPluginConnected_showPluginClock()
99 assertThat(plugin.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showPluginClock()
131 when(plugin1.getView()).thenReturn(new TextClock(getContext())); in onPluginConnected_showSecondPluginClock()
135 when(plugin2.getView()).thenReturn(new TextClock(getContext())); in onPluginConnected_showSecondPluginClock()
138 assertThat(plugin2.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showSecondPluginClock()
139 assertThat(plugin1.getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
157 when(plugin.getView()).thenReturn(pluginView); in onPluginDisconnected_showDefaultClock()
164 assertThat(plugin.getView().getParent()).isNull(); in onPluginDisconnected_showDefaultClock()
200 when(plugin1.getView()).thenReturn(new TextClock(getContext())); in onPluginDisconnected_secondOfTwoDisconnected()
204 when(plugin2.getView()).thenReturn(new TextClock(getContext())); in onPluginDisconnected_secondOfTwoDisconnected()
[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/core/java/com/android/internal/widget/
DMessagingGroup.java192 View view = messagingMessage.getView(); in removeMessage()
217 mMessageContainer.removeView(message.getView()); in recycle()
400 ViewGroup.LayoutParams layoutParams = message.getView().getLayoutParams(); in setMessages()
403 message.getView().setLayoutParams( in setMessages()
406 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages()
412 if (textMessageIndex != mMessageContainer.indexOfChild(message.getView())) { in setMessages()
413 mMessageContainer.removeView(message.getView()); in setMessages()
414 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages()
422 mImageContainer.addView(isolatedMessage.getView()); in setMessages()
444 ViewParent parent = message.getView().getParent(); in removeFromParentIfDifferent()
[all …]
DMessagingMessage.java127 getGroup().performRemoveAnimation(getView(), () -> setIsHidingAnimated(false)); in hideAnimated()
138 default View getView() { in getView() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java193 setEditLocation(getView()); in onConfigurationChanged()
363 getView().setTranslationY( in setQsExpansion()
414 if (!mQsExpanded && getView().getTranslationY() != 0) { in animateHeaderSlidingIn()
417 getView().getViewTreeObserver().addOnPreDrawListener(mStartHeaderSlidingIn); in animateHeaderSlidingIn()
424 if (getView().getY() == -mHeader.getHeight()) { in animateHeaderSlidingOut()
428 getView().animate().y(-mHeader.getHeight()) in animateHeaderSlidingOut()
435 if (getView() != null) { in animateHeaderSlidingOut()
438 getView().animate().setListener(null); in animateHeaderSlidingOut()
474 return getView().getHeight(); in getDesiredHeight()
480 return panelHeight + getView().getPaddingBottom(); in getDesiredHeight()
[all …]
DQSAnimator.java83 qs.getView().addOnLayoutChangeListener(this); in QSAnimator()
192 int height = mQs.getView() != null ? mQs.getView().getMeasuredHeight() : 0; in updateAnimators()
193 int width = mQs.getView() != null ? mQs.getView().getMeasuredWidth() : 0; in updateAnimators()
205 View view = mQs.getView(); in updateAnimators()
291 .addFloat(mQsPanel.getFooter().getView(), "alpha", 0, 1).build(); in updateAnimators()
293 mAllViews.add(mQsPanel.getFooter().getView()); in updateAnimators()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java89 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableNone()
91 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.clock) in testDisableNone()
104 assertEquals(View.INVISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableSystemInfo()
109 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableSystemInfo()
138 assertEquals(View.GONE, mFragment.getView().findViewById(R.id.clock).getVisibility()); in testDisableClock()
142 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.clock).getVisibility()); in testDisableClock()
/frameworks/base/core/java/android/view/
DGestureExclusionTracker.java46 final View v = info.getView(); in updateRectsForView()
119 public View getView() { in getView() method in GestureExclusionTracker.GestureExclusionViewInfo
124 final View excludedView = getView(); in update()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarQSFragment.java91 getView().setVisibility(View.INVISIBLE); in hideImmediately()
97 getView().setVisibility(headerTranslation == 0 ? View.VISIBLE : View.INVISIBLE); in setQsExpansion()
122 return getView().getHeight(); in getQsMinExpansionHeight()
127 return getView().getHeight(); in getDesiredHeight()
/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/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/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()
DViewLayersActivity.java107 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ViewLayersActivity.SimpleListAdapter
108 TextView v = (TextView) super.getView(position, convertView, parent); in getView()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DAnalogClockControllerTest.java59 ViewGroup smallClockFrame = (ViewGroup) mClockController.getView(); in setDarkAmount_AOD()
69 ViewGroup smallClock = (ViewGroup) mClockController.getView(); in setColorPalette_setDigitalClock()
DBubbleClockControllerTest.java58 ViewGroup smallClockFrame = (ViewGroup) mClockController.getView(); in setDarkAmount_AOD()
68 ViewGroup smallClock = (ViewGroup) mClockController.getView(); in setColorPalette_setDigitalClock()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsLayout.java113 v = mAdapter.getView(i, null, separatedView); in onUpdateList()
115 v = mAdapter.getView(i, null, listView); in onUpdateList()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java110 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in FakeAdapter
114 Pair<View, Boolean> pair = AdapterHelper.getView(item, null, parent, mCallback, in getView()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DViewProvider.java20 View getView(); in getView() method
DFragmentBase.java31 View getView(); in getView() method

12345678