Home
last modified time | relevance | path

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

12

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackFragmentGlueHost.java32 private final PlaybackFragment mFragment; field in PlaybackFragmentGlueHost
35 this.mFragment = fragment; in PlaybackFragmentGlueHost()
40 mFragment.setControlsOverlayAutoHideEnabled(enabled); in setControlsOverlayAutoHideEnabled()
45 return mFragment.isControlsOverlayAutoHideEnabled(); in isControlsOverlayAutoHideEnabled()
50 mFragment.setOnKeyInterceptListener(onKeyListener); in setOnKeyInterceptListener()
56 mFragment.setOnPlaybackItemViewClickedListener(null); in setOnActionClickedListener()
58 mFragment.setOnPlaybackItemViewClickedListener(new OnItemViewClickedListener() { in setOnActionClickedListener()
72 mFragment.setHostCallback(callback); in setHostCallback()
77 mFragment.notifyPlaybackRowChanged(); in notifyPlaybackRowChanged()
82 mFragment.setPlaybackRowPresenter(presenter); in setPlaybackRowPresenter()
[all …]
DPlaybackSupportFragmentGlueHost.java35 private final PlaybackSupportFragment mFragment; field in PlaybackSupportFragmentGlueHost
38 this.mFragment = fragment; in PlaybackSupportFragmentGlueHost()
43 mFragment.setControlsOverlayAutoHideEnabled(enabled); in setControlsOverlayAutoHideEnabled()
48 return mFragment.isControlsOverlayAutoHideEnabled(); in isControlsOverlayAutoHideEnabled()
53 mFragment.setOnKeyInterceptListener(onKeyListener); in setOnKeyInterceptListener()
59 mFragment.setOnPlaybackItemViewClickedListener(null); in setOnActionClickedListener()
61 mFragment.setOnPlaybackItemViewClickedListener(new OnItemViewClickedListener() { in setOnActionClickedListener()
75 mFragment.setHostCallback(callback); in setHostCallback()
80 mFragment.notifyPlaybackRowChanged(); in notifyPlaybackRowChanged()
85 mFragment.setPlaybackRowPresenter(presenter); in setPlaybackRowPresenter()
[all …]
DDetailsFragmentBackgroundController.java110 final DetailsFragment mFragment; field in DetailsFragmentBackgroundController
135 mFragment = fragment; in DetailsFragmentBackgroundController()
152 offset = FragmentUtil.getContext(mFragment).getResources() in enableParallax()
204 FragmentUtil.getContext(mFragment), in enableParallax()
205 mFragment.getParallax(), in enableParallax()
209 mFragment.setBackgroundDrawable(mParallaxDrawable); in enableParallax()
213 mFragment.getParallax(), mParallaxDrawable.getCoverDrawable()); in enableParallax()
298 mFragment.switchToVideo(); in switchToVideo()
305 mFragment.switchToRows(); in switchToRows()
416 return mFragment.findOrCreateVideoFragment(); in findOrCreateVideoFragment()
DDetailsSupportFragmentBackgroundController.java113 final DetailsSupportFragment mFragment; field in DetailsSupportFragmentBackgroundController
138 mFragment = fragment; in DetailsSupportFragmentBackgroundController()
155 offset = mFragment.getContext().getResources() in enableParallax()
207 mFragment.getContext(), in enableParallax()
208 mFragment.getParallax(), in enableParallax()
212 mFragment.setBackgroundDrawable(mParallaxDrawable); in enableParallax()
216 mFragment.getParallax(), mParallaxDrawable.getCoverDrawable()); in enableParallax()
301 mFragment.switchToVideo(); in switchToVideo()
308 mFragment.switchToRows(); in switchToRows()
419 return mFragment.findOrCreateVideoSupportFragment(); in findOrCreateVideoSupportFragment()
DPlaybackControlGlue.java152 return ((PlaybackGlueHostOld)getHost()).mFragment; in getFragment()
276 final PlaybackOverlayFragment mFragment; field in PlaybackControlGlue.PlaybackGlueHostOld
281 mFragment = fragment; in PlaybackGlueHostOld()
282 mFragment.setOnItemViewClickedListener(new OnItemViewClickedListener() { in PlaybackGlueHostOld()
300 mFragment.setFadingEnabled(enable); in setFadingEnabled()
305 mFragment.setEventHandler( new InputEventHandler() { in setOnKeyInterceptListener()
324 mFragment.setHostCallback(callback); in setHostCallback()
329 mFragment.fadeOut(); in fadeOut()
DPlaybackControlSupportGlue.java141 final PlaybackOverlaySupportFragment mFragment; field in PlaybackControlSupportGlue.PlaybackSupportGlueHostOld
146 mFragment = fragment; in PlaybackSupportGlueHostOld()
147 mFragment.setOnItemViewClickedListener(new OnItemViewClickedListener() { in PlaybackSupportGlueHostOld()
165 mFragment.setFadingEnabled(enable); in setFadingEnabled()
170 mFragment.setEventHandler( new InputEventHandler() { in setOnKeyInterceptListener()
189 mFragment.setHostCallback(callback); in setHostCallback()
194 mFragment.fadeOut(); in fadeOut()
DVideoSupportFragmentGlueHost.java30 private final VideoSupportFragment mFragment; field in VideoSupportFragmentGlueHost
34 this.mFragment = fragment; in VideoSupportFragmentGlueHost()
44 mFragment.setSurfaceHolderCallback(callback); in setSurfaceHolderCallback()
DVideoFragmentGlueHost.java27 private final VideoFragment mFragment; field in VideoFragmentGlueHost
31 this.mFragment = fragment; in VideoFragmentGlueHost()
41 mFragment.setSurfaceHolderCallback(callback); in setSurfaceHolderCallback()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentReceiveResultTest.java52 private TestFragment mFragment; field in FragmentReceiveResultTest
58 mFragment = attachTestFragment(); in setup()
66 assertTrue("Fragment should receive result", mFragment.mHasResult); in testStartActivityForResultOk()
67 assertEquals(10, mFragment.mRequestCode); in testStartActivityForResultOk()
68 assertEquals(Activity.RESULT_OK, mFragment.mResultCode); in testStartActivityForResultOk()
69 assertEquals("content 10", mFragment.mResultContent); in testStartActivityForResultOk()
77 assertTrue("Fragment should receive result", mFragment.mHasResult); in testStartActivityForResultCanceled()
78 assertEquals(20, mFragment.mRequestCode); in testStartActivityForResultCanceled()
79 assertEquals(Activity.RESULT_CANCELED, mFragment.mResultCode); in testStartActivityForResultCanceled()
80 assertEquals("content 20", mFragment.mResultContent); in testStartActivityForResultCanceled()
[all …]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DSearchSupportActivity.java35 private SearchSupportFragment mFragment; field in SearchSupportActivity
45mFragment = (SearchSupportFragment) getSupportFragmentManager().findFragmentById(R.id.search_fragm… in onCreate()
52 startActivityForResult(mFragment.getRecognizerIntent(), REQUEST_SPEECH); in onCreate()
55 mFragment.setSpeechRecognitionCallback(mSpeechRecognitionCallback); in onCreate()
65 mFragment.setSearchQuery(data, true); in onActivityResult()
DSearchActivity.java32 private SearchFragment mFragment; field in SearchActivity
42 mFragment = (SearchFragment) getFragmentManager().findFragmentById(R.id.search_fragment); in onCreate()
49 startActivityForResult(mFragment.getRecognizerIntent(), REQUEST_SPEECH); in onCreate()
52 mFragment.setSpeechRecognitionCallback(mSpeechRecognitionCallback); in onCreate()
62 mFragment.setSearchQuery(data, true); in onActivityResult()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java71 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNone()
75 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableNone()
84 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableSystemInfo()
88 assertEquals(View.INVISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableSystemInfo()
93 assertEquals(View.VISIBLE, mFragment.getView().findViewById(R.id.system_icon_area) in testDisableSystemInfo()
102 CollapsedStatusBarFragment fragment = (CollapsedStatusBarFragment) mFragment; in testDisableNotifications()
DNavigationBarFragmentTest.java87 NavigationBarFragment navigationBarFragment = (NavigationBarFragment) mFragment; in testHomeLongPress()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DGuidedStepTestSupportFragment.java45 GuidedStepTestSupportFragment mFragment; field in GuidedStepTestSupportFragment.Provider
99 return mFragment; in getFragment()
103 return mFragment.getActivity(); in getActivity()
107 return mFragment.getFragmentManager(); in getFragmentManager()
146 mProvider.mFragment = this; in onCreate()
DGuidedStepTestFragment.java42 GuidedStepTestFragment mFragment; field in GuidedStepTestFragment.Provider
96 return mFragment; in getFragment()
100 return mFragment.getActivity(); in getActivity()
104 return mFragment.getFragmentManager(); in getFragmentManager()
143 mProvider.mFragment = this; in onCreate()
/frameworks/base/tests/testables/src/android/testing/
DBaseFragmentTest.java55 protected Fragment mFragment; field in BaseFragmentTest
78 mFragment = mCls.newInstance(); in setupFragment()
82 .replace(VIEW_ID, mFragment) in setupFragment()
163 mFragment = mFragments.getFragmentManager().findFragmentById(VIEW_ID); in recreateFragment()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java84 QSFragment qs = (QSFragment) mFragment; in testListening()
106 QSFragment qs = (QSFragment) mFragment; in testSaveState()
118 qs = (QSFragment) mFragment; in testSaveState()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
DGuidedStepAttributesTest.java121 GuidedStepFragment mFragment = (GuidedStepFragment) mActivity.getGuidedStepTestFragment(); in testFocusDisabledOnActions() local
123 int nextSelectedActionPosition = mFragment.getSelectedActionPosition(); in testFocusDisabledOnActions()
125 lastSelectedActionId = mFragment.getSelectedActionPosition(); in testFocusDisabledOnActions()
132 nextSelectedActionPosition = mFragment.getSelectedActionPosition(); in testFocusDisabledOnActions()
138 lastSelectedActionId = mFragment.getSelectedActionPosition(); in testFocusDisabledOnActions()
145 nextSelectedActionPosition = mFragment.getSelectedActionPosition(); in testFocusDisabledOnActions()
326 final GuidedStepFragment mFragment = (GuidedStepFragment) in testToggleEnabledFlags() local
332 mFragment.setSelectedActionPosition(0); in testToggleEnabledFlags()
348 final GuidedStepFragment mFragment = (GuidedStepFragment) in examineEnabledAndDisabledActions() local
358 mFragment.setSelectedActionPosition(id); in examineEnabledAndDisabledActions()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManager.java41 private final PreferenceFragment mFragment; field in InputMethodAndSubtypeEnablerManager
53 mFragment = fragment; in InputMethodAndSubtypeEnablerManager()
211 mFragment, mFragment.getContext().getContentResolver(), in setAutoSelectionSubtypesEnabled()
/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/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()
640 mFragment.set(mStateFragment.mDefault); in setProgramFragment()
642 mFragment.set(pf); in setProgramFragment()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java70 private PreferenceFragment mFragment; field in PreferenceManager
198 mFragment = fragment; in setFragment()
206 return mFragment; in getFragment()

12