Home
last modified time | relevance | path

Searched refs:fragmentName (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java108 final String fragmentName = bundle.getTargetClass().getName(); in getSliceData() local
114 Log.e(TAG, fragmentName + " dose not implement Search Index Provider"); in getSliceData()
119 fragmentName); in getSliceData()
129 String fragmentName) { in getSliceDataFromProvider() argument
144 Log.e(TAG, fragmentName + " provides invalid XML (0) in search provider."); in getSliceDataFromProvider()
148 List<SliceData> xmlSliceData = getSliceDataFromXML(xmlResId, fragmentName); in getSliceDataFromProvider()
155 private List<SliceData> getSliceDataFromXML(int xmlResId, String fragmentName) { in getSliceDataFromXML() argument
225 .setFragmentName(fragmentName) in getSliceDataFromXML()
234 Log.w(TAG, "Invalid data when building SliceData for " + fragmentName, e); in getSliceDataFromXML()
245 fragmentName, in getSliceDataFromXML()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DTestFragmentActivity.java46 final String fragmentName = intent.getStringExtra(EXTRA_SHOW_FRAGMENT); in onCreate() local
47 if (fragmentName == null) { in onCreate()
51 mFragment = Fragment.instantiate(this, fragmentName); in onCreate()
53 fragmentManager.beginTransaction().add(mFragment, fragmentName).commit(); in onCreate()
DSettingsActivity.java80 public boolean isValidFragment(final String fragmentName) { in isValidFragment() argument
81 return FragmentUtils.isValidFragment(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiPickerActivity.java41 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
43 SavedAccessPointsWifiSettings2.class.getName().equals(fragmentName); in isValidFragment()
45 if (WifiSettings.class.getName().equals(fragmentName) in isValidFragment()
46 || WifiP2pSettings.class.getName().equals(fragmentName) in isValidFragment()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetActivity.java34 String fragmentName = StorageSummaryFragment.class.getName(); in createSettingsFragment() local
36 fragmentName = getString(R.string.storage_summary_fragment_name); in createSettingsFragment()
39 .newSettingsFragment(fragmentName, null); in createSettingsFragment()
/packages/apps/Settings/src/com/android/settings/applications/autofill/
DAutofillPickerActivity.java40 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
41 return super.isValidFragment(fragmentName) in isValidFragment()
42 || DefaultAutofillPicker.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsageActivity.java70 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
71 return super.isValidFragment(fragmentName) in isValidFragment()
72 || AppDataUsage.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/password/
DSetupChooseLockGeneric.java60 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
61 return SetupChooseLockGenericFragment.class.getName().equals(fragmentName); in isValidFragment()
240 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
241 return InternalSetupChooseLockGenericFragment.class.getName().equals(fragmentName); in isValidFragment()
DSetupChooseLockPattern.java50 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
51 return SetupChooseLockPatternFragment.class.getName().equals(fragmentName); in isValidFragment()
DSetupChooseLockPassword.java55 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
56 return SetupChooseLockPasswordFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java506 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
510 if (SettingsGateway.ENTRY_FRAGMENTS[i].equals(fragmentName)) return true; in isValidFragment()
577 private void switchToFragment(String fragmentName, Bundle args, boolean validate, in switchToFragment() argument
579 Log.d(LOG_TAG, "Switching to fragment " + fragmentName); in switchToFragment()
580 if (validate && !isValidFragment(fragmentName)) { in switchToFragment()
582 + fragmentName); in switchToFragment()
584 Fragment f = Utils.getTargetFragment(this, fragmentName, args); in switchToFragment()
DSettings.java136 public boolean isValidFragment(String fragmentName) { in isValidFragment() argument
137 return super.isValidFragment(fragmentName) in isValidFragment()
138 || (fragmentName != null in isValidFragment()
139 && TextUtils.equals(fragmentName, getAlternativeFragmentName())); in isValidFragment()
DSubSettings.java34 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
35 Log.d("SubSettings", "Launching fragment " + fragmentName); in isValidFragment()
DSetupEncryptionInterstitial.java50 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
51 return SetupEncryptionInterstitialFragment.class.getName().equals(fragmentName); in isValidFragment()
DSetupRedactionInterstitial.java70 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
71 return SetupRedactionInterstitialFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/
DCarDevelopmentSettingsDashboardActivity.java29 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
30 return CAR_DEVELOPMENT_SETTINGS_FRAGMENT.equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppOpenByDefaultActivity.java34 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
35 return AppLaunchSettings.class.getName().equals(fragmentName); in isValidFragment()
DInstalledAppDetailsTop.java34 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
35 return AppInfoDashboardFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactionSettingsStandalone.java40 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
41 return RedactionInterstitialFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeEnablerActivity.java53 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
54 return FRAGMENT_NAME.equals(fragmentName); in isValidFragment()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsActivity.java51 public boolean isValidFragment(String fragmentName) { in isValidFragment() argument
52 return FragmentUtils.isValidFragment(fragmentName); in isValidFragment()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSpellCheckerSettingsActivity.java51 public boolean isValidFragment(String fragmentName) { in isValidFragment() argument
52 return FragmentUtils.isValidFragment(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/survey/
DSurveyMixin.java47 public SurveyMixin(Fragment fragment, String fragmentName) { in SurveyMixin() argument
48 mName = fragmentName; in SurveyMixin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DUserDictionaryPreferenceControllerTest.java75 final String fragmentName = UserDictionarySettings.class.getCanonicalName(); in updateState_singleLocale_setUserDictionarySettingsAsFragment_setLocaleInExtra() local
76 assertThat(mPreference.getFragment()).isEqualTo(fragmentName); in updateState_singleLocale_setUserDictionarySettingsAsFragment_setLocaleInExtra()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DFragmentUtils.java61 public static boolean isValidFragment(String fragmentName) { in isValidFragment() argument
62 return sLatinImeFragments.contains(fragmentName); in isValidFragment()

12