Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 25 of 66) 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.java170 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
173 fm.beginTransaction() in onCreate()
249 FragmentManager fm = getSupportFragmentManager(); in initializeMobile() local
250 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeMobile()
259 fm.beginTransaction() in initializeMobile()
311 FragmentManager fm = getSupportFragmentManager(); in initializeDesktop() local
312 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeDesktop()
341 FragmentManager fm = getSupportFragmentManager(); in initializeDesktopOnline() local
342 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in initializeDesktopOnline()
349 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 onAttachedToWindow() local
56 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onAttachedToWindow()
67 fm.beginTransaction() in onAttachedToWindow()
/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/UnifiedEmail/src/com/android/mail/browse/
DBadgeSpan.java63 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize() argument
64 if (fm != null) { in getSize()
65 paint.getFontMetricsInt(fm); in getSize()
67 fm.top = fm.ascent; in getSize()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DOnePaneController.java82 final FragmentManager fm = mActivity.getFragmentManager();
83 final FragmentTransaction ft = fm.beginTransaction();
84 final Fragment f = fm.findFragmentById(R.id.content_pane);
93 fm.executePendingTransactions();
358 final FragmentManager fm = mActivity.getFragmentManager(); in replaceFragment() local
359 FragmentTransaction fragmentTransaction = fm.beginTransaction(); in replaceFragment()
363 fm.executePendingTransactions(); in replaceFragment()
/packages/apps/UnifiedEmail/src/com/android/mail/text/
DFolderSpan.java63 final Paint.FontMetricsInt fm = p.getFontMetricsInt(); in getHeight() local
64 return fm.bottom - fm.top; in getHeight()
68 public int getSize(Paint p, CharSequence text, int start, int end, Paint.FontMetricsInt fm) { in getSize() argument
/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/UnifiedEmail/src/com/android/mail/utils/
DFragmentStatePagerAdapter2.java58 public FragmentStatePagerAdapter2(FragmentManager fm) { in FragmentStatePagerAdapter2() argument
59 this(fm, true); in FragmentStatePagerAdapter2()
62 public FragmentStatePagerAdapter2(FragmentManager fm, boolean enableSavedStates) { in FragmentStatePagerAdapter2() argument
63 mFragmentManager = fm; in FragmentStatePagerAdapter2()
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSecurity.java320 FragmentManager fm = getFragmentManager(); in completeCreate() local
321 if (fm.findFragmentByTag("password_expiration") == null) { in completeCreate()
328 dialog.show(fm, "password_expiration"); in completeCreate()
337 FragmentManager fm = getFragmentManager(); in completeCreate() local
338 if (fm.findFragmentByTag("security_needed") == null) { in completeCreate()
344 dialog.show(fm, "security_needed"); in completeCreate()
/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.java1047 FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) { in showDirectory() argument
1051 create(fm, root, doc, anim); in showDirectory()
1054 public static void showRecentsOpen(FragmentManager fm, int anim) { in showRecentsOpen() argument
1055 create(fm, null, null, anim); in showRecentsOpen()
1059 FragmentManager fm, in create() argument
1076 final FragmentTransaction ft = fm.beginTransaction(); in create()
1086 public static @Nullable DirectoryFragment get(FragmentManager fm) { in get() argument
1088 Fragment fragment = fm.findFragmentById(getFragmentId()); 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/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java90 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
91 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate()
138 fm.beginTransaction() in onCreate()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java73 FragmentManager fm = getFragmentManager(); in onCreate() local
76 if (fm.findFragmentById(android.R.id.content) == null) { in onCreate()
78 fm.beginTransaction().add(android.R.id.content, listFragment).commit(); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAddAccessoryActivity.java204 final FragmentManager fm = getFragmentManager(); in onCreate() local
208 fm.beginTransaction() in onCreate()
214 fm.getFragment(savedInstanceState, in onCreate()
217 fm.getFragment(savedInstanceState, in onCreate()

123