Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DCenterAlignedDynamicDrawableSpan.java50 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/
DTintedDrawableSpan.java41 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/
DTopLevelPickerActivity.java182 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 …]
DPreviewActivity.java54 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
55 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate()
68 fm.beginTransaction() in onCreate()
DViewOnlyPreviewActivity.java57 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/
DConfirmCredentialTest.java35 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/
DDialogFragment.java205 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/
DProgressDialogFragment.java49 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/
DSearchFragment.java57 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/
DPickActivity.java318 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()
DPickFragment.java92 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()
DSaveFragment.java63 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/
DSettingsActivity.java106 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/
DContactEditorSpringBoardActivity.java162 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/
DSidecarFragment.java112 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/
DSortListFragment.java39 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/
DDeleteDocumentFragment.java59 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/
DDialogController.java57 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/
DTrampolineActivity.java145 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/
DSwitchToEuiccSubscriptionSidecar.java34 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/
DBuglePhotoPageAdapter.java28 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/
DAudioZoneVolumeTabAdapter.java31 AudioZoneVolumeTabAdapter(FragmentManager fm) { in AudioZoneVolumeTabAdapter() argument
32 super(fm); in AudioZoneVolumeTabAdapter()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DCarAudioZoneTabAdapter.java33 CarAudioZoneTabAdapter(FragmentManager fm) { in CarAudioZoneTabAdapter() argument
34 super(fm); in CarAudioZoneTabAdapter()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DWelcomeFragment.java56 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local
59 GuidedStepFragment.add(fm, new LocationFragment()); in onGuidedActionClicked()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DCreateDirectoryFragment.java66 public static void show(FragmentManager fm) { in show() argument
67 if (fm.isStateSaved()) { in show()
73 dialog.show(fm, TAG_CREATE_DIRECTORY); in show()

123