Home
last modified time | relevance | path

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

12345678910>>...36

/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailChangePinActivity.java117 public void onEnter(VoicemailChangePinActivity activity) { in onEnter() argument
118 activity.setHeader(R.string.change_pin_enter_old_pin_header); in onEnter()
119 activity.hintText.setText(R.string.change_pin_enter_old_pin_hint); in onEnter()
120 activity.nextButton.setText(R.string.change_pin_continue_label); in onEnter()
121 activity.errorText.setText(null); in onEnter()
125 public void onInputChanged(VoicemailChangePinActivity activity) { in onInputChanged() argument
126 activity.setNextEnabled(activity.getCurrentPasswordInput().length() > 0); in onInputChanged()
130 public void handleNext(VoicemailChangePinActivity activity) { in handleNext() argument
131 activity.oldPin = activity.getCurrentPasswordInput(); in handleNext()
132 activity.verifyOldPin(); in handleNext()
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java431 private static void sendBroadcast(Activity activity, int serialNumber, int category, in sendBroadcast() argument
434 intent.putExtra("message", createFromPdu(activity, pdu, serialNumber, category)); in sendBroadcast()
436 activity.sendOrderedBroadcastAsUser(intent, UserHandle.ALL, Manifest.permission.RECEIVE_SMS, in sendBroadcast()
440 public static void testSendMessage7bit(Activity activity, int serialNumber, in testSendMessage7bit() argument
442 sendBroadcast(activity, serialNumber, category, gsm7BitTest); in testSendMessage7bit()
445 public static void testSendMessage7bitUmts(Activity activity, int serialNumber, in testSendMessage7bitUmts() argument
447 sendBroadcast(activity, serialNumber, category, gsm7BitTestUmts); in testSendMessage7bitUmts()
450 public static void testSendMessage7bitNoPadding(Activity activity, int serialNumber, in testSendMessage7bitNoPadding() argument
452 sendBroadcast(activity, serialNumber, category, gsm7BitTestNoPadding); in testSendMessage7bitNoPadding()
455 public static void testSendMessage7bitNoPaddingUmts(Activity activity, int serialNumber, in testSendMessage7bitNoPaddingUmts() argument
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSnackbars.java37 public static final void showDocumentsClipped(Activity activity, int docCount) { in showDocumentsClipped() argument
39 activity, R.plurals.clipboard_files_clipped, docCount); in showDocumentsClipped()
40 Snackbars.makeSnackbar(activity, msg, Snackbar.LENGTH_SHORT).show(); in showDocumentsClipped()
43 public static final void showMove(Activity activity, int docCount) { in showMove() argument
44 CharSequence message = Shared.getQuantityString(activity, R.plurals.move_begin, docCount); in showMove()
45 makeSnackbar(activity, message, Snackbar.LENGTH_SHORT).show(); in showMove()
48 public static final void showCopy(Activity activity, int docCount) { in showCopy() argument
49 CharSequence message = Shared.getQuantityString(activity, R.plurals.copy_begin, docCount); in showCopy()
50 makeSnackbar(activity, message, Snackbar.LENGTH_SHORT).show(); in showCopy()
53 public static final void showCompress(Activity activity, int docCount) { in showCompress() argument
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListActivityTest.java108 CellBroadcastListActivity activity = startActivity(); in testOnListItemClick() local
109 assertNotNull(activity.mListFragment); in testOnListItemClick()
114 activity.mListFragment.onListItemClick(null, view, 0, 0); in testOnListItemClick()
124 CellBroadcastListActivity activity = startActivity(); in testOnActivityCreatedLoaderHistoryFromCbs() local
125 assertNotNull(activity.mListFragment); in testOnActivityCreatedLoaderHistoryFromCbs()
134 activity.mListFragment.onActivityCreated(savedInstanceState); in testOnActivityCreatedLoaderHistoryFromCbs()
135 assertNotNull(activity.mListFragment.getLoaderManager()); in testOnActivityCreatedLoaderHistoryFromCbs()
140 CellBroadcastListActivity activity = startActivity(); in testOnLoadFinishedWithData() local
141 assertNotNull(activity.mListFragment); in testOnLoadFinishedWithData()
175 activity.mListFragment.onLoadFinished(null, data); in testOnLoadFinishedWithData()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java100 Activity activity, String inputId, Runnable recordingRequestRunnable) { in checkStorageStatusAndShowErrorMessage() argument
102 switch (TvSingletons.getSingletons(activity) in checkStorageStatusAndShowErrorMessage()
106 showDvrSmallSizedStorageErrorDialog(activity); in checkStorageStatusAndShowErrorMessage()
109 showDvrMissingStorageErrorDialog(activity); in checkStorageStatusAndShowErrorMessage()
112 showDvrNoFreeSpaceErrorDialog(activity, recordingRequestRunnable); in checkStorageStatusAndShowErrorMessage()
122 Activity activity, Program program, boolean addCurrentProgramToSeries) { in showScheduleDialog() argument
130 showDialogFragment(activity, new DvrScheduleDialogFragment(), args, true, true); in showScheduleDialog()
134 public static void showChannelRecordDurationOptions(Activity activity, Channel channel) { in showChannelRecordDurationOptions() argument
140 showDialogFragment(activity, new DvrChannelRecordDurationOptionDialogFragment(), args); in showChannelRecordDurationOptions()
144 public static void showScheduleConflictDialog(Activity activity, Program program) { in showScheduleConflictDialog() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DOldMainActivityPeer.java155 private final TransactionSafeActivity activity; field in OldMainActivityPeer
228 public OldMainActivityPeer(TransactionSafeActivity activity) { in OldMainActivityPeer() argument
229 this.activity = activity; in OldMainActivityPeer()
236 activity.setContentView(R.layout.main_activity); in onActivityCreate()
239 SmartDialPrefix.initializeNanpSettings(activity); in onActivityCreate()
244 @Theme.Type int theme = ThemeComponent.get(activity).theme().getTheme(); in setTheme()
247 activity.setTheme(R.style.MainActivityTheme_Dark); in setTheme()
251 activity.setTheme(R.style.MainActivityTheme); in setTheme()
261 DialerExecutorComponent.get(activity) in initUiListeners()
262 .createUiListener(activity.getFragmentManager(), "Query last phone number"); in initUiListeners()
[all …]
DMainSearchController.java82 private final TransactionSafeActivity activity; field in MainSearchController
106 TransactionSafeActivity activity, in MainSearchController() argument
112 this.activity = activity; in MainSearchController()
120 (DialpadFragment) activity.getFragmentManager().findFragmentByTag(DIALPAD_FRAGMENT_TAG); in MainSearchController()
122 (NewSearchFragment) activity.getFragmentManager().findFragmentByTag(SEARCH_FRAGMENT_TAG); in MainSearchController()
152 Logger.get(activity).logScreenView(ScreenEvent.Type.MAIN_DIALPAD, activity); in showDialpad()
159 activity.setTitle(R.string.dialpad_activity_title); in showDialpad()
161 FragmentTransaction transaction = activity.getFragmentManager().beginTransaction(); in showDialpad()
221 activity.setTitle(R.string.main_activity_label); in hideDialpad()
232 if (activity.isSafeToCommitTransactions() in hideDialpad()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java112 SetupPassthroughActivity activity = in create_emptyIntent() local
117 shadowOf(activity).getNextStartedActivityForResult(); in create_emptyIntent()
120 assertThat(activity.isFinishing()).isTrue(); in create_emptyIntent()
125 SetupPassthroughActivity activity = createSetupActivityFor("com.example/.Input"); in create_noInputs() local
127 shadowOf(activity).getNextStartedActivityForResult(); in create_noInputs()
130 assertThat(activity.isFinishing()).isTrue(); in create_noInputs()
138 SetupPassthroughActivity activity = createSetupActivityFor("com.example/.Other"); in create_inputNotFound() local
140 shadowOf(activity).getNextStartedActivityForResult(); in create_inputNotFound()
143 assertThat(activity.isFinishing()).isTrue(); in create_inputNotFound()
150 SetupPassthroughActivity activity = createSetupActivityFor(testInput.getId()); in create_validInput() local
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskSystemShortcut.java81 BaseDraggingActivity activity, ItemInfo itemInfo) { in getOnClickListener() argument
85 public View.OnClickListener getOnClickListener(BaseDraggingActivity activity, TaskView view) { in getOnClickListener() argument
93 dummyInfo.title = TaskUtils.getTitle(activity, task); in getOnClickListener()
95 return getOnClickListenerForTask(activity, task, dummyInfo); in getOnClickListener()
99 BaseDraggingActivity activity, Task task, ItemInfo dummyInfo) { in getOnClickListenerForTask() argument
100 return mSystemShortcut.getOnClickListener(activity, dummyInfo); in getOnClickListenerForTask()
118 protected abstract boolean isAvailable(BaseDraggingActivity activity, int displayId); in isAvailable() argument
119 protected abstract ActivityOptions makeLaunchOptions(Activity activity); in makeLaunchOptions() argument
120 protected abstract boolean onActivityStarted(BaseDraggingActivity activity); in onActivityStarted() argument
124 BaseDraggingActivity activity, TaskView taskView) { in getOnClickListener() argument
[all …]
DLauncherActivityControllerHelper.java93 public void onTransitionCancelled(Launcher activity, boolean activityVisible) { in onTransitionCancelled() argument
94 LauncherState startState = activity.getStateManager().getRestState(); in onTransitionCancelled()
95 activity.getStateManager().goToState(startState, activityVisible); in onTransitionCancelled()
99 public void onSwipeUpToRecentsComplete(Launcher activity) { in onSwipeUpToRecentsComplete() argument
101 activity.getStateManager().reapplyState(); in onSwipeUpToRecentsComplete()
102 DiscoveryBounce.showForOverviewIfNeeded(activity); in onSwipeUpToRecentsComplete()
106 public void onSwipeUpToHomeComplete(Launcher activity) { in onSwipeUpToHomeComplete() argument
109 activity.getStateManager().reapplyState(); in onSwipeUpToHomeComplete()
122 public HomeAnimationFactory prepareHomeUI(Launcher activity) { in prepareHomeUI() argument
123 final DeviceProfile dp = activity.getDeviceProfile(); in prepareHomeUI()
[all …]
DFallbackActivityControllerHelper.java57 public void onTransitionCancelled(RecentsActivity activity, boolean activityVisible) { in onTransitionCancelled() argument
75 public void onSwipeUpToRecentsComplete(RecentsActivity activity) { in onSwipeUpToRecentsComplete() argument
76 RecentsView recentsView = activity.getOverviewPanel(); in onSwipeUpToRecentsComplete()
90 public HomeAnimationFactory prepareHomeUI(RecentsActivity activity) { in prepareHomeUI() argument
91 RecentsView recentsView = activity.getOverviewPanel(); in prepareHomeUI()
121 public AnimationFactory prepareRecentsUI(RecentsActivity activity, boolean activityVisible,
127 FallbackRecentsView rv = activity.getOverviewPanel();
146 activity.getDeviceProfile(), activity, new Rect()));
192 RecentsActivity activity = getCreatedActivity();
193 if (activity != null && activity.hasWindowFocus()) {
[all …]
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java54 public static void promptUserForMessageIfNecessary(Activity activity, View rootView) { in promptUserForMessageIfNecessary() argument
55 if (isEnabled(activity)) { in promptUserForMessageIfNecessary()
56 if (shouldPromptUserToViewSentMessage(activity)) { in promptUserForMessageIfNecessary()
57 promptUserToViewSentMessage(activity, rootView); in promptUserForMessageIfNecessary()
58 } else if (shouldPromptUserToSendMessage(activity)) { in promptUserForMessageIfNecessary()
59 promptUserToSendMessage(activity, rootView); in promptUserForMessageIfNecessary()
61 clear(activity); in promptUserForMessageIfNecessary()
73 private static void promptUserToSendMessage(Activity activity, View rootView) { in promptUserToSendMessage() argument
75 String message = activity.getString(R.string.post_call_message); in promptUserToSendMessage()
76 EnrichedCallManager manager = EnrichedCallComponent.get(activity).getEnrichedCallManager(); in promptUserToSendMessage()
[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/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java87 ViewInfoActivity activity = startViewInfoActivity(); in testInitialState() local
89 assertThat(activity.getFragments()).isEmpty(); in testInitialState()
90 assertThat(activity.findViewById(R.id.name_and_dob_linear_layout).getVisibility()) in testInitialState()
92 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testInitialState()
94 ViewFlipper viewFlipper = (ViewFlipper) activity.findViewById(R.id.view_flipper); in testInitialState()
95 int noInfoIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.no_info)); in testInitialState()
105 ViewInfoActivity activity = startViewInfoActivity(); in testNameSet() local
107 assertThat(activity.getFragments()).isEmpty(); in testNameSet()
108 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testNameSet()
109 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/WallpaperPicker2/src/com/android/wallpaper/util/
DTileSizeCalculator.java70 public static int getNumCategoryColumns(@NonNull Activity activity) { in getNumCategoryColumns() argument
71 int windowWidthPx = getActivityWindowWidthPx(activity); in getNumCategoryColumns()
72 return getNumCategoryColumns(activity, windowWidthPx); in getNumCategoryColumns()
79 public static int getNumIndividualColumns(@NonNull Activity activity) { in getNumIndividualColumns() argument
80 int windowWidthPx = getActivityWindowWidthPx(activity); in getNumIndividualColumns()
81 return getNumIndividualColumns(activity, windowWidthPx); in getNumIndividualColumns()
84 private static int getNumCategoryColumns(Activity activity, int windowWidthPx) { in getNumCategoryColumns() argument
85 … return getNumColumns(activity, windowWidthPx, CATEGORY_FEWER_COLUMNS, CATEGORY_MORE_COLUMNS); in getNumCategoryColumns()
88 private static int getNumIndividualColumns(Activity activity, int windowWidthPx) { in getNumIndividualColumns() argument
90 activity, windowWidthPx, INDIVIDUAL_FEWER_COLUMNS, INDIVIDUAL_MORE_COLUMNS); in getNumIndividualColumns()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DReviewPermissionsWearFragment.java77 Activity activity = getActivity(); in onCreatePreferences() local
78 if (activity == null) { in onCreatePreferences()
84 activity.finish(); in onCreatePreferences()
88 mAppPermissions = new AppPermissions(activity, packageInfo, false, in onCreatePreferences()
92 activity.finish(); in onCreatePreferences()
105 activity.finish(); in onCreatePreferences()
117 Activity activity = getActivity(); in loadPreferences() local
118 if (activity == null) { in loadPreferences()
174 mNewPermissionsCategory = new PreferenceCategory(activity); in loadPreferences()
183 currentPermissionsCategory = new PreferenceCategory(activity); in loadPreferences()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollIntroductionTest.java127 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() local
128 activity.onBackPressed(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded()
130 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded()
141 SetupFingerprintEnrollIntroduction activity = mController.get(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
142 activity.onBackPressed(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
144 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
152 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() local
153 PartnerCustomizationLayout layout = activity.findViewById(R.id.setup_wizard_layout); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded()
159 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded()
169 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java95 SetNewPasswordActivity activity = in testChooseLockGeneric() local
97 activity.launchChooseLock(new Bundle()); in testChooseLockGeneric()
98 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testChooseLockGeneric()
102 .isEqualTo(new ComponentName(activity, ChooseLockGeneric.class)); in testChooseLockGeneric()
109 SetNewPasswordActivity activity = in testSetupChooseLockGeneric() local
111 activity.launchChooseLock(new Bundle()); in testSetupChooseLockGeneric()
112 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testSetupChooseLockGeneric()
116 .isEqualTo(new ComponentName(activity, SetupChooseLockGeneric.class)); in testSetupChooseLockGeneric()
129 SetNewPasswordActivity activity = in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() local
132 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission()
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperSettings.java118 Activity activity = getActivity(); in onCreatePreferences() local
119 if (activity != null && mGaugePreference != null) { in onCreatePreferences()
120 Intent intent = activity.getIntent(); in onCreatePreferences()
123 getGaugeString(getContext(), intent, activity.getCallingPackage()); in onCreatePreferences()
162 Activity activity = getActivity(); in onActivityCreated() local
163 if (activity.checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) in onActivityCreated()
165 activity.requestPermissions( in onActivityCreated()
283 DeletionHelperActivity activity = (DeletionHelperActivity) getActivity(); in startEmptyState() local
284 activity.setIsEmptyState(true /* isEmptyState */); in startEmptyState()
298 Activity activity = getActivity(); in clearData() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAbstractFloatingView.java185 ActivityContext activity, @FloatingViewType int type) { in getOpenView() argument
186 BaseDragLayer dragLayer = activity.getDragLayer(); in getOpenView()
202 public static void closeOpenContainer(ActivityContext activity, in closeOpenContainer() argument
204 AbstractFloatingView view = getOpenView(activity, type); in closeOpenContainer()
210 public static void closeOpenViews(ActivityContext activity, boolean animate, in closeOpenViews() argument
212 BaseDragLayer dragLayer = activity.getDragLayer(); in closeOpenViews()
226 public static void closeAllOpenViews(ActivityContext activity, boolean animate) { in closeAllOpenViews() argument
227 closeOpenViews(activity, animate, TYPE_ALL); in closeAllOpenViews()
228 activity.finishAutoCancelActionMode(); in closeAllOpenViews()
231 public static void closeAllOpenViews(ActivityContext activity) { in closeAllOpenViews() argument
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsActivityTracker.java59 private boolean init(T activity, boolean visible) { in init() argument
60 return mOnInitListener.test(activity, visible); in init()
76 public static void onRecentsActivityCreate(BaseRecentsActivity activity) { in onRecentsActivityCreate() argument
77 sCurrentActivity = new WeakReference<>(activity); in onRecentsActivityCreate()
78 sScheduler.initIfPending(activity, false); in onRecentsActivityCreate()
82 public static void onRecentsActivityNewIntent(BaseRecentsActivity activity) { in onRecentsActivityNewIntent() argument
83 sScheduler.initIfPending(activity, activity.isStarted()); in onRecentsActivityNewIntent()
86 public static void onRecentsActivityDestroy(BaseRecentsActivity activity) { in onRecentsActivityDestroy() argument
87 if (sCurrentActivity.get() == activity) { in onRecentsActivityDestroy()
104 BaseRecentsActivity activity = sCurrentActivity.get(); in run() local
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DReviewPermissionsFragment.java97 Activity activity = getActivity(); in onCreate() local
98 if (activity == null) { in onCreate()
104 activity.finish(); in onCreate()
108 mAppPermissions = new AppPermissions(activity, packageInfo, false, true, in onCreate()
125 activity.finish(); in onCreate()
149 Activity activity = getActivity(); in onClick() local
150 if (activity == null) { in onClick()
158 activity.setResult(Activity.RESULT_CANCELED); in onClick()
168 activity.finish(); in onClick()
266 Activity activity = getActivity(); in bindUi() local
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAdapter.java129 protected final Activity activity; field in CallLogAdapter
176 if (activity != null) {
178 activity.getCurrentFocus(),
179 activity.getString(R.string.description_entering_bulk_action_mode));
201 Logger.get(activity).logImpression(DialerImpression.Type.MULTISELECT_TAP_DELETE_ICON);
214 if (activity != null) {
216 activity.getCurrentFocus(),
217 activity.getString(R.string.description_leaving_bulk_action_mode));
231 new AlertDialog.Builder(activity) in showDeleteSelectedItemsDialog()
234 activity in showDeleteSelectedItemsDialog()
[all …]

12345678910>>...36