/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/Settings/tests/robotests/src/com/android/settings/password/ |
D | ConfirmCredentialTest.java | 41 FragmentManager fm = Robolectric.buildActivity(FragmentActivity.class). in testLastTryDialogShownExactlyOnce() local 46 fm, "title", mContext.getString(android.R.string.yes), in testLastTryDialogShownExactlyOnce() 49 fm, "title", mContext.getString(android.R.string.yes), in testLastTryDialogShownExactlyOnce() 53 LastTryDialog.hide(fm); in testLastTryDialogShownExactlyOnce() 55 fm, "title", mContext.getString(android.R.string.yes), in testLastTryDialogShownExactlyOnce()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | ProgressDialogFragment.java | 51 public static void show(FragmentManager fm, String title, OnDismissCallback dismissCallback) { in show() argument 52 ProgressDialogFragment fragment = (ProgressDialogFragment) fm.findFragmentByTag(TAG); in show() 58 FragmentTransaction ft = fm.beginTransaction(); in show() 77 public static void dismiss(FragmentManager fm) { in dismiss() argument 78 DialogFragment fragment = (DialogFragment) fm.findFragmentByTag(TAG); in dismiss()
|
/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/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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | PreviewActivity.java | 60 FragmentManager fm = getSupportFragmentManager(); in onCreate() local 61 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate() 77 fm.beginTransaction() in onCreate() 101 FragmentManager fm = getSupportFragmentManager(); in onActivityResult() local 109 fm.beginTransaction() in onActivityResult()
|
D | ViewOnlyPreviewActivity.java | 58 FragmentManager fm = getSupportFragmentManager(); in onCreate() local 59 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate() 73 fm.beginTransaction() in onCreate()
|
D | FullPreviewActivity.java | 72 FragmentManager fm = getSupportFragmentManager(); in onCreate() local 73 Fragment fragment = fm.findFragmentById(R.id.fragment_container); in onCreate() 89 fm.beginTransaction() in onCreate()
|
/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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverAppTest.java | 53 SmsCbMessage fm = getFakeMessage(1); in testAddNewAndGetLatestMessage() local 54 ArrayList<SmsCbMessage> ml = addNewMessageToList(fm); in testAddNewAndGetLatestMessage() 57 assertEquals(fm, ml.get(0)); in testAddNewAndGetLatestMessage() 58 assertEquals(fm, getLatestMessage()); in testAddNewAndGetLatestMessage()
|
/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/Launcher3/src/com/android/launcher3/settings/ |
D | SettingsActivity.java | 113 final FragmentManager fm = getSupportFragmentManager(); in onCreate() local 114 final Fragment f = fm.getFragmentFactory().instantiate(getClassLoader(), in onCreate() 118 fm.beginTransaction().replace(R.id.content_frame, f).commit(); in onCreate() 154 final FragmentManager fm = getSupportFragmentManager(); in startPreference() local 155 final Fragment f = fm.getFragmentFactory().instantiate(getClassLoader(), fragment); in startPreference() 158 ((DialogFragment) f).show(fm, key); in startPreference()
|
/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/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | PhotosTabFragment.java | 194 public static void show(FragmentManager fm, Category category) { in show() argument 195 final FragmentTransaction ft = fm.beginTransaction(); in show() 210 public static Fragment get(FragmentManager fm) { in get() argument 211 return fm.findFragmentByTag(FRAGMENT_TAG); in get()
|
D | PreviewFragment.java | 350 public static void show(@NonNull FragmentManager fm, @NonNull Bundle args) { in show() argument 351 if (fm.isStateSaved()) { in show() 358 fm.beginTransaction() in show() 368 public static Fragment get(@NonNull FragmentManager fm) { in get() argument 369 return fm.findFragmentByTag(TAG); 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/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()
|