/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | TintedDrawableSpan.java | 40 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize() argument 41 fm = fm == null ? paint.getFontMetricsInt() : fm; in getSize() 42 int iconSize = fm.bottom - fm.top; in getSize() 44 return super.getSize(paint, text, start, end, fm); in getSize()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 233 final FragmentManager fm = getFragmentManager(); in onPrepareOptionsMenu() local 234 SaveFragment.get(fm).prepareForDirectory(cwd); in onPrepareOptionsMenu() 242 final FragmentManager fm = getFragmentManager(); in refreshDirectory() local 247 DirectoryFragment.showRecentsOpen(fm, anim); in refreshDirectory() 258 DirectoryFragment.showDirectory(fm, root, cwd, anim); in refreshDirectory() 263 final SaveFragment save = SaveFragment.get(fm); in refreshDirectory() 271 final PickFragment pick = PickFragment.get(fm); in refreshDirectory() 286 final FragmentManager fm = getFragmentManager(); in onDocumentPicked() local 296 SaveFragment.get(fm).setReplaceTarget(doc); in onDocumentPicked()
|
D | PickFragment.java | 80 public static void show(FragmentManager fm) { in show() argument 82 if (get(fm) != null) { in show() 87 final FragmentTransaction ft = fm.beginTransaction(); in show() 92 public static PickFragment get(FragmentManager fm) { in get() argument 93 return (PickFragment) fm.findFragmentByTag(TAG); in get()
|
D | SaveFragment.java | 62 static void show(FragmentManager fm, String mimeType, String displayName) { in show() argument 70 final FragmentTransaction ft = fm.beginTransaction(); in show() 75 public static SaveFragment get(FragmentManager fm) { in get() argument 76 return (SaveFragment) fm.findFragmentByTag(TAG); in get()
|
/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/tests/robotests/src/com/android/settings/ |
D | ConfirmCredentialTest.java | 45 FragmentManager fm = Robolectric.buildActivity(Activity.class).get().getFragmentManager(); in testLastTryDialogShownExactlyOnce() local 48 assertThat(LastTryDialog.show(fm, "title", R.string.yes, R.string.ok, false)).isTrue(); in testLastTryDialogShownExactlyOnce() 49 assertThat(LastTryDialog.show(fm, "title", R.string.yes, R.string.ok, false)).isFalse(); in testLastTryDialogShownExactlyOnce() 52 LastTryDialog.hide(fm); in testLastTryDialogShownExactlyOnce() 53 assertThat(LastTryDialog.show(fm, "title", R.string.yes, R.string.ok, false)).isTrue(); in testLastTryDialogShownExactlyOnce()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | BadgeSpan.java | 63 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/ |
D | OnePaneController.java | 82 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/ |
D | FolderSpan.java | 63 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/ |
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/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 320 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/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 321 final FragmentManager fm = mActivity.getFragmentManager(); in onClick() local 322 fm.executePendingTransactions(); in onClick() 325 dialog.show(fm, FRAG_TAG_TIME_PICKER); in onClick() 446 FragmentManager fm = mActivity.getFragmentManager(); in showTimezoneDialog() local 447 TimeZonePickerDialog tzpd = (TimeZonePickerDialog) fm in showTimezoneDialog() 455 tzpd.show(fm, FRAG_TAG_TIME_ZONE_PICKER); in showTimezoneDialog() 606 FragmentManager fm = mActivity.getFragmentManager(); in onClick() local 607 RecurrencePickerDialog rpd = (RecurrencePickerDialog) fm in onClick() 615 rpd.show(fm, FRAG_TAG_RECUR_PICKER); in onClick() 905 FragmentManager fm = activity.getFragmentManager(); in EditEventView() local [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | FragmentStatePagerAdapter2.java | 58 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/Terminal/src/com/android/terminal/ |
D | TerminalView.java | 98 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/ |
D | TrampolineActivity.java | 133 public static void show(FragmentManager fm, long id, long size) { in show() argument 139 dialog.show(fm, TAG_PAUSED); in show() 195 public static void show(FragmentManager fm, long id, int reason) { in show() argument 201 dialog.show(fm, TAG_FAILED); in show()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 1075 FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) { in showDirectory() argument 1077 create(fm, root, doc, anim); in showDirectory() 1080 public static void showRecentsOpen(FragmentManager fm, int anim) { in showRecentsOpen() argument 1081 create(fm, null, null, anim); in showRecentsOpen() 1085 FragmentManager fm, in create() argument 1103 final FragmentTransaction ft = fm.beginTransaction(); in create() 1113 public static @Nullable DirectoryFragment get(FragmentManager fm) { in get() argument 1115 Fragment fragment = fm.findFragmentById(getFragmentId()); in get()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | DialogController.java | 47 void confirmOverwrite(FragmentManager fm, DocumentInfo overwriteTarget); in confirmOverwrite() argument 152 public void confirmOverwrite(FragmentManager fm, DocumentInfo overwriteTarget) { in confirmOverwrite() argument 153 OverwriteConfirmFragment.show(fm, overwriteTarget); in confirmOverwrite()
|
/packages/apps/Settings/src/com/android/settings/ |
D | MasterClear.java | 136 final FragmentManager fm = getChildFragmentManager(); 137 if (fm != null && !fm.isDestroyed()) { 138 new CarrierDemoPasswordDialogFragment().show(fm, null /* tag */);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastListActivity.java | 65 FragmentManager fm = getFragmentManager(); in onCreate() local 68 if (fm.findFragmentById(android.R.id.content) == null) { in onCreate() 70 fm.beginTransaction().add(android.R.id.content, listFragment).commit(); in onCreate()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 114 public static RootsFragment show(FragmentManager fm, Intent includeApps) { in show() argument 121 final FragmentTransaction ft = fm.beginTransaction(); in show() 128 public static RootsFragment get(FragmentManager fm) { in get() argument 129 return (RootsFragment) fm.findFragmentById(R.id.container_roots); in get()
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
D | BlockedNumbersActivity.java | 110 FragmentManager fm = getFragmentManager(); in onCreate() local 112 (BlockNumberTaskFragment) fm.findFragmentByTag(TAG_BLOCK_NUMBER_TASK_FRAGMENT); in onCreate() 116 fm.beginTransaction() in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | AddAccessoryActivity.java | 260 final FragmentManager fm = getFragmentManager(); in onCreate() local 264 fm.beginTransaction() in onCreate() 270 fm.getFragment(savedInstanceState, in onCreate() 273 fm.getFragment(savedInstanceState, in onCreate()
|
/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/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | FilesActivity.java | 313 final FragmentManager fm = getFragmentManager(); in refreshDirectory() local 320 DirectoryFragment.showRecentsOpen(fm, anim); in refreshDirectory() 323 DirectoryFragment.showDirectory(fm, root, cwd, anim); in refreshDirectory()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | WorkSoundPreferenceController.java | 333 FragmentManager fm = parent.getFragmentManager(); in show() local 334 if (fm.findFragmentByTag(TAG) == null) { in show() 337 fragment.show(fm, TAG); in show()
|