Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodPreference.java51 private final SettingsPreferenceFragment mFragment; field in InputMethodPreference
87 mFragment = fragment; in InputMethodPreference()
116 startFragment(mFragment, InputMethodAndSubtypeEnabler.class.getName(), in onBindView()
129 mFragment.startActivity(mSettingsIntent); in onBindView()
132 final String msg = mFragment.getString( in onBindView()
135 mFragment.getActivity().getPackageManager())); in onBindView()
137 mFragment.getActivity(), msg, Toast.LENGTH_LONG).show(); in onBindView()
148 startFragment(mFragment, InputMethodAndSubtypeEnabler.class.getName(), in onBindView()
217 final CharSequence subtypeLabel = subtype.getDisplayName(mFragment.getActivity(), in getSummaryString()
254 mDialog = (new AlertDialog.Builder(mFragment.getActivity())) in showSecurityWarnDialog()
[all …]
DSingleSpellCheckerPreference.java46 private final SpellCheckersSettings mFragment; field in SingleSpellCheckerPreference
63 mFragment = fragment; in SingleSpellCheckerPreference()
113 mFragment.onPreferenceClick(this); in onLeftButtonClicked()
136 final AlertDialog.Builder builder = new AlertDialog.Builder(mFragment.getActivity()); in onSubtypeButtonClicked()
144 mFragment.getActivity(), mSpellCheckerInfo.getPackageName(), in onSubtypeButtonClicked()
181 if (mFragment != null && mSettingsIntent != null) { in onSettingsButtonClicked()
183 mFragment.startActivity(mSettingsIntent); in onSettingsButtonClicked()
185 final String msg = mFragment.getString(R.string.failed_to_open_app_settings_toast, in onSettingsButtonClicked()
186 mSpellCheckerInfo.loadLabel(mFragment.getActivity().getPackageManager())); in onSettingsButtonClicked()
187 Toast.makeText(mFragment.getActivity(), msg, Toast.LENGTH_LONG).show(); in onSettingsButtonClicked()
DCheckBoxAndSettingsPreference.java34 private SettingsPreferenceFragment mFragment; field in CheckBoxAndSettingsPreference
78 mFragment = fragment; in setFragmentIntent()
91 if (mFragment != null && mSettingsIntent != null) { in onSettingsButtonClicked()
92 mFragment.startActivity(mSettingsIntent); in onSettingsButtonClicked()
/packages/apps/Contacts/src/com/android/contacts/activities/
DGroupEditorActivity.java45 private GroupEditorFragment mFragment; field in GroupEditorActivity
73 mFragment.onDoneClicked(); in onCreate()
83 mFragment = (GroupEditorFragment) getFragmentManager().findFragmentById( in onCreate()
85 mFragment.setListener(mFragmentListener); in onCreate()
86 mFragment.setContentResolver(getContentResolver()); in onCreate()
92 mFragment.load(action, uri, getIntent().getExtras()); in onCreate()
110 if (!mFragment.save()) { in onBackPressed()
119 if (mFragment == null) { in onNewIntent()
125 mFragment.onSaveCompleted(true, intent.getData()); in onNewIntent()
DContactEditorActivity.java61 private ContactEditorFragment mFragment; field in ContactEditorActivity
105 mFragment.doSaveAction(); in onCreate()
115 mFragment = (ContactEditorFragment) getFragmentManager().findFragmentById( in onCreate()
117 mFragment.setListener(mFragmentListener); in onCreate()
119 mFragment.load(action, uri, getIntent().getExtras()); in onCreate()
126 if (mFragment == null) { in onNewIntent()
132 mFragment.setIntentExtras(intent.getExtras()); in onNewIntent()
134 mFragment.onSaveCompleted(true, in onNewIntent()
139 mFragment.onJoinCompleted(intent.getData()); in onNewIntent()
154 mFragment.save(SaveMode.CLOSE); in onBackPressed()
DGroupDetailActivity.java48 private GroupDetailFragment mFragment; field in GroupDetailActivity
62 mFragment = (GroupDetailFragment) getFragmentManager().findFragmentById( in onCreate()
64 mFragment.setListener(mFragmentListener); in onCreate()
65 mFragment.setShowGroupSourceInActionBar(mShowGroupSourceInActionBar); in onCreate()
66 mFragment.loadGroup(getIntent().getData()); in onCreate()
67 mFragment.closeActivityAfterDelete(true); in onCreate()
148 mFragment.getGroupId()); in onPrepareOptionsMenu()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsActivity.java32 private SelectVisibleCalendarsFragment mFragment; field in SelectVisibleCalendarsActivity
40 mFragment = (SelectVisibleCalendarsFragment) getFragmentManager().findFragmentById( in onCreate()
43 if (mFragment == null) { in onCreate()
44 mFragment = new SelectVisibleCalendarsFragment(R.layout.calendar_sync_item); in onCreate()
47 ft.replace(R.id.main_frame, mFragment); in onCreate()
48 ft.show(mFragment); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java32 private Fragment mFragment; field in ChooseLockSettingsHelper
41 mFragment = fragment; in ChooseLockSettingsHelper()
88 if (mFragment != null) { in confirmPattern()
89 mFragment.startActivityForResult(intent, request); in confirmPattern()
105 if (mFragment != null) { in confirmPassword()
106 mFragment.startActivityForResult(intent, request); in confirmPassword()
DVoiceInputOutputSettings.java66 private final SettingsPreferenceFragment mFragment; field in VoiceInputOutputSettings
72 mFragment = fragment; in VoiceInputOutputSettings()
78 mParent = mFragment.getPreferenceScreen(); in onCreate()
99 mFragment.getPreferenceScreen().removePreference(mVoiceCategory); in populateOrRemovePreferences()
105 mFragment.getPackageManager().queryIntentServices( in populateOrRemoveRecognizerPrefs()
130 mFragment.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE); in populateOrRemoveRecognizerPrefs()
158 mFragment.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE); in populateRecognizerPreference()
171 entries[i] = resolveInfo.loadLabel(mFragment.getPackageManager()); in populateRecognizerPreference()
192 parser = si.loadXmlMetaData(mFragment.getPackageManager(), in updateSettingsLink()
199 Resources res = mFragment.getPackageManager().getResourcesForApplication( in updateSettingsLink()
[all …]
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupExchangeTests.java45 private AccountSetupExchangeFragment mFragment; field in AccountSetupExchangeTests
186 mActivity.mFragment.mLoaded = false; in testLoadSettings()
187 boolean loadResult = mActivity.mFragment.loadSettings(account); in testLoadSettings()
196 mActivity.mFragment.mLoaded = false; in testLoadSettings()
197 loadResult = mActivity.mFragment.loadSettings(account); in testLoadSettings()
205 mActivity.mFragment.mLoaded = false; in testLoadSettings()
206 loadResult = mActivity.mFragment.loadSettings(account); in testLoadSettings()
219 mFragment = mActivity.mFragment; in getActivityAndFields()
DAccountSetupIncomingTests.java42 private AccountSetupIncomingFragment mFragment; field in AccountSetupIncomingTests
179 mFragment = mActivity.mFragment; in getActivityAndFields()
DAccountSetupOutgoingTests.java42 private AccountSetupOutgoingFragment mFragment; field in AccountSetupOutgoingTests
175 mFragment = mActivity.mFragment; in getActivityAndFields()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupExchange.java75 /* package */ AccountSetupExchangeFragment mFragment; field in AccountSetupExchange
91 mFragment = (AccountSetupExchangeFragment) in onCreate()
93 mFragment.setCallback(this); in onCreate()
116 mFragment.onNext(); in onClick()
153 onProceedNext(SetupData.CHECK_AUTODISCOVER, mFragment); in startAutoDiscover()
171 boolean valid = mFragment.setHostAuthFromAutodiscover(hostAuth); in onAutoDiscoverComplete()
174 mFragment.onNext(); in onAutoDiscoverComplete()
DAccountSetupOutgoing.java41 /* package */ AccountSetupOutgoingFragment mFragment; field in AccountSetupOutgoing
57 mFragment = (AccountSetupOutgoingFragment) in onCreate()
61 mFragment.setCallback(this); in onCreate()
75 mFragment.onNext(); in onClick()
DAccountSetupIncoming.java41 /* package */ AccountSetupIncomingFragment mFragment; field in AccountSetupIncoming
57 mFragment = (AccountSetupIncomingFragment) in onCreate()
61 mFragment.setCallback(this); in onCreate()
75 mFragment.onNext(); in onClick()
/packages/apps/Email/src/com/android/email/activity/
DMessageFileView.java39 private MessageFileViewFragment mFragment; field in MessageFileView
53 mFragment = (MessageFileViewFragment) getFragmentManager().findFragmentById( in onCreate()
55 mFragment.setCallback(this); in onCreate()
64 mFragment.setFileUri(fileEmailUri); in onCreate()
152 return mFragment; in getFragment()
DMessageViewFragmentBase.java703 private final MessageViewFragmentBase mFragment; field in MessageViewFragmentBase.ContactStatusLoaderCallbacks
706 mFragment = fragment; in ContactStatusLoaderCallbacks()
717 return new ContactStatusLoader(mFragment.mContext, in onCreateLoader()
725 (mFragment.mContactStatusState == CONTACT_STATUS_STATE_UNLOADED_TRIGGERED); in onLoadFinished()
726 mFragment.mContactStatusState = CONTACT_STATUS_STATE_LOADED; in onLoadFinished()
727 mFragment.mQuickContactLookupUri = result.mLookupUri; in onLoadFinished()
730 mFragment.mSenderPresenceView.setVisibility(View.GONE); in onLoadFinished()
732 mFragment.mSenderPresenceView.setVisibility(View.VISIBLE); in onLoadFinished()
733 mFragment.mSenderPresenceView.setImageResource(result.mPresenceResId); in onLoadFinished()
736 mFragment.mFromBadge.setImageBitmap(result.mPhoto); in onLoadFinished()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DHomeNormal.java29 ContactsListFragment mFragment; field in HomeNormal
37 mFragment = (ContactsListFragment) findFragmentById(R.id.list); in onCreate()
38 mFragment.setController(this); in onCreate()
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DContactDeletionInteractionTest.java68 private ContactDeletionInteraction mFragment; field in ContactDeletionInteractionTest
153 mFragment = ContactDeletionInteraction.startWithTestLoaderManager( in assertWithMessageId()
166 assertEquals(messageId, mFragment.mMessageId); in assertWithMessageId()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogFragmentTest.java76 private CallLogFragment mFragment; field in CallLogFragmentTest
115 mFragment = new CallLogFragment(); in setUp()
118 transaction.add(R.id.fragment, mFragment); in setUp()
124 mAdapter = mFragment.getAdapter(); in setUp()