Home
last modified time | relevance | path

Searched refs:mSettingsIntent (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DUsageAccessDetails.java58 private Intent mSettingsIntent; field in UsageAccessDetails
84 mSettingsIntent = new Intent(Intent.ACTION_MAIN) in onCreate()
92 if (mSettingsIntent != null) { in onPreferenceClick()
94 getActivity().startActivityAsUser(mSettingsIntent, new UserHandle(mUserId)); in onPreferenceClick()
96 Log.w(TAG, "Unable to launch app usage access settings " + mSettingsIntent, e); in onPreferenceClick()
148 ResolveInfo resolveInfo = mPm.resolveActivityAsUser(mSettingsIntent, in refreshUi()
155 mSettingsIntent.setComponent(new ComponentName(resolveInfo.activityInfo.packageName, in refreshUi()
DWriteSettingsDetails.java59 private Intent mSettingsIntent; field in WriteSettingsDetails
83 mSettingsIntent = new Intent(Intent.ACTION_MAIN) in onCreate()
91 if (mSettingsIntent != null) { in onPreferenceClick()
93 getActivity().startActivityAsUser(mSettingsIntent, new UserHandle(mUserId)); in onPreferenceClick()
95 Log.w(LOG_TAG, "Unable to launch write system settings " + mSettingsIntent, e); in onPreferenceClick()
DDrawOverlayDetails.java61 private Intent mSettingsIntent; field in DrawOverlayDetails
88 mSettingsIntent = new Intent(Intent.ACTION_MAIN) in onCreate()
115 if (mSettingsIntent != null) { in onPreferenceClick()
117 getActivity().startActivityAsUser(mSettingsIntent, new UserHandle(mUserId)); in onPreferenceClick()
119 … Log.w(LOG_TAG, "Unable to launch app draw overlay settings " + mSettingsIntent, e); in onPreferenceClick()
DPictureInPictureDetails.java47 private Intent mSettingsIntent; field in PictureInPictureDetails
67 mSettingsIntent = new Intent(Intent.ACTION_MAIN) in onCreate()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java77 private Intent mSettingsIntent; field in LiveWallpaperPreview
125 mSettingsIntent = new Intent(); in initUI()
126 mSettingsIntent.setComponent(new ComponentName(mPackageName, settingsActivity)); in initUI()
127 mSettingsIntent.putExtra(WallpaperSettingsActivity.EXTRA_PREVIEW_MODE, true); in initUI()
129 final ActivityInfo activityInfo = mSettingsIntent.resolveActivityInfo(pm, 0); in initUI()
132 mSettingsIntent = null; in initUI()
269 menu.findItem(R.id.configure).setVisible(mSettingsIntent != null); in onCreateOptionsMenu()
324 startActivity(mSettingsIntent); in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java47 protected Intent mSettingsIntent; field in ToggleFeaturePreferenceFragment
68 if (mSettingsTitle != null && mSettingsIntent != null) { in onViewCreated()
73 settingsPref.setIntent(mSettingsIntent); in onViewCreated()
DToggleAccessibilityServicePreferenceFragment.java288 mSettingsIntent = settingsIntent; in onProcessArguments()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java112 private Intent mSettingsIntent; field in PrintServiceSettingsFragment
358 mSettingsIntent = settingsIntent; in onLoadFinished()
362 mSettingsIntent = null; in onLoadFinished()
405 if (mServiceEnabled && mSettingsIntent != null) { in onCreateOptionsMenu()
406 settings.setIntent(mSettingsIntent); in onCreateOptionsMenu()