Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java85 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNone()
89 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()
100 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableSystemInfo()
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()
118 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNotifications()
134 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableClock()
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()
[all …]
DNavigationBarFragmentTest.java116 mFragment = instantiate(mSysuiContext, NavigationBarFragment.class.getName(), null); in setupFragment()
121 .replace(NAV_BAR_VIEW_ID, mFragment) in setupFragment()
163 NavigationBarFragment navigationBarFragment = (NavigationBarFragment) mFragment; in testHomeLongPress()
173 NavigationBarFragment defaultNavBar = (NavigationBarFragment) mFragment; in testSetImeWindowStatusWhenImeSwitchOnDisplay()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DFooterPreferenceMixinCompatTest.java46 private PreferenceFragmentCompat mFragment; field in FooterPreferenceMixinCompatTest
59 when(mFragment.getPreferenceManager()).thenReturn(mock(PreferenceManager.class)); in setUp()
60 when(mFragment.getPreferenceManager().getContext()) in setUp()
62 mMixin = new FooterPreferenceMixinCompat(mFragment, mLifecycle); in setUp()
72 when(mFragment.getPreferenceScreen()).thenReturn(mScreen); in createFooter_screenAvailable_canAttachToScreen()
92 when(mFragment.getPreferenceScreen()).thenReturn(mScreen); in createFooterTwice_screenAvailable_replaceOldFooter()
DFooterPreferenceMixinTest.java46 private PreferenceFragment mFragment; field in FooterPreferenceMixinTest
59 when(mFragment.getPreferenceManager()).thenReturn(mock(PreferenceManager.class)); in setUp()
60 when(mFragment.getPreferenceManager().getContext()) in setUp()
62 mMixin = new FooterPreferenceMixin(mFragment, mLifecycle); in setUp()
72 when(mFragment.getPreferenceScreen()).thenReturn(mScreen); in createFooter_screenAvailable_canAttachToScreen()
92 when(mFragment.getPreferenceScreen()).thenReturn(mScreen); in createFooterTwice_screenAvailable_replaceOldFooter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DCustomEditTextPreference.java42 private CustomPreferenceDialogFragment mFragment; field in CustomEditTextPreference
62 if (mFragment != null) { in getEditText()
63 final Dialog dialog = mFragment.getDialog(); in getEditText()
76 return mFragment != null ? mFragment.getDialog() : null; in getDialog()
99 mFragment = fragment; in setFragment()
DCustomEditTextPreferenceCompat.java36 private CustomPreferenceDialogFragment mFragment; field in CustomEditTextPreferenceCompat
56 if (mFragment != null) { in getEditText()
57 final Dialog dialog = mFragment.getDialog(); in getEditText()
70 return mFragment != null ? mFragment.getDialog() : null; in getDialog()
93 mFragment = fragment; in setFragment()
DCustomDialogPreferenceCompat.java31 private CustomPreferenceDialogFragment mFragment; field in CustomDialogPreferenceCompat
56 return mFragment != null ? mFragment.getDialog() : null; in getDialog()
77 mFragment = fragment; in setFragment()
DCustomDialogPreference.java37 private CustomPreferenceDialogFragment mFragment; field in CustomDialogPreference
62 return mFragment != null ? mFragment.getDialog() : null; in getDialog()
83 mFragment = fragment; in setFragment()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DFooterPreferenceMixinCompat.java30 private final PreferenceFragmentCompat mFragment; field in FooterPreferenceMixinCompat
34 mFragment = fragment; in FooterPreferenceMixinCompat()
49 final PreferenceScreen screen = mFragment.getPreferenceScreen(); in createFooterPreference()
65 return mFragment.getPreferenceManager().getContext(); in getPrefContext()
DFooterPreferenceMixin.java36 private final PreferenceFragment mFragment; field in FooterPreferenceMixin
40 mFragment = fragment; in FooterPreferenceMixin()
55 final PreferenceScreen screen = mFragment.getPreferenceScreen(); in createFooterPreference()
71 return mFragment.getPreferenceManager().getContext(); in getPrefContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java53 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testCreateLifecycle()
65 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testResumeLifecycle()
77 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testStartLifecycle()
89 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testStopLifecycle()
103 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testPauseLifecycle()
117 LifecycleFragment fragment = (LifecycleFragment) mFragment; in testDestroyLifecycle()
/frameworks/base/tests/testables/src/android/testing/
DBaseFragmentTest.java58 protected Fragment mFragment; field in BaseFragmentTest
81 mFragment = instantiate(mContext, mCls.getName(), null); in setupFragment()
85 .replace(VIEW_ID, mFragment) in setupFragment()
170 mFragment = mFragments.getFragmentManager().findFragmentById(VIEW_ID); in recreateFragment()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java94 QSFragment qs = (QSFragment) mFragment; in testListening()
120 QSFragment qs = (QSFragment) mFragment; in testSaveState()
132 qs = (QSFragment) mFragment; in testSaveState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManager.java42 private final PreferenceFragment mFragment; field in InputMethodAndSubtypeEnablerManager
54 mFragment = fragment; in InputMethodAndSubtypeEnablerManager()
212 mFragment, mFragment.getContext().getContentResolver(), in setAutoSelectionSubtypesEnabled()
DInputMethodAndSubtypeEnablerManagerCompat.java43 private final PreferenceFragmentCompat mFragment; field in InputMethodAndSubtypeEnablerManagerCompat
55 mFragment = fragment; in InputMethodAndSubtypeEnablerManagerCompat()
213 mFragment, mFragment.getContext().getContentResolver(), in setAutoSelectionSubtypesEnabled()
/frameworks/rs/
DrsScriptC.cpp134 if (mEnviroment.mFragment.get()) { in setupGLState()
135 rsc->setProgramFragment(mEnviroment.mFragment.get()); in setupGLState()
361 mEnviroment.mFragment.set(rsc->getDefaultProgramFragment()); in runCompiler()
411 mEnviroment.mFragment.clear(); in runCompiler()
DrsContext.h101 ObjectBaseRef<ProgramFragment> mFragment;
138 ProgramFragment * getProgramFragment() {return mFragment.get();} in getProgramFragment()
323 ObjectBaseRef<ProgramFragment> mFragment; variable
DrsContext.cpp74 mFragment.set(con->getProgramFragment()); in PushState()
86 mRsc->setProgramFragment(mFragment.get()); in ~PushState()
186 mFragment->setup(this, &mStateFragment); in setupCheck()
370 mFragment.clear(); in destroyWorkerThreadResources()
639 mFragment.set(mStateFragment.mDefault); in setProgramFragment()
641 mFragment.set(pf); in setProgramFragment()
DrsScript.h110 ObjectBaseRef<ProgramFragment> mFragment; member
/frameworks/rs/driver/
DrsdShaderCache.h48 mFragment = pf; in setActiveFragment()
69 RsdShader *mFragment; variable
DrsdShaderCache.cpp100 mFragment->setup(rsc, this); in setup()
114 RsdShader *frag = mFragment; in link()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DEnableZenModeDialogTest.java57 private Fragment mFragment; field in EnableZenModeDialogTest
72 when(mFragment.getContext()).thenReturn(mShadowContext); in setup()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java80 private PreferenceFragment mFragment; field in PreferenceManager
214 mFragment = fragment; in setFragment()
223 return mFragment; in getFragment()
DPreference.java137 private String mFragment; field in Preference
292 mFragment = a.getString(attr); in Preference()
437 mFragment = fragment; in setFragment()
446 return mFragment; in getFragment()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54265 Landroid/preference/Preference;->mFragment:Ljava/lang/String;