/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | CenterAlignedDynamicDrawableSpan.java | 50 Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) { in getSize() argument 51 super.getSize(paint, text, start, end, fm); in getSize() 53 if (fm != null) { in getSize() 54 fm.ascent = paint.getFontMetricsInt().ascent; in getSize() 55 fm.descent = paint.getFontMetricsInt().descent; in getSize() 56 fm.top = fm.ascent; in getSize() 57 fm.bottom = fm.descent; in getSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | TintedDrawableSpan.java | 41 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize() argument 42 fm = fm == null ? paint.getFontMetricsInt() : fm; in getSize() 43 int iconSize = fm.bottom - fm.top; in getSize() 45 return super.getSize(paint, text, start, end, fm); in getSize()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | TopLevelPickerActivity.java | 182 FragmentManager fm = getSupportFragmentManager(); in onCreate() local 185 fm.beginTransaction() in onCreate() 296 FragmentManager fm = getSupportFragmentManager(); in initializeMobile() local 297 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeMobile() 307 fm.beginTransaction() in initializeMobile() 357 FragmentManager fm = getSupportFragmentManager(); in initializeDesktop() local 358 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeDesktop() 388 FragmentManager fm = getSupportFragmentManager(); in initializeDesktopOnline() local 389 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeDesktopOnline() 396 fm.beginTransaction() in initializeDesktopOnline() [all …]
|
D | PreviewActivity.java | 54 FragmentManager fm = getSupportFragmentManager(); in onCreate() local 55 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate() 68 fm.beginTransaction() in onCreate()
|
D | ViewOnlyPreviewActivity.java | 57 FragmentManager fm = getSupportFragmentManager(); in onCreate() local 58 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate() 71 fm.beginTransaction() in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ConfirmCredentialTest.java | 35 FragmentManager fm = Robolectric.buildActivity(FragmentActivity.class). in testLastTryDialogShownExactlyOnce() local 40 fm, "title", android.R.string.yes, android.R.string.ok, false)).isTrue(); in testLastTryDialogShownExactlyOnce() 42 fm, "title", android.R.string.yes, android.R.string.ok, false)).isFalse(); in testLastTryDialogShownExactlyOnce() 45 LastTryDialog.hide(fm); in testLastTryDialogShownExactlyOnce() 47 fm, "title", android.R.string.yes, android.R.string.ok, false)).isTrue(); in testLastTryDialogShownExactlyOnce()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | DialogFragment.java | 205 FragmentManager fm = getRealActivity().getFragmentManager(); in getContentFragmentTransaction() local 206 boolean hasContent = fm.findFragmentByTag(BaseDialogFragment.TAG_CONTENT) != null; in getContentFragmentTransaction() 207 FragmentTransaction ft = fm.beginTransaction(); in getContentFragmentTransaction() 223 FragmentTransaction ft, boolean addToBackStack, FragmentManager fm) { in addActionFragmentToTransaction() argument 225 ft = fm.beginTransaction(); in addActionFragmentToTransaction() 227 boolean hasActions = fm.findFragmentByTag(BaseDialogFragment.TAG_ACTION) != null; in addActionFragmentToTransaction()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | ProgressDialogFragment.java | 49 public static void show(FragmentManager fm, String title, OnDismissCallback dismissCallback) { in show() argument 50 ProgressDialogFragment fragment = (ProgressDialogFragment) fm.findFragmentByTag(TAG); in show() 56 FragmentTransaction ft = fm.beginTransaction(); in show() 75 public static void dismiss(FragmentManager fm) { in dismiss() argument 76 DialogFragment fragment = (DialogFragment) fm.findFragmentByTag(TAG); in dismiss()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchFragment.java | 57 public static void showFragment(FragmentManager fm, String initQuery) { in showFragment() argument 58 if (fm.isStateSaved()) { in showFragment() 68 final FragmentTransaction ft = fm.beginTransaction(); in showFragment() 73 public static void dismissFragment(FragmentManager fm) { in dismissFragment() argument 74 SearchFragment fragment = get(fm); in dismissFragment() 80 public static SearchFragment get(FragmentManager fm) { in get() argument 81 final Fragment fragment = fm.findFragmentByTag(TAG); in get()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 318 final FragmentManager fm = getSupportFragmentManager(); in onPrepareOptionsMenu() local 319 SaveFragment.get(fm).prepareForDirectory(cwd); in onPrepareOptionsMenu() 333 final FragmentManager fm = getSupportFragmentManager(); in refreshDirectory() local 338 DirectoryFragment.showRecentsOpen(fm, anim); in refreshDirectory() 349 DirectoryFragment.showDirectory(fm, root, cwd, anim); in refreshDirectory() 354 final SaveFragment save = SaveFragment.get(fm); in refreshDirectory() 362 final PickFragment pick = PickFragment.get(fm); in refreshDirectory() 378 final FragmentManager fm = getSupportFragmentManager(); in onDocumentPicked() local 397 SaveFragment.get(fm).setReplaceTarget(doc); in onDocumentPicked()
|
D | PickFragment.java | 92 public static void show(FragmentManager fm) { in show() argument 94 if (get(fm) != null) { in show() 99 final FragmentTransaction ft = fm.beginTransaction(); in show() 104 public static PickFragment get(FragmentManager fm) { in get() argument 105 return (PickFragment) fm.findFragmentByTag(TAG); in get()
|
D | SaveFragment.java | 63 static void show(FragmentManager fm, String mimeType, String displayName) { in show() argument 71 final FragmentTransaction ft = fm.beginTransaction(); in show() 76 public static SaveFragment get(FragmentManager fm) { in get() argument 77 return (SaveFragment) fm.findFragmentByTag(TAG); in get()
|
/packages/apps/Launcher3/src/com/android/launcher3/settings/ |
D | SettingsActivity.java | 106 final FragmentManager fm = getSupportFragmentManager(); in onCreate() local 107 final Fragment f = fm.getFragmentFactory().instantiate(getClassLoader(), in onCreate() 111 fm.beginTransaction().replace(R.id.content_frame, f).commit(); in onCreate() 146 final FragmentManager fm = getSupportFragmentManager(); in startPreference() local 147 final Fragment f = fm.getFragmentFactory().instantiate(getClassLoader(), fragment); in startPreference() 150 ((DialogFragment) f).show(fm, key); in startPreference()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorSpringBoardActivity.java | 162 final FragmentManager fm = getFragmentManager(); in showDialog() local 164 (SplitContactConfirmationDialogFragment) fm in showDialog() 168 fm.beginTransaction().show(split).commitAllowingStateLoss(); in showDialog() 171 PickRawContactDialogFragment pick = (PickRawContactDialogFragment) fm in showDialog() 175 final FragmentTransaction ft = fm.beginTransaction(); in showDialog()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SidecarFragment.java | 112 FragmentManager fm, String tag, Class<T> clazz, Bundle args) { in get() argument 113 T fragment = (T) fm.findFragmentByTag(tag); in get() 125 fm.beginTransaction().add(fragment, tag).commit(); in get() 129 fm.executePendingTransactions(); in get()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortListFragment.java | 39 public static void show(FragmentManager fm, SortModel model) { in show() argument 40 if (fm.isStateSaved()) { in show() 45 if (fm.findFragmentByTag(TAG_SORTING_LIST) == null) { in show() 50 fragment.show(fm, TAG_SORTING_LIST); in show()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | DeleteDocumentFragment.java | 59 public static void show(FragmentManager fm, List<DocumentInfo> docs, DocumentInfo srcParent) { in show() argument 60 if (fm.isStateSaved()) { in show() 68 dialog.show(fm, TAG_DELETE_DOCUMENT); in show()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | DialogController.java | 57 void confirmAction(FragmentManager fm, DocumentInfo pickTarget, int type); in confirmAction() argument 175 public void confirmAction(FragmentManager fm, DocumentInfo pickTarget, int type) { in confirmAction() argument 176 ConfirmFragment.show(fm, pickTarget, type); in confirmAction()
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 145 public static void show(FragmentManager fm, long id, long size) { in show() argument 151 dialog.show(fm, TAG_PAUSED); in show() 207 public static void show(FragmentManager fm, long id, int reason) { in show() argument 213 dialog.show(fm, TAG_FAILED); in show()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SwitchToEuiccSubscriptionSidecar.java | 34 public static SwitchToEuiccSubscriptionSidecar get(FragmentManager fm) { in get() argument 36 fm, TAG, SwitchToEuiccSubscriptionSidecar.class, null /* args */); in get()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoPageAdapter.java | 28 public BuglePhotoPageAdapter(Context context, FragmentManager fm, Cursor c, float maxScale, in BuglePhotoPageAdapter() argument 30 super(context, fm, c, maxScale, thumbsFullScreen); in BuglePhotoPageAdapter()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | AudioZoneVolumeTabAdapter.java | 31 AudioZoneVolumeTabAdapter(FragmentManager fm) { in AudioZoneVolumeTabAdapter() argument 32 super(fm); in AudioZoneVolumeTabAdapter()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | CarAudioZoneTabAdapter.java | 33 CarAudioZoneTabAdapter(FragmentManager fm) { in CarAudioZoneTabAdapter() argument 34 super(fm); in CarAudioZoneTabAdapter()
|
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/ |
D | WelcomeFragment.java | 56 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local 59 GuidedStepFragment.add(fm, new LocationFragment()); in onGuidedActionClicked()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | CreateDirectoryFragment.java | 66 public static void show(FragmentManager fm) { in show() argument 67 if (fm.isStateSaved()) { in show() 73 dialog.show(fm, TAG_CREATE_DIRECTORY); in show()
|