/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentMenuFragment.java | 53 FragmentManager fm = getChildFragmentManager(); local 54 FragmentTransaction ft = fm.beginTransaction(); 55 mFragment1 = fm.findFragmentByTag("f1"); 60 mFragment2 = fm.findFragmentByTag("f2");
|
FragmentRetainInstance.java | 77 FragmentManager fm = getFragmentManager(); local 80 mWorkFragment = (RetainedFragment)fm.findFragmentByTag("work"); 87 fm.beginTransaction().add(mWorkFragment, "work").commit();
|
LoaderCursor.java | 52 FragmentManager fm = getFragmentManager(); local 55 if (fm.findFragmentById(android.R.id.content) == null) { 57 fm.beginTransaction().add(android.R.id.content, list).commit();
|
LoaderRetained.java | 54 FragmentManager fm = getFragmentManager(); local 57 if (fm.findFragmentById(android.R.id.content) == null) { 59 fm.beginTransaction().add(android.R.id.content, list).commit();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
AlphaBitmap.java | 56 Paint.FontMetrics fm = p.getFontMetrics(); local 57 c.drawText("Alpha", x/2, (y-fm.ascent)/2, p);
|
ColorFilters.java | 90 Paint.FontMetrics fm = mPaint.getFontMetrics(); local 91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f;
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/ |
MainActivity.java | 47 FragmentManager fm = getSupportFragmentManager(); local 49 (BatchStepSensorFragment) fm.findFragmentByTag(FRAGTAG); 52 FragmentTransaction transaction = fm.beginTransaction(); 63 OnCardClickListener clickListener = (OnCardClickListener) fm.findFragmentByTag(FRAGTAG); 65 mRetentionFragment = (StreamRetentionFragment) fm.findFragmentByTag(RETENTION_TAG); 68 fm.beginTransaction().add(mRetentionFragment, RETENTION_TAG).commit(); 76 (CardStreamFragment) fm.findFragmentById(R.id.fragment_cardstream);
|
/external/skia/samplecode/ |
SamplePolyToPoly.cpp | 106 SkPaint::FontMetrics fm; local 107 paint->getFontMetrics(&fm); 111 float y = D/2 - (fm.fAscent + fm.fDescent)/2;
|
/external/skia/src/gpu/ |
SkGpuDevice_drawTexture.cpp | 163 GrTextureParams::FilterMode fm = local 166 const GrTextureParams::FilterMode* filterMode = doBicubic ? nullptr : &fm;
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentHideShowSupport.java | 46 FragmentManager fm = getSupportFragmentManager(); local 47 Fragment fragment1 = fm.findFragmentById(R.id.fragment1); 51 Fragment fragment2 = fm.findFragmentById(R.id.fragment2);
|
FragmentMenuFragmentSupport.java | 54 FragmentManager fm = getChildFragmentManager(); local 55 FragmentTransaction ft = fm.beginTransaction(); 56 mFragment1 = fm.findFragmentByTag("f1"); 61 mFragment2 = fm.findFragmentByTag("f2");
|
FragmentMenuSupport.java | 57 FragmentManager fm = getSupportFragmentManager(); local 58 FragmentTransaction ft = fm.beginTransaction(); 59 mFragment1 = fm.findFragmentByTag("f1"); 64 mFragment2 = fm.findFragmentByTag("f2");
|
FragmentRetainInstanceSupport.java | 78 FragmentManager fm = getFragmentManager(); local 81 mWorkFragment = (RetainedFragment)fm.findFragmentByTag("work"); 88 fm.beginTransaction().add(mWorkFragment, "work").commit();
|
LoaderCursorSupport.java | 55 FragmentManager fm = getSupportFragmentManager(); local 58 if (fm.findFragmentById(android.R.id.content) == null) { 60 fm.beginTransaction().add(android.R.id.content, list).commit();
|
LoaderRetainedSupport.java | 54 FragmentManager fm = getSupportFragmentManager(); local 57 if (fm.findFragmentById(android.R.id.content) == null) { 59 fm.beginTransaction().add(android.R.id.content, list).commit();
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrDialogFragment.java | 36 FragmentManager fm = getChildFragmentManager(); local 37 GuidedStepFragment.add(fm, mDvrGuidedStepFragment, R.id.halfsized_dialog_host);
|
DvrRecordScheduleFragment.java | 62 FragmentManager fm = currentDialog.getChildFragmentManager(); local 63 GuidedStepFragment.add(fm, dvrConflict, R.id.halfsized_dialog_host);
|
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
FolderSpan.java | 63 final Paint.FontMetricsInt fm = p.getFontMetricsInt(); local 64 return fm.bottom - fm.top; 68 public int getSize(Paint p, CharSequence text, int start, int end, Paint.FontMetricsInt fm) {
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
RequestManagerRetriever.java | 102 FragmentManager fm = activity.getSupportFragmentManager(); local 103 return supportFragmentGet(activity, fm); 117 FragmentManager fm = fragment.getChildFragmentManager(); local 118 return supportFragmentGet(fragment.getActivity(), fm); 128 android.app.FragmentManager fm = activity.getFragmentManager(); local 129 return fragmentGet(activity, fm); 149 android.app.FragmentManager fm = fragment.getChildFragmentManager(); local 150 return fragmentGet(fragment.getActivity(), fm); 162 RequestManager fragmentGet(Context context, final android.app.FragmentManager fm) { 163 RequestManagerFragment current = (RequestManagerFragment) fm.findFragmentByTag(TAG) 208 android.app.FragmentManager fm = (android.app.FragmentManager) message.obj; local [all...] |
/external/icu/icu4c/source/layout/ |
LookupProcessor.cpp | 233 FeatureMap fm = featureMap[f]; local 237 if (requiredFeatureTag == fm.tag) { 238 count += selectLookups(requiredFeatureTable, fm.mask, order, success); 259 if (featureTag == fm.tag) { 260 count += selectLookups(featureTable, fm.mask, order + count, success); 286 if (featureTag == fm.tag) { 287 order += selectLookups(featureTable, fm.mask, order, success);
|
/external/skia/gm/ |
fontmgr.cpp | 28 SkScalar y, SkPaint& paint, SkFontMgr* fm, 34 SkTypeface* typeface = fm->matchFamilyStyleCharacter(fontName, fontStyle, 48 SkTypeface* typefaceCopy = fm->legacyCreateTypeface(familyName.c_str(), typeface->style()); 89 SkFontMgr* fm = fFM; variable 90 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); 94 fm->getFamilyName(i, &familyName); 100 SkAutoTUnref<SkFontStyleSet> set(fm->createStyleSet(i)); 111 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &zh, 1, fs); 112 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &ja, 1, fs); 114 x = drawCharacter(canvas, 0x1f601, x, y, paint, fm, familyName.c_str(), nullptr,0, fs) 266 SkFontMgr* fm = fFM; variable [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixframemanager.c | 68 MixFrameManager *fm = MIX_FRAMEMANAGER(obj); local 71 mix_framemanager_deinitialize(fm); 73 if (fm->lock) { 74 g_mutex_free(fm->lock); 75 fm->lock = NULL; 84 MixFrameManager *mix_framemanager_ref(MixFrameManager * fm) { 85 return (MixFrameManager *) g_object_ref(G_OBJECT(fm)); 90 MIX_RESULT mix_framemanager_initialize(MixFrameManager *fm, 96 if (!MIX_IS_FRAMEMANAGER(fm) || (mode != MIX_FRAMEORDER_MODE_DISPLAYORDER 102 if (fm->initialized) [all...] |
/platform_testing/libraries/tunein-app-helper/src/android/platform/test/helpers/ |
TuneInHelperImpl.java | 122 throw new UnknownUiException("Cannot not find fm list to select FM"); 126 String errMsg = String.format("Trying to select %dth FM radio, valid range = (1, %d)", 131 UiObject2 fm = fmList.getChildren().get(i); local 133 if (!fm.clickAndWait(Until.newWindow(), UI_ACTION_TIMEOUT)) { 134 throw new UnknownUiException("Fail to load into fm profile page"); 155 throw new UnknownUiException("Fail to start playing the fm");
|
/frameworks/base/core/java/android/text/ |
BoringLayout.java | 300 Metrics fm = metrics; local 301 if (fm == null) { 302 fm = new Metrics(); 304 fm.reset(); 310 fm.width = (int) Math.ceil(line.metrics(fm)); 313 return fm;
|
/developers/build/prebuilts/gradle/StorageClient/Application/src/main/java/com/example/android/storageclient/ |
StorageClientFragment.java | 119 FragmentManager fm = getActivity().getSupportFragmentManager(); local 124 imageDialog.show(fm, "image_dialog");
|