Home
last modified time | relevance | path

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

12345678910>>...25

/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
DComposeActivityTest.java102 public void setAccount(ComposeActivity activity, String accountName) { in setAccount() argument
104 final Account account = getAccountForName(activity, accountName); in setAccount()
107 activity.setAccount(mAccount); in setAccount()
131 final ComposeActivity activity = getActivity(); in testRecipientsRefReplyAllCustomFromReplyTo() local
132 setAccount(activity, "account3@mockuiprovider.com"); in testRecipientsRefReplyAllCustomFromReplyTo()
133 final Message refMessage = getRefMessage(activity.getContentResolver()); in testRecipientsRefReplyAllCustomFromReplyTo()
151 activity.mFromSpinner = new FromAddressSpinner(activity); in testRecipientsRefReplyAllCustomFromReplyTo()
152 activity.mFromSpinner.setCurrentAccount(currentAccount); in testRecipientsRefReplyAllCustomFromReplyTo()
153 activity.mFromSpinner.initialize(ComposeActivity.REPLY_ALL, in testRecipientsRefReplyAllCustomFromReplyTo()
156 activity.initReplyRecipients(refMessage, ComposeActivity.REPLY_ALL); in testRecipientsRefReplyAllCustomFromReplyTo()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
DVoicemailChangePinActivity.java122 public void onEnter(VoicemailChangePinActivity activity) { in onEnter() argument
123 activity.setHeader(R.string.change_pin_enter_old_pin_header); in onEnter()
124 activity.mHintText.setText(R.string.change_pin_enter_old_pin_hint); in onEnter()
125 activity.mNextButton.setText(R.string.change_pin_continue_label); in onEnter()
126 activity.mErrorText.setText(null); in onEnter()
130 public void onInputChanged(VoicemailChangePinActivity activity) { in onInputChanged() argument
131 activity.setNextEnabled(activity.getCurrentPasswordInput().length() > 0); in onInputChanged()
135 public void handleNext(VoicemailChangePinActivity activity) { in handleNext() argument
136 activity.mOldPin = activity.getCurrentPasswordInput(); in handleNext()
137 activity.verifyOldPin(); in handleNext()
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java432 private static void sendBroadcast(Activity activity, int serialNumber, int category, in sendBroadcast() argument
435 intent.putExtra("message", createFromPdu(activity, pdu, serialNumber, category)); in sendBroadcast()
437 activity.sendOrderedBroadcastAsUser(intent, UserHandle.ALL, Manifest.permission.RECEIVE_SMS, in sendBroadcast()
441 public static void testSendMessage7bit(Activity activity, int serialNumber, in testSendMessage7bit() argument
443 sendBroadcast(activity, serialNumber, category, gsm7BitTest); in testSendMessage7bit()
446 public static void testSendMessage7bitUmts(Activity activity, int serialNumber, in testSendMessage7bitUmts() argument
448 sendBroadcast(activity, serialNumber, category, gsm7BitTestUmts); in testSendMessage7bitUmts()
451 public static void testSendMessage7bitNoPadding(Activity activity, int serialNumber, in testSendMessage7bitNoPadding() argument
453 sendBroadcast(activity, serialNumber, category, gsm7BitTestNoPadding); in testSendMessage7bitNoPadding()
456 public static void testSendMessage7bitNoPaddingUmts(Activity activity, int serialNumber, in testSendMessage7bitNoPaddingUmts() argument
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSnackbars.java32 public static final void showDocumentsClipped(Activity activity, int docCount) { in showDocumentsClipped() argument
34 activity, R.plurals.clipboard_files_clipped, docCount); in showDocumentsClipped()
35 Snackbars.makeSnackbar(activity, msg, Snackbar.LENGTH_SHORT).show(); in showDocumentsClipped()
38 public static final void showMove(Activity activity, int docCount) { in showMove() argument
39 CharSequence message = Shared.getQuantityString(activity, R.plurals.move_begin, docCount); in showMove()
40 makeSnackbar(activity, message, Snackbar.LENGTH_SHORT).show(); in showMove()
43 public static final void showCopy(Activity activity, int docCount) { in showCopy() argument
44 CharSequence message = Shared.getQuantityString(activity, R.plurals.copy_begin, docCount); in showCopy()
45 makeSnackbar(activity, message, Snackbar.LENGTH_SHORT).show(); in showCopy()
48 public static final void showCompress(Activity activity, int docCount) { in showCompress() argument
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java96 public static void checkStorageStatusAndShowErrorMessage(Activity activity, String inputId, in checkStorageStatusAndShowErrorMessage() argument
99 switch (TvApplication.getSingletons(activity).getDvrStorageStatusManager() in checkStorageStatusAndShowErrorMessage()
102 showDvrSmallSizedStorageErrorDialog(activity); in checkStorageStatusAndShowErrorMessage()
105 showDvrMissingStorageErrorDialog(activity); in checkStorageStatusAndShowErrorMessage()
108 showDvrNoFreeSpaceErrorDialog(activity, recordingRequestRunnable); in checkStorageStatusAndShowErrorMessage()
118 public static void showScheduleDialog(Activity activity, Program program, in showScheduleDialog() argument
127 showDialogFragment(activity, new DvrScheduleDialogFragment(), args, true, true); in showScheduleDialog()
133 public static void showChannelRecordDurationOptions(Activity activity, Channel channel) { in showChannelRecordDurationOptions() argument
139 showDialogFragment(activity, new DvrChannelRecordDurationOptionDialogFragment(), args); in showChannelRecordDurationOptions()
145 public static void showScheduleConflictDialog(Activity activity, Program program) { in showScheduleConflictDialog() argument
[all …]
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java262 final Activity activity) { in onShowMapClicked() argument
282 Toast.makeText(activity, in onShowMapClicked()
296 activity.startActivity(new Intent( in onShowMapClicked()
315 Activity activity) { in showExifInformation() argument
343 setLatLngDetails(d, activity, exif); in showExifInformation()
368 final Activity activity) { in onDetailsClicked() argument
376 new AlertDialog.Builder(activity); in onDetailsClicked()
378 final View d = View.inflate(activity, R.layout.detailsview, in onDetailsClicked()
392 : Formatter.formatFileSize(activity, length); in onDetailsClicked()
419 activity.getString(R.string.details_dimension_x), in onDetailsClicked()
[all …]
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java52 public static void promptUserForMessageIfNecessary(Activity activity, View rootView) { in promptUserForMessageIfNecessary() argument
53 if (isEnabled(activity)) { in promptUserForMessageIfNecessary()
54 if (shouldPromptUserToViewSentMessage(activity)) { in promptUserForMessageIfNecessary()
55 promptUserToViewSentMessage(activity, rootView); in promptUserForMessageIfNecessary()
56 } else if (shouldPromptUserToSendMessage(activity)) { in promptUserForMessageIfNecessary()
57 promptUserToSendMessage(activity, rootView); in promptUserForMessageIfNecessary()
59 clear(activity); in promptUserForMessageIfNecessary()
71 private static void promptUserToSendMessage(Activity activity, View rootView) { in promptUserToSendMessage() argument
73 String message = activity.getString(R.string.post_call_message); in promptUserToSendMessage()
74 EnrichedCallManager manager = EnrichedCallComponent.get(activity).getEnrichedCallManager(); in promptUserToSendMessage()
[all …]
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java86 ViewInfoActivity activity = startViewInfoActivity(); in testInitialState() local
88 assertThat(activity.getFragments()).isEmpty(); in testInitialState()
89 assertThat(activity.findViewById(R.id.name_and_dob_linear_layout).getVisibility()) in testInitialState()
91 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testInitialState()
93 ViewFlipper viewFlipper = (ViewFlipper) activity.findViewById(R.id.view_flipper); in testInitialState()
94 int noInfoIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.no_info)); in testInitialState()
104 ViewInfoActivity activity = startViewInfoActivity(); in testNameSet() local
106 assertThat(activity.getFragments()).isEmpty(); in testNameSet()
107 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testNameSet()
108 assertThat(activity.findViewById(R.id.no_info).getVisibility()) in testNameSet()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DMenuHelper.java80 private static void startCameraActivity(Activity activity, Intent intent, in startCameraActivity() argument
84 intent.setClassName(activity.getPackageName(), className); in startCameraActivity()
91 activity.startActivity(intent); in startCameraActivity()
94 activity.startActivity(intent); in startCameraActivity()
96 activity.overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); in startCameraActivity()
99 public static void gotoMode(int mode, Activity activity) { in gotoMode() argument
118 startCameraActivity(activity, new Intent(action), className); in gotoMode()
121 public static void gotoVideoMode(Activity activity, boolean resetEffect) { in gotoVideoMode() argument
124 startCameraActivity(activity, intent, VIDEO_CAMERA_CLASS); in gotoVideoMode()
127 public static void gotoCameraMode(Activity activity) { in gotoCameraMode() argument
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsFragment.java99 final Activity activity = getActivity(); in onActivityCreated() local
100 mClientId = activity.getIntent().getStringExtra(DICT_SETTINGS_FRAGMENT_CLIENT_ID_ARGUMENT); in onActivityCreated()
102 (ConnectivityManager)activity.getSystemService(Context.CONNECTIVITY_SERVICE); in onActivityCreated()
138 final Activity activity = getActivity(); in onResume() local
147 if (!MetadataDbHelper.isClientKnown(activity, mClientId)) { in onResume()
154 activity.sendBroadcast(unknownClientBroadcast); in onResume()
163 final Activity activity = getActivity(); in onPause() local
165 activity.unregisterReceiver(mConnectivityChangedReceiver); in onPause()
169 activity.sendBroadcast(newDictBroadcast); in onPause()
191 final Activity activity = getActivity(); in wordListDownloadFinished()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityTest.java69 activity -> new PreProvisioningController(activity, activity) { in setUpClass()
89 Activity activity = mActivityRule.launchActivity( in profileOwnerDefaultColors() local
91 CustomizationVerifier v = new CustomizationVerifier(activity); in profileOwnerDefaultColors()
92 v.assertStatusBarColorCorrect(activity.getColor(DEFAULT_COLOR_ID_MP)); in profileOwnerDefaultColors()
93 v.assertSwiperColorCorrect(activity.getColor(DEFAULT_COLOR_ID_SWIPER)); in profileOwnerDefaultColors()
94 v.assertNextButtonColorCorrect(activity.getColor(DEFAULT_COLOR_ID_BUTTON)); in profileOwnerDefaultColors()
99 Activity activity = mActivityRule.launchActivity( in profileOwnerCustomColors() local
101 CustomizationVerifier v = new CustomizationVerifier(activity); in profileOwnerCustomColors()
109 Activity activity = mActivityRule.launchActivity( in deviceOwnerDefaultColorsAndLogo() local
111 CustomizationVerifier v = new CustomizationVerifier(activity); in deviceOwnerDefaultColorsAndLogo()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
DReviewPermissionsWearFragment.java78 Activity activity = getActivity(); in onCreate() local
79 if (activity == null) { in onCreate()
85 activity.finish(); in onCreate()
89 mAppPermissions = new AppPermissions(activity, packageInfo, null, false, in onCreate()
98 activity.finish(); in onCreate()
111 activity.finish(); in onCreate()
123 Activity activity = getActivity(); in loadPreferences() local
124 if (activity == null) { in loadPreferences()
180 mNewPermissionsCategory = new PreferenceCategory(activity); in loadPreferences()
189 currentPermissionsCategory = new PreferenceCategory(activity); in loadPreferences()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DReviewPermissionsFragment.java81 Activity activity = getActivity(); in onCreate() local
82 if (activity == null) { in onCreate()
88 activity.finish(); in onCreate()
92 mAppPermissions = new AppPermissions(activity, packageInfo, null, false, in onCreate()
101 activity.finish(); in onCreate()
114 activity.finish(); in onCreate()
133 Activity activity = getActivity(); in onClick() local
134 if (activity == null) { in onClick()
142 activity.setResult(Activity.RESULT_CANCELED); in onClick()
150 activity.finish(); in onClick()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/
DSetupFingerprintEnrollIntroductionTest.java137 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() local
138 activity.onBackPressed(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded()
140 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded()
151 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
152 activity.onBackPressed(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
154 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
162 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() local
163 final Button skipButton = activity.findViewById(R.id.fingerprint_cancel_button); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded()
167 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded()
177 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
DDrawerItem.java112 protected DrawerItem(ControllableActivity activity, Folder folder, in DrawerItem() argument
114 mActivity = activity; in DrawerItem()
118 mInflater = LayoutInflater.from(activity.getActivityContext()); in DrawerItem()
130 public static DrawerItem ofFolder(ControllableActivity activity, Folder folder, in ofFolder() argument
132 return new FolderDrawerItem(activity, folder, itemCategory); in ofFolder()
143 public static DrawerItem ofAccount(ControllableActivity activity, Account account, in ofAccount() argument
146 return new AccountDrawerItem(activity, account, unreadCount, isCurrentAccount, cache, in ofAccount()
157 public static DrawerItem ofHeader(ControllableActivity activity, int resource) { in ofHeader() argument
158 return new HeaderDrawerItem(activity, resource); in ofHeader()
161 public static DrawerItem ofBlankHeader(ControllableActivity activity) { in ofBlankHeader() argument
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DOpenExternalDirectoryActivity.java154 private static boolean showFragment(OpenExternalDirectoryActivity activity, int userId, in showFragment() argument
174 logInvalidScopedAccessRequest(activity, SCOPED_DIRECTORY_ACCESS_ERROR); in showFragment()
178 (StorageManager) activity.getSystemService(Context.STORAGE_SERVICE); in showFragment()
192 logInvalidScopedAccessRequest(activity, SCOPED_DIRECTORY_ACCESS_INVALID_DIRECTORY); in showFragment()
214 volumeLabel = storageVolume.getDescription(activity); in showFragment()
217 volumeLabel = activity.getString(android.R.string.unknownName); in showFragment()
231 final Intent intent = getIntentForExistingPermission(activity, isRoot, internalRoot, file); in showFragment()
233 logValidScopedAccessRequest(activity, directory, in showFragment()
235 activity.setResult(RESULT_OK, intent); in showFragment()
236 activity.finish(); in showFragment()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java63 public AccountSelectedListener(Activity activity, List<AccountWithDataSet> accountList, in AccountSelectedListener() argument
68 mActivity = activity; in AccountSelectedListener()
74 public AccountSelectedListener(Activity activity, List<AccountWithDataSet> accountList, in AccountSelectedListener() argument
78 this(activity, accountList, resId, /* subscriptionId = */ -1); in AccountSelectedListener()
91 public static Dialog getSelectAccountDialog(Activity activity, int resId, in getSelectAccountDialog() argument
94 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(activity); in getSelectAccountDialog()
104 activity, android.R.style.Theme_Light); in getSelectAccountDialog()
109 activity, R.layout.account_selector_list_item_condensed, writableAccountList) { in getSelectAccountDialog()
137 new AccountSelectedListener(activity, writableAccountList, resId); in getSelectAccountDialog()
147 final AlertDialog.Builder builder = new AlertDialog.Builder(activity); in getSelectAccountDialog()
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettings.java116 Activity activity = getActivity(); in onCreatePreferences() local
117 if (activity != null && mGaugePreference != null) { in onCreatePreferences()
118 Intent intent = activity.getIntent(); in onCreatePreferences()
121 getGaugeString(getContext(), intent, activity.getCallingPackage()); in onCreatePreferences()
156 Activity activity = getActivity(); in onActivityCreated() local
157 if (activity.checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) in onActivityCreated()
159 activity.requestPermissions( in onActivityCreated()
277 DeletionHelperActivity activity = (DeletionHelperActivity) getActivity(); in startEmptyState() local
278 activity.setIsEmptyState(true /* isEmptyState */); in startEmptyState()
327 Activity activity = getActivity(); in onCreateOptionsMenu() local
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardFormatProgress.java95 final StorageWizardFormatProgress activity = mActivity; in doInBackground() local
98 if (activity.mFormatPrivate) { in doInBackground()
99 storage.partitionPrivate(activity.mDisk.getId()); in doInBackground()
102 final VolumeInfo privateVol = activity.findFirstVolume(VolumeInfo.TYPE_PRIVATE); in doInBackground()
109 if (activity.mDisk.isDefaultPrimary() in doInBackground()
118 storage.partitionPublic(activity.mDisk.getId()); in doInBackground()
132 public void setActivity(StorageWizardFormatProgress activity) { in setActivity() argument
133 mActivity = activity; in setActivity()
139 final StorageWizardFormatProgress activity = mActivity; in onPostExecute() local
140 if (activity.isDestroyed()) { in onPostExecute()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryPanel.java47 public void onAttach(Activity activity) { in onAttach() argument
48 super.onAttach(activity); in onAttach()
53 FilterShowActivity activity = (FilterShowActivity) getActivity(); in loadAdapter() local
56 mAdapter = activity.getCategoryLooksAdapter(); in loadAdapter()
60 activity.updateCategories(); in loadAdapter()
64 mAdapter = activity.getCategoryBordersAdapter(); in loadAdapter()
68 activity.updateCategories(); in loadAdapter()
72 mAdapter = activity.getCategoryGeometryAdapter(); in loadAdapter()
79 mAdapter = activity.getCategoryFiltersAdapter(); in loadAdapter()
86 mAdapter = activity.getCategoryVersionsAdapter(); in loadAdapter()
[all …]
/packages/apps/Settings/src/com/android/settings/survey/
DSurveyMixin.java52 Activity activity = mFragment.getActivity(); in onResume() local
55 if (activity != null) { in onResume()
57 FeatureFactory.getFactory(activity).getSurveyFeatureProvider(activity); in onResume()
61 String id = provider.getSurveyId(activity, mName); in onResume()
62 if (provider.getSurveyExpirationDate(activity, id) <= -1) { in onResume()
64 mReceiver = provider.createAndRegisterReceiver(activity); in onResume()
65 provider.downloadSurvey(activity, id, null /* data */); in onResume()
67 provider.showSurveyIfAvailable(activity, id); in onResume()
75 Activity activity = mFragment.getActivity(); in onPause() local
76 if (mReceiver != null && activity != null) { in onPause()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAddAccessoryActivity.java154 public void setActivity(AddAccessoryActivity activity) { in setActivity() argument
155 mActivityRef = new WeakReference<>(activity); in setActivity()
160 final AddAccessoryActivity activity = mActivityRef.get(); in handleMessage() local
161 if (activity == null) { in handleMessage()
166 activity.updateView(); in handleMessage()
169 activity.mCancelledAddress = ADDRESS_NONE; in handleMessage()
170 activity.updateView(); in handleMessage()
173 activity.finish(); in handleMessage()
176 activity.handlePairingTimeout(); in handleMessage()
179 if (activity.mBluetoothPairer != null) { in handleMessage()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DLastAccessedStorage.java43 Activity activity, ProvidersAccess providers, State state); in getLastAccessed() argument
45 void setLastAccessed(Activity activity, DocumentStack stack); in setLastAccessed() argument
47 void setLastAccessedToExternalApp(Activity activity); in setLastAccessedToExternalApp() argument
61 Activity activity, ProvidersAccess providers, State state) { in getLastAccessed() argument
62 final String packageName = Shared.getCallingPackageName(activity); in getLastAccessed()
64 final ContentResolver resolver = activity.getContentResolver(); in getLastAccessed()
79 public void setLastAccessed(Activity activity, DocumentStack stack) { in setLastAccessed() argument
80 String packageName = Shared.getCallingPackageName(activity); in setLastAccessed()
81 LastAccessedProvider.setLastAccessed(activity.getContentResolver(), packageName, stack); in setLastAccessed()
85 public void setLastAccessedToExternalApp(Activity activity) { in setLastAccessedToExternalApp() argument
[all …]
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java59 EditInfoActivity activity = startEditInfoActivity(); in testSummary_organDonor() local
60 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testSummary_organDonor()
71 EditInfoActivity activity = startEditInfoActivity(); in testSummary_bloodType() local
72 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testSummary_bloodType()
83 EditInfoActivity activity = startEditInfoActivity(); in testTitle_organDonor() local
84 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testTitle_organDonor()
94 EditInfoActivity activity = startEditInfoActivity(); in testTitle_bloodType() local
95 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testTitle_bloodType()
105 EditInfoActivity activity = startEditInfoActivity(); in testProperties_organDonor() local
106 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testProperties_organDonor()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentFragment.java66 final Activity activity = getActivity(); in onCreateDialog() local
67 final LayoutInflater inflater = activity.getLayoutInflater(); in onCreateDialog()
75 final LinearLayoutManager manager = new LinearLayoutManager(activity) { in onCreateDialog()
83 mAdapter = new ShareIntentAdapter(activity, null, this); in onCreateDialog()
88 final Builder dialogBuilder = new AlertDialog.Builder(activity) in onCreateDialog()
109 final Activity activity = getActivity(); in onDismiss() local
110 if (activity != null) { in onDismiss()
111 activity.finish(); in onDismiss()
126 public void onAttach(final Activity activity) { in onAttach() argument
127 super.onAttach(activity); in onAttach()
[all …]

12345678910>>...25