Home
last modified time | relevance | path

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

123

/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.java173 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
176 fm.beginTransaction() in onCreate()
275 FragmentManager fm = getSupportFragmentManager(); in initializeMobile() local
276 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeMobile()
285 fm.beginTransaction() in initializeMobile()
337 FragmentManager fm = getSupportFragmentManager(); in initializeDesktop() local
338 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeDesktop()
367 FragmentManager fm = getSupportFragmentManager(); in initializeDesktopOnline() local
368 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeDesktopOnline()
375 fm.beginTransaction() in initializeDesktopOnline()
[all …]
DViewOnlyPreviewActivity.java53 FragmentManager fm = getSupportFragmentManager(); in onAttachedToWindow() local
54 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onAttachedToWindow()
65 fm.beginTransaction() in onAttachedToWindow()
DPreviewActivity.java55 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
56 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate()
67 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/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java289 final FragmentManager fm = getSupportFragmentManager(); in onPrepareOptionsMenu() local
290 SaveFragment.get(fm).prepareForDirectory(cwd); in onPrepareOptionsMenu()
304 final FragmentManager fm = getSupportFragmentManager(); in refreshDirectory() local
309 DirectoryFragment.showRecentsOpen(fm, anim); in refreshDirectory()
320 DirectoryFragment.showDirectory(fm, root, cwd, anim); in refreshDirectory()
325 final SaveFragment save = SaveFragment.get(fm); in refreshDirectory()
333 final PickFragment pick = PickFragment.get(fm); in refreshDirectory()
348 final FragmentManager fm = getSupportFragmentManager(); in onDocumentPicked() local
360 SaveFragment.get(fm).setReplaceTarget(doc); in onDocumentPicked()
DPickFragment.java83 public static void show(FragmentManager fm) { in show() argument
85 if (get(fm) != null) { in show()
90 final FragmentTransaction ft = fm.beginTransaction(); in show()
95 public static PickFragment get(FragmentManager fm) { in get() argument
96 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()
DActionHandler.java364 void pickDocument(FragmentManager fm, DocumentInfo pickTarget) { in pickDocument() argument
370 mInjector.dialogs.confirmAction(fm, pickTarget, ConfirmFragment.TYPE_OEPN_TREE); in pickDocument()
400 void saveDocument(FragmentManager fm, DocumentInfo replaceTarget) { in saveDocument() argument
408 mInjector.dialogs.confirmAction(fm, replaceTarget, ConfirmFragment.TYPE_OVERWRITE); in saveDocument()
/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/DocumentsUI/src/com/android/documentsui/queries/
DSearchFragment.java61 public static void showFragment(FragmentManager fm, String initQuery) { in showFragment() argument
67 fragment.show(fm, TAG); in showFragment()
70 public static SearchFragment get(FragmentManager fm) { in get() argument
71 final Fragment fragment = fm.findFragmentByTag(TAG); in get()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalView.java98 final FontMetrics fm = textPaint.getFontMetrics(); in setTextSize() local
99 charTop = (int) Math.ceil(fm.top); in setTextSize()
104 charHeight = (int) Math.ceil(fm.descent - fm.top); in setTextSize()
/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/DocumentsUI/src/com/android/documentsui/ui/
DDialogController.java60 void confirmAction(FragmentManager fm, DocumentInfo pickTarget, int type); in confirmAction() argument
203 public void confirmAction(FragmentManager fm, DocumentInfo pickTarget, int type) { in confirmAction() argument
204 ConfirmFragment.show(fm, pickTarget, type); in confirmAction()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java1049 FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) { in showDirectory() argument
1053 create(fm, root, doc, anim); in showDirectory()
1056 public static void showRecentsOpen(FragmentManager fm, int anim) { in showRecentsOpen() argument
1057 create(fm, null, null, anim); in showRecentsOpen()
1061 FragmentManager fm, in create() argument
1078 final FragmentTransaction ft = fm.beginTransaction(); in create()
1088 public static @Nullable DirectoryFragment get(FragmentManager fm) { in get() argument
1090 Fragment fragment = fm.findFragmentById(getFragmentId()); in get()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java80 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
81 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate()
140 fm.beginTransaction() in onCreate()
/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/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()
DLocationFragment.java66 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local
79 GuidedStepFragment.add(fm, fragment); in onGuidedActionClicked()
DResultFragment.java74 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local
78 fm.popBackStack(); in onGuidedActionClicked()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DClockFacePickerActivity.java70 final FragmentManager fm = getSupportFragmentManager(); in onCreate() local
71 final FragmentTransaction fragmentTransaction = fm.beginTransaction(); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAddAccessoryActivity.java206 final FragmentManager fm = getFragmentManager(); in onCreate() local
210 fm.beginTransaction() in onCreate()
216 fm.getFragment(savedInstanceState, in onCreate()
219 fm.getFragment(savedInstanceState, in onCreate()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersActivity.java118 FragmentManager fm = getFragmentManager(); in onCreate() local
120 (BlockNumberTaskFragment) fm.findFragmentByTag(TAG_BLOCK_NUMBER_TASK_FRAGMENT); in onCreate()
124 fm.beginTransaction() in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DWorkSoundPreferenceController.java348 FragmentManager fm = parent.getFragmentManager(); in show() local
349 if (fm.findFragmentByTag(TAG) == null) { in show()
352 fragment.show(fm, TAG); in show()

123