Home
last modified time | relevance | path

Searched refs:mHolder (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DLayoutPreferenceTest.java40 private PreferenceViewHolder mHolder; field in LayoutPreferenceTest
46 mHolder = PreferenceViewHolder.createInstanceForTests(LayoutInflater.from(mContext) in setUp()
55 mPreference.onBindViewHolder(mHolder); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
57 mHolder.itemView.callOnClick(); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
60 assertThat(mHolder.itemView.isFocusable()).isTrue(); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
61 assertThat(mHolder.itemView.isClickable()).isTrue(); in setOnPreferenceClickListener_layoutPreferenceShouldListenClickEvent()
67 mPreference.onBindViewHolder(mHolder); in setNonSelectable_viewShouldNotBeSelectable()
69 assertThat(mHolder.itemView.isFocusable()).isFalse(); in setNonSelectable_viewShouldNotBeSelectable()
70 assertThat(mHolder.itemView.isClickable()).isFalse(); in setNonSelectable_viewShouldNotBeSelectable()
78 mPreference.onBindViewHolder(mHolder); in disableSomeView_shouldMaintainStateAfterBind()
DBarChartPreferenceTest.java54 private PreferenceViewHolder mHolder; field in BarChartPreferenceTest
62 mHolder = PreferenceViewHolder.createInstanceForTests(mBarChartView); in setUp()
89 mPreference.onBindViewHolder(mHolder); in initializeBarChart_titleSet_shouldSetTitleInChartView()
104 mPreference.onBindViewHolder(mHolder); in initializeBarChart_noBarViewSet_shouldShowTitleAndEmptyView()
125 mPreference.onBindViewHolder(mHolder); in initializeBarChart_detailsSet_shouldShowBarChartDetailsView()
143 mPreference.onBindViewHolder(mHolder); in initializeBarChart_detailsNotSet_shouldHideBarChartDetailsView()
162 mPreference.onBindViewHolder(mHolder); in initializeBarChart_clickListenerSet_shouldSetClickListenerOnDetailsView()
176 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_oneBarViewInfoSet_shouldShowOneBarView()
195 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_twoBarViewInfosSet_shouldShowTwoBarViews()
216 mPreference.onBindViewHolder(mHolder); in setBarViewInfos_threeBarViewInfosSet_shouldShowThreeBarViews()
[all …]
DActionButtonsPreferenceTest.java46 private PreferenceViewHolder mHolder; field in ActionButtonsPreferenceTest
52 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
63 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setTitle_shouldShowButtonByDefault()
82 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setIcon_shouldShowButtonByDefault()
96 mPref.onBindViewHolder(mHolder); in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
115 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetTitle_shouldNotShowButton()
134 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibleIsGoneAndSetIcon_shouldNotShowButton()
153 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
169 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setVisibility_shouldUpdateButtonVisibility()
188 mPref.onBindViewHolder(mHolder); in onBindViewHolder_setEnabled_shouldEnableButton()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconList.java105 private StatusBarIconHolder mHolder; field in StatusBarIconList.Slot
121 mHolder = iconHolder; in Slot()
131 return mHolder; in getHolderForTag()
148 mHolder = holder; in addHolder()
156 mHolder = null; in removeForTag()
167 mHolder = null; in clear()
201 if (mHolder != null) return true; in hasIconsInSlot()
208 int num = mHolder == null ? 0 : 1; in numberOfIcons()
246 if (mHolder != null) { in getHolderListInViewOrder()
247 holders.add(mHolder); in getHolderListInViewOrder()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/apppreference/
DAppPreferenceTest.java40 private PreferenceViewHolder mHolder; field in AppPreferenceTest
46 mHolder = PreferenceViewHolder.createInstanceForTests(mRootView); in setUp()
53 mPref.onBindViewHolder(mHolder); in setProgress_showProgress()
55 assertThat(mHolder.findViewById(android.R.id.progress).getVisibility()) in setProgress_showProgress()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java196 private SurfaceHolder mHolder; field in LocalRenderer
654 mHolder = holder; in isHolderReady()
704 SurfaceHolder holder = mHolder; in cleanUpPlayer()
705 mHolder = null; in cleanUpPlayer()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DSurfaceAndTextureViews.java123 SurfaceHolder mHolder = null; field in SurfaceAndTextureViews.SimpleSurfaceView
/frameworks/base/core/java/android/app/
DActivityThread.java670 final ContentProviderHolder mHolder; field in ActivityThread.ProviderClientRecord
677 mHolder = holder; in ProviderClientRecord()
6939 Slog.w(TAG, "Content provider " + pcr.mHolder.info.name in installProviderAuthoritiesLocked()
7061 retHolder = pr.mHolder; in installProvider()