OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mFragment
(Results
1 - 25
of
174
) sorted by null
1
2
3
4
5
6
7
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
PlaybackFragmentGlueHost.java
35
private final PlaybackFragment
mFragment
;
38
this.
mFragment
= fragment;
43
mFragment
.setControlsOverlayAutoHideEnabled(enabled);
48
return
mFragment
.isControlsOverlayAutoHideEnabled();
53
mFragment
.setOnKeyInterceptListener(onKeyListener);
59
mFragment
.setOnPlaybackItemViewClickedListener(null);
61
mFragment
.setOnPlaybackItemViewClickedListener(new OnItemViewClickedListener() {
75
mFragment
.setHostCallback(callback);
80
mFragment
.notifyPlaybackRowChanged();
85
mFragment
.setPlaybackRowPresenter(presenter)
[
all
...]
PlaybackSupportFragmentGlueHost.java
32
private final PlaybackSupportFragment
mFragment
;
35
this.
mFragment
= fragment;
40
mFragment
.setControlsOverlayAutoHideEnabled(enabled);
45
return
mFragment
.isControlsOverlayAutoHideEnabled();
50
mFragment
.setOnKeyInterceptListener(onKeyListener);
56
mFragment
.setOnPlaybackItemViewClickedListener(null);
58
mFragment
.setOnPlaybackItemViewClickedListener(new OnItemViewClickedListener() {
72
mFragment
.setHostCallback(callback);
77
mFragment
.notifyPlaybackRowChanged();
82
mFragment
.setPlaybackRowPresenter(presenter)
[
all
...]
VideoFragmentGlueHost.java
30
private final VideoFragment
mFragment
;
34
this.
mFragment
= fragment;
44
mFragment
.setSurfaceHolderCallback(callback);
VideoSupportFragmentGlueHost.java
27
private final VideoSupportFragment
mFragment
;
31
this.
mFragment
= fragment;
41
mFragment
.setSurfaceHolderCallback(callback);
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DrawOverlayDetailsTest.java
61
private DrawOverlayDetails
mFragment
;
72
when(
mFragment
.getContext()).thenReturn(
75
mFragment
.logSpecialPermissionChange(true, "app");
79
mFragment
.logSpecialPermissionChange(false, "app");
87
when(
mFragment
.getActivity()).thenReturn(mActivity);
90
mFragment
.onResume();
91
mFragment
.onPause();
PremiumSmsAccessTest.java
48
private PremiumSmsAccess
mFragment
;
55
mFragment
= new PremiumSmsAccess();
56
mFragment
.onAttach(ShadowApplication.getInstance().getApplicationContext());
61
mFragment
.logSpecialPermissionChange(SmsUsageMonitor.PREMIUM_SMS_PERMISSION_ASK_USER,
66
mFragment
.logSpecialPermissionChange(SmsUsageMonitor.PREMIUM_SMS_PERMISSION_NEVER_ALLOW,
71
mFragment
.logSpecialPermissionChange(SmsUsageMonitor.PREMIUM_SMS_PERMISSION_ALWAYS_ALLOW,
UsageAccessDetailsTest.java
47
private UsageAccessDetails
mFragment
;
54
mFragment
= new UsageAccessDetails();
55
mFragment
.onAttach(ShadowApplication.getInstance().getApplicationContext());
60
mFragment
.logSpecialPermissionChange(true, "app");
64
mFragment
.logSpecialPermissionChange(false, "app");
VrListenerSettingsTest.java
46
private VrListenerSettings
mFragment
;
53
mFragment
= new VrListenerSettings();
58
mFragment
.logSpecialPermissionChange(true, "app");
62
mFragment
.logSpecialPermissionChange(false, "app");
WriteSettingsDetailsTest.java
46
private WriteSettingsDetails
mFragment
;
53
mFragment
= new WriteSettingsDetails();
58
mFragment
.logSpecialPermissionChange(true, "app");
63
mFragment
.logSpecialPermissionChange(false, "app");
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
NotificationAccessSettingsTest.java
46
private NotificationAccessSettings
mFragment
;
53
mFragment
= new NotificationAccessSettings();
58
mFragment
.logSpecialPermissionChange(true, "app");
63
mFragment
.logSpecialPermissionChange(false, "app");
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DvrBrowseActivity.java
31
private DvrBrowseFragment
mFragment
;
38
mFragment
= (DvrBrowseFragment) getFragmentManager().findFragmentById(R.id.dvr_frame);
49
mFragment
.showScheduledRow();
/packages/experimental/LoaderApp/src/com/android/loaderapp/
HomeNormal.java
29
ContactsListFragment
mFragment
;
37
mFragment
= (ContactsListFragment) findFragmentById(R.id.list);
38
mFragment
.setController(this);
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
ButtonActionDialogFragmentTest.java
58
private ButtonActionDialogFragment
mFragment
;
66
mFragment
= spy(ButtonActionDialogFragment.newInstance(FORCE_STOP_ID));
67
doReturn(mShadowContext).when(
mFragment
).getContext();
68
mFragment
.setTargetFragment(mTargetFragment, 0);
73
mFragment
.onClick(null, 0);
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
NetworkDashboardFragmentTest.java
57
private NetworkDashboardFragment
mFragment
;
62
mFragment
= new NetworkDashboardFragment();
67
assertThat(
mFragment
.getCategoryKey()).isEqualTo(CategoryKey.CATEGORY_NETWORK);
78
assertThat(indexRes.get(0).xmlResId).isEqualTo(
mFragment
.getPreferenceScreenResId());
85
ReflectionHelpers.setField(
mFragment
, "mNetworkResetController", resetController);
87
mFragment
.onCreateOptionsMenu(null, null);
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
RadioButtonPickerFragmentTest.java
59
private TestFragment
mFragment
;
65
mFragment
= spy(new TestFragment());
68
doReturn(mActivity).when(
mFragment
).getContext();
69
doReturn(mScreen).when(
mFragment
).getPreferenceScreen();
74
mFragment
.onAttach((Context) mActivity);
86
mFragment
.mayCheckOnlyRadioButton();
97
mFragment
.onRadioButtonClicked(pref);
99
assertThat(
mFragment
.setDefaultKeyCalled).isTrue();
/packages/apps/Settings/src/com/android/settings/wifi/details/
WifiDetailActionBarObserver.java
30
private final Fragment
mFragment
;
35
mFragment
= fragment;
40
if (
mFragment
.getActivity() != null) {
41
mFragment
.getActivity().getActionBar()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
BluetoothPairingDetailTest.java
68
private BluetoothPairingDetail
mFragment
;
78
mFragment
= spy(new BluetoothPairingDetail());
79
doReturn(mContext).when(
mFragment
).getContext();
80
doReturn(mResource).when(
mFragment
).getResources();
85
mFragment
.mLocalAdapter = mLocalAdapter;
86
mFragment
.mLocalManager = mLocalManager;
87
mFragment
.mDeviceListGroup = mPreferenceGroup;
88
mFragment
.mAlwaysDiscoverable = new AlwaysDiscoverable(mContext, mLocalAdapter);
93
doReturn(mAvailableDevicesCategory).when(
mFragment
).findPreference(
95
doReturn(mFooterPreference).when(
mFragment
).findPreference
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
StorageDashboardFragmentTest.java
60
private StorageDashboardFragment
mFragment
;
65
mFragment
= new StorageDashboardFragment();
70
assertThat(
mFragment
.getCategoryKey()).isEqualTo(CategoryKey.CATEGORY_STORAGE);
77
mFragment
.initializeOptionsMenu(activity);
90
mFragment
.setCachedStorageValuesHelper(helper);
91
mFragment
.initializeCachedValues();
93
assertThat(
mFragment
.getPrivateStorageInfo()).isEqualTo(info);
94
assertThat(
mFragment
.getAppsStorageResult()).isEqualTo(result);
103
mFragment
.setCachedStorageValuesHelper(helper);
104
mFragment
.initializeCachedValues()
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
LockscreenDashboardFragmentTest.java
36
private LockscreenDashboardFragment
mFragment
;
40
mFragment
= new LockscreenDashboardFragment();
43
mFragment
.getPreferenceScreenResId());
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
SearchActivity.java
40
private SearchFragment
mFragment
;
48
mFragment
= (SearchFragment) getFragmentManager().findFragmentById(R.id.search_fragment);
54
startActivityForResult(
mFragment
.getRecognizerIntent(), REQUEST_SPEECH);
57
mFragment
.setSpeechRecognitionCallback(mSpeechRecognitionCallback);
66
mFragment
.setSearchQuery(data, true);
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
SearchActivity.java
32
private SearchFragment
mFragment
;
42
mFragment
= (SearchFragment) getFragmentManager().findFragmentById(R.id.search_fragment);
49
startActivityForResult(
mFragment
.getRecognizerIntent(), REQUEST_SPEECH);
52
mFragment
.setSpeechRecognitionCallback(mSpeechRecognitionCallback);
62
mFragment
.setSearchQuery(data, true);
SearchSupportActivity.java
35
private SearchSupportFragment
mFragment
;
45
mFragment
= (SearchSupportFragment) getSupportFragmentManager().findFragmentById(R.id.search_fragment);
52
startActivityForResult(
mFragment
.getRecognizerIntent(), REQUEST_SPEECH);
55
mFragment
.setSpeechRecognitionCallback(mSpeechRecognitionCallback);
65
mFragment
.setSearchQuery(data, true);
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
ShortcutServicePickerFragmentTest.java
61
private ShortcutServicePickerFragment
mFragment
;
70
mFragment
= spy(new ShortcutServicePickerFragment());
71
mFragment
.onAttach((Context) mActivity);
73
doReturn(RuntimeEnvironment.application).when(
mFragment
).getContext();
78
assertThat(
mFragment
.setDefaultKey(TEST_SERVICE_KEY_1)).isTrue();
79
assertThat(
mFragment
.getDefaultKey()).isEqualTo(TEST_SERVICE_KEY_1);
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
UnrestrictedDataAccessTest.java
51
private UnrestrictedDataAccess
mFragment
;
59
mFragment
= new UnrestrictedDataAccess();
67
assertThat(
mFragment
.shouldAddPreference(mAppEntry)).isTrue();
75
assertThat(
mFragment
.shouldAddPreference(mAppEntry)).isFalse();
80
mFragment
.logSpecialPermissionChange(true, "app");
84
mFragment
.logSpecialPermissionChange(false, "app");
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/
DeleteFingerprintDialogTest.java
52
private DeleteFingerprintDialog
mFragment
;
58
mFragment
= DeleteFingerprintDialog.newInstance(mFingerprint, mTarget);
63
FragmentTestUtil.startFragment(
mFragment
);
65
mFragment
.onClick(
mFragment
.getDialog(), Dialog.BUTTON_POSITIVE);
72
FragmentTestUtil.startFragment(
mFragment
);
74
mFragment
.onClick(
mFragment
.getDialog(), Dialog.BUTTON_NEGATIVE);
Completed in 830 milliseconds
1
2
3
4
5
6
7