Home
last modified time | relevance | path

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

12345678910>>...20

/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestManagerRetriever.java102 FragmentManager fm = activity.getSupportFragmentManager(); in get() local
103 return supportFragmentGet(activity, fm); in get()
117 FragmentManager fm = fragment.getChildFragmentManager(); in get() local
118 return supportFragmentGet(fragment.getActivity(), fm); in get()
128 android.app.FragmentManager fm = activity.getFragmentManager(); in get() local
129 return fragmentGet(activity, fm); in get()
149 android.app.FragmentManager fm = fragment.getChildFragmentManager(); in get() local
150 return fragmentGet(fragment.getActivity(), fm); in get()
162 RequestManager fragmentGet(Context context, final android.app.FragmentManager fm) { in fragmentGet() argument
163 RequestManagerFragment current = (RequestManagerFragment) fm.findFragmentByTag(TAG); in fragmentGet()
[all …]
/external/skia/gm/
Dfontmgr.cpp43 SkScalar y, const SkFont& origFont, SkFontMgr* fm, in drawCharacter() argument
50 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter()
64 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter()
90 SkFontMgr* fm = fFM.get(); in onDraw() local
91 int count = std::min(fm->countFamilies(), MAX_FAMILIES); in onDraw()
95 fm->getFamilyName(i, &familyName); in onDraw()
101 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in onDraw()
112 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &zh, 1, fs); in onDraw()
113 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &ja, 1, fs); in onDraw()
115 … x = drawCharacter(canvas, 0x1f601, x, y, font, fm, familyName.c_str(), nullptr,0, fs); in onDraw()
[all …]
Dpoly2poly.cpp63 SkFontMetrics fm; in doDraw() local
64 font.getMetrics(&fm); in doDraw()
68 SkScalar y = D/2 - (fm.fAscent + fm.fDescent)/2; in doDraw()
/external/skqp/gm/
Dfontmgr.cpp29 SkScalar y, const SkFont& origFont, SkFontMgr* fm, in drawCharacter() argument
36 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter()
50 font.setTypeface(fm->legacyMakeTypeface(familyName.c_str(), typeface->fontStyle())); in drawCharacter()
83 SkFontMgr* fm = fFM.get(); in onDraw() local
84 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); in onDraw()
88 fm->getFamilyName(i, &familyName); in onDraw()
94 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in onDraw()
105 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &zh, 1, fs); in onDraw()
106 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &ja, 1, fs); in onDraw()
108 … x = drawCharacter(canvas, 0x1f601, x, y, font, fm, familyName.c_str(), nullptr,0, fs); in onDraw()
[all …]
/external/python/cpython2/Lib/plat-irix6/
Dflp.py400 def _select_crfunc(fm, cl): argument
401 if cl == FL.BEGIN_GROUP: return fm.bgn_group
402 elif cl == FL.END_GROUP: return fm.end_group
403 elif cl == FL.BITMAP: return fm.add_bitmap
404 elif cl == FL.BOX: return fm.add_box
405 elif cl == FL.BROWSER: return fm.add_browser
406 elif cl == FL.BUTTON: return fm.add_button
407 elif cl == FL.CHART: return fm.add_chart
408 elif cl == FL.CHOICE: return fm.add_choice
409 elif cl == FL.CLOCK: return fm.add_clock
[all …]
/external/python/cpython2/Lib/plat-irix5/
Dflp.py401 def _select_crfunc(fm, cl): argument
402 if cl == FL.BEGIN_GROUP: return fm.bgn_group
403 elif cl == FL.END_GROUP: return fm.end_group
404 elif cl == FL.BITMAP: return fm.add_bitmap
405 elif cl == FL.BOX: return fm.add_box
406 elif cl == FL.BROWSER: return fm.add_browser
407 elif cl == FL.BUTTON: return fm.add_button
408 elif cl == FL.CHART: return fm.add_chart
409 elif cl == FL.CHOICE: return fm.add_choice
410 elif cl == FL.CLOCK: return fm.add_clock
[all …]
/external/libopus/celt/
Dlaplace.c98 unsigned fm; in ec_laplace_decode() local
99 fm = ec_decode_bin(dec, 15); in ec_laplace_decode()
101 if (fm >= fs) in ec_laplace_decode()
107 while(fs > LAPLACE_MINP && fm >= fl+2*fs) in ec_laplace_decode()
119 di = (fm-fl)>>(LAPLACE_LOG_MINP+1); in ec_laplace_decode()
123 if (fm < fl+fs) in ec_laplace_decode()
130 celt_assert(fl<=fm); in ec_laplace_decode()
131 celt_assert(fm<IMIN(fl+fs,32768)); in ec_laplace_decode()
/external/u-boot/drivers/mtd/ubi/
Dfastmap.c607 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
666 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
667 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
680 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
681 fm->max_pool_size < 0) { in ubi_attach_fastmap()
682 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
686 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
687 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
689 fm->max_wl_pool_size); in ubi_attach_fastmap()
841 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
/external/tensorflow/tensorflow/core/util/
Dmkl_types.h38 #define GET_MEMORY_DESC_CONSTRUCTOR(dims, type, fm) \ argument
39 { {dims}, MklDnnType<type>(), fm }
64 #define MEMORY_CONSTRUCTOR_USING_MEM_PD(dims, type, fm, engine, data) \ argument
65 memory(GET_MEMORY_DESC_CONSTRUCTOR(dims, type, fm), engine, data)
76 #define MEMORY_PD_CONSTRUCTOR(dims, type, fm, engine) \ argument
77 memory::desc({dims}, MklDnnType<type>(), fm)
130 #define GET_MEMORY_DESC_CONSTRUCTOR(dims, type, fm) \
131 { {dims}, MklDnnType<type>(), fm }
160 #define MEMORY_CONSTRUCTOR_USING_MEM_PD(dims, type, fm, engine, data) \
161 memory({GET_MEMORY_DESC_CONSTRUCTOR(dims, type, fm), engine}, data)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
D2007-03-13-InstrSched.ll18 %fm.1.in = phi i32* [ %tmp71, %bb26 ], [ %tmp1011, %newFuncRoot ]
23 %fm.1 = load i32, i32* %fm.1.in
34 %tmp42 = mul i32 %tmp34, %fm.1
38 %tmp52 = mul i32 %tmp39, %fm.1
42 %tmp62 = mul i32 %tmp49, %fm.1
44 %tmp67 = mul i32 %tmp59, %fm.1
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ConstProp/
Dsse.ll49 %fm = bitcast <4 x i32> <i32 2139095039, i32 undef, i32 undef, i32 undef> to <4 x float>
51 %i0 = tail call i32 @llvm.x86.sse.cvtss2si(<4 x float> %fm) nounwind
52 %i1 = tail call i64 @llvm.x86.sse.cvtss2si64(<4 x float> %fm) nounwind
70 %fm = bitcast <4 x i32> <i32 2139095040, i32 undef, i32 undef, i32 undef> to <4 x float>
72 %i0 = tail call i32 @llvm.x86.sse.cvtss2si(<4 x float> %fm) nounwind
73 %i1 = tail call i64 @llvm.x86.sse.cvtss2si64(<4 x float> %fm) nounwind
91 %fm = bitcast <4 x i32> <i32 2143289344, i32 undef, i32 undef, i32 undef> to <4 x float>
93 %i0 = tail call i32 @llvm.x86.sse.cvtss2si(<4 x float> %fm) nounwind
94 %i1 = tail call i64 @llvm.x86.sse.cvtss2si64(<4 x float> %fm) nounwind
146 %fm = bitcast <4 x i32> <i32 2139095039, i32 undef, i32 undef, i32 undef> to <4 x float>
[all …]
/external/llvm/test/CodeGen/ARM/
D2007-03-13-InstrSched.ll21 %fm.1.in = phi i32* [ %tmp71, %bb26 ], [ %tmp1011, %newFuncRoot ] ; <i32*> [#uses=1]
26 %fm.1 = load i32, i32* %fm.1.in ; <i32> [#uses=4]
37 %tmp42 = mul i32 %tmp34, %fm.1 ; <i32> [#uses=1]
41 %tmp52 = mul i32 %tmp39, %fm.1 ; <i32> [#uses=1]
45 %tmp62 = mul i32 %tmp49, %fm.1 ; <i32> [#uses=1]
47 %tmp67 = mul i32 %tmp59, %fm.1 ; <i32> [#uses=1]
/external/skia/tools/fm/fm_bot/
Dfm_bot.go51 func listAll(flag string, fm string) (list []string, err error) {
52 cmd := exec.Command(fm, flag)
160 fm := flag.Args()[0]
162 gms, err := listAll("--listGMs", fm)
164 log.Fatalln("Could not query", fm, "for GMs:", err)
167 tests, err := listAll("--listTests", fm)
169 log.Fatalln("Could not query", fm, "for tests:", err)
205 cmd := exec.Command(fm, args...)
/external/skia/tests/
DTypefaceTest.cpp113 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
114 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()
150 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
160 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
195 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
199 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
249 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
252 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
374 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
375 sk_sp<SkTypeface> typeface1 = fm->legacyMakeTypeface(nullptr, SkFontStyle::Italic()); in DEF_TEST()
[all …]
/external/u-boot/drivers/mtd/ubispl/
Dubispl.c475 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
525 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap()
526 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap()
538 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
539 fm->max_pool_size < 0) { in ubi_attach_fastmap()
540 ubi_err("bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
544 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
545 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
546 ubi_err("bad maximal WL pool size: %i", fm->max_wl_pool_size); in ubi_attach_fastmap()
671 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java209 FontMetrics fm = g.getFontMetrics(); in paint() local
210 int labelHeight = fm.getHeight() + YINSET * 2; in paint()
212 int v = fm.getAscent() + YINSET; in paint()
224 h -= fm.stringWidth(dayName) / 2; in paint()
296 fm = g.getFontMetrics(); in paint()
318 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(dayNum); in paint()
322 int y = celly + + fm.getAscent() + YINSET + i * fm.getHeight(); in paint()
337 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(month); in paint()
DCalendarFrame.java378 FontMetrics fm = g.getFontMetrics(font); in paint() local
384 g.drawString(text, fm.stringWidth("\u00a0"), in paint()
385 bounds.height/2 + fm.getHeight() in paint()
386 - fm.getAscent() + fm.getLeading()/2); in paint()
394 FontMetrics fm = getFontMetrics(font); in getMinimumSize() local
396 return new Dimension( fm.stringWidth(text) + 2*fm.stringWidth("\u00a0"), in getMinimumSize()
397 fm.getHeight() + fm.getLeading()*2); in getMinimumSize()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c4270 mstate fm = get_mstate_for(p); in dlfree() local
4271 if (!ok_magic(fm)) { in dlfree()
4272 USAGE_ERROR_ACTION(fm, p); in dlfree()
4276 #define fm gm in dlfree() macro
4278 if (!PREACTION(fm)) { in dlfree()
4279 check_inuse_chunk(fm, p); in dlfree()
4280 if (RTCHECK(ok_address(fm, p) && ok_cinuse(p))) { in dlfree()
4289 fm->footprint -= psize; in dlfree()
4296 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree()
4297 if (p != fm->dv) { in dlfree()
[all …]
/external/libffi/src/
Ddlmalloc.c4265 mstate fm = get_mstate_for(p); in dlfree() local
4266 if (!ok_magic(fm)) { in dlfree()
4267 USAGE_ERROR_ACTION(fm, p); in dlfree()
4271 #define fm gm in dlfree() macro
4273 if (!PREACTION(fm)) { in dlfree()
4274 check_inuse_chunk(fm, p); in dlfree()
4275 if (RTCHECK(ok_address(fm, p) && ok_cinuse(p))) { in dlfree()
4284 fm->footprint -= psize; in dlfree()
4291 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree()
4292 if (p != fm->dv) { in dlfree()
[all …]
/external/v8/src/codegen/arm64/
Dmacro-assembler-arm64-inl.h522 const VRegister& fm) { in Fadd() argument
524 fadd(fd, fn, fm); in Fadd()
527 void TurboAssembler::Fccmp(const VRegister& fn, const VRegister& fm, in Fccmp() argument
531 fccmp(fn, fm, nzcv, cond); in Fccmp()
534 void TurboAssembler::Fcmp(const VRegister& fn, const VRegister& fm) { in Fcmp() argument
536 fcmp(fn, fm); in Fcmp()
552 const VRegister& fm, Condition cond) { in Fcsel() argument
555 fcsel(fd, fn, fm, cond); in Fcsel()
611 const VRegister& fm) { in Fdiv() argument
613 fdiv(fd, fn, fm); in Fdiv()
[all …]
/external/pdfium/third_party/lcms/src/
Dcmsio0.c103 FILENULL* fm = NULL; in cmsOpenIOhandlerFromNULL() local
108 fm = (FILENULL*) _cmsMallocZero(ContextID, sizeof(FILENULL)); in cmsOpenIOhandlerFromNULL()
109 if (fm == NULL) goto Error; in cmsOpenIOhandlerFromNULL()
111 fm ->Pointer = 0; in cmsOpenIOhandlerFromNULL()
114 iohandler ->stream = (void*) fm; in cmsOpenIOhandlerFromNULL()
241 FILEMEM* fm = NULL; in cmsOpenIOhandlerFromMem() local
251 fm = (FILEMEM*) _cmsMallocZero(ContextID, sizeof(FILEMEM)); in cmsOpenIOhandlerFromMem()
252 if (fm == NULL) goto Error; in cmsOpenIOhandlerFromMem()
259 fm ->Block = (cmsUInt8Number*) _cmsMalloc(ContextID, size); in cmsOpenIOhandlerFromMem()
260 if (fm ->Block == NULL) { in cmsOpenIOhandlerFromMem()
[all …]
/external/skia/resources/lua/
Dslides.lua65 local fm = paint:getFontMetrics()
66 local height = #slide * (fm.descent - fm.ascent)
70 y = y - fm.ascent * scale
72 y = y + fm.descent * scale
81 local fm = paint:getFontMetrics()
82 local x_offset = -fm.ascent * node.indent * 1.25
86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
/external/skqp/resources/lua/
Dslides.lua65 local fm = paint:getFontMetrics()
66 local height = #slide * (fm.descent - fm.ascent)
70 y = y - fm.ascent * scale
72 y = y + fm.descent * scale
81 local fm = paint:getFontMetrics()
82 local x_offset = -fm.ascent * node.indent * 1.25
86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/lua/
Dslides.lua65 local fm = paint:getFontMetrics()
66 local height = #slide * (fm.descent - fm.ascent)
70 y = y - fm.ascent * scale
72 y = y + fm.descent * scale
81 local fm = paint:getFontMetrics()
82 local x_offset = -fm.ascent * node.indent * 1.25
86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
/external/skqp/tests/
DTypefaceTest.cpp109 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
110 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()
146 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
156 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
188 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
192 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
242 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST() local
245 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()

12345678910>>...20