Home
last modified time | relevance | path

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

123456789

/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/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java118 when(plugin.getView()).thenReturn(pluginView); in onPluginConnected_showPluginClock()
123 assertThat(plugin.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showPluginClock()
155 when(plugin1.getView()).thenReturn(new TextClock(getContext())); in onPluginConnected_showSecondPluginClock()
159 when(plugin2.getView()).thenReturn(new TextClock(getContext())); in onPluginConnected_showSecondPluginClock()
162 assertThat(plugin2.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showSecondPluginClock()
163 assertThat(plugin1.getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
181 when(plugin.getView()).thenReturn(pluginView); in onPluginDisconnected_showDefaultClock()
188 assertThat(plugin.getView().getParent()).isNull(); in onPluginDisconnected_showDefaultClock()
224 when(plugin1.getView()).thenReturn(new TextClock(getContext())); in onPluginDisconnected_secondOfTwoDisconnected()
228 when(plugin2.getView()).thenReturn(new TextClock(getContext())); in onPluginDisconnected_secondOfTwoDisconnected()
[all …]
/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/src/com/android/systemui/qs/
DQSFragment.java222 setEditLocation(getView()); in onConfigurationChanged()
388 getView().setTranslationY( in setQsExpansion()
393 int currentHeight = getView().getHeight(); in setQsExpansion()
502 if (!mQsExpanded && getView().getTranslationY() != 0) { in animateHeaderSlidingIn()
505 getView().getViewTreeObserver().addOnPreDrawListener(mStartHeaderSlidingIn); in animateHeaderSlidingIn()
512 if (getView().getY() == -mHeader.getHeight()) { in animateHeaderSlidingOut()
516 getView().animate().y(-mHeader.getHeight()) in animateHeaderSlidingOut()
523 if (getView() != null) { in animateHeaderSlidingOut()
526 getView().animate().setListener(null); in animateHeaderSlidingOut()
563 return getView().getHeight(); in getDesiredHeight()
[all …]
DQSAnimator.java86 qs.getView().addOnLayoutChangeListener(this); in QSAnimator()
202 int height = mQs.getView() != null ? mQs.getView().getMeasuredHeight() : 0; in updateAnimators()
203 int width = mQs.getView() != null ? mQs.getView().getMeasuredWidth() : 0; in updateAnimators()
215 View view = mQs.getView(); in updateAnimators()
306 builder.addFloat(mQsPanel.getSecurityFooter().getView(), "alpha", 0, 1); in updateAnimators()
313 mAllViews.add(mQsPanel.getSecurityFooter().getView()); in updateAnimators()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java86 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableNone()
88 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.clock) in testDisableNone()
101 assertEquals(View.INVISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableSystemInfo()
106 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableSystemInfo()
135 assertEquals(View.GONE, mFragment.getView().findViewById(R.id.clock).getVisibility()); in testDisableClock()
139 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.clock).getVisibility()); in testDisableClock()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingGroup.java258 View view = messagingMessage.getView(); in removeMessage()
283 mMessageContainer.removeView(message.getView()); in recycle()
507 ViewGroup.LayoutParams layoutParams = message.getView().getLayoutParams(); in setMessages()
510 message.getView().setLayoutParams( in setMessages()
513 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages()
519 if (textMessageIndex != mMessageContainer.indexOfChild(message.getView())) { in setMessages()
520 mMessageContainer.removeView(message.getView()); in setMessages()
521 mMessageContainer.addView(message.getView(), textMessageIndex); in setMessages()
530 mImageContainer.addView(isolatedMessage.getView()); in setMessages()
555 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/stackdivider/
DDividerImeController.java102 private DividerView getView() { in getView() method in DividerImeController
103 return mSplits.mDivider.getView(); in getView()
133 final boolean splitIsVisible = !getView().isHidden(); in updateDimTargets()
150 final boolean splitIsVisible = !getView().isHidden(); in onImeStartPositioning()
246 final DividerView view = getView(); in updateImeAdjustState()
284 final DividerView view = getView(); in onProgress()
301 final DividerView view = getView(); in setDimsHidden()
402 final DividerView view = getView(); in resume()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DViewRootImplCompat.java48 public View getView() { in getView() method in ViewRootImplCompat
49 return mViewRoot == null ? null : mViewRoot.getView(); in getView()
/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/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()
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()
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()
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/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelBar.java102 if (mPanel != null) mPanel.getView().setImportantForAccessibility(important); in setBouncerShowing()
114 mPanel.getView().setVisibility(shouldPanelBeVisible() ? VISIBLE : INVISIBLE); in updateVisibility()
155 return mPanel == null || mPanel.getView().dispatchTouchEvent(event); in onTouchEvent()
/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()

123456789