Home
last modified time | relevance | path

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

12345678910>>...19

/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.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()
82 SkFontMgr* fm = fFM.get(); in onDraw() local
83 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); in onDraw()
87 fm->getFamilyName(i, &familyName); in onDraw()
93 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); in onDraw()
104 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &zh, 1, fs); in onDraw()
105 x = drawCharacter(canvas, 0x5203, x, y, font, fm, familyName.c_str(), &ja, 1, fs); in onDraw()
107 … x = drawCharacter(canvas, 0x1f601, x, y, font, fm, familyName.c_str(), nullptr,0, fs); in onDraw()
[all …]
/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-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/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/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.c606 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
665 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
666 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
679 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
680 fm->max_pool_size < 0) { in ubi_attach_fastmap()
681 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
685 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
686 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
688 fm->max_wl_pool_size); in ubi_attach_fastmap()
840 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
/external/u-boot/drivers/mtd/ubispl/
Dubispl.c283 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
333 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); in ubi_attach_fastmap()
334 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); in ubi_attach_fastmap()
346 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
347 fm->max_pool_size < 0) { in ubi_attach_fastmap()
348 ubi_err("bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
352 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
353 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
354 ubi_err("bad maximal WL pool size: %i", fm->max_wl_pool_size); in ubi_attach_fastmap()
479 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[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/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2007-03-13-InstrSched.ll20 %fm.1.in = phi i32* [ %tmp71, %bb26 ], [ %tmp1011, %newFuncRoot ] ; <i32*> [#uses=1]
25 %fm.1 = load i32* %fm.1.in ; <i32> [#uses=4]
36 %tmp42 = mul i32 %tmp34, %fm.1 ; <i32> [#uses=1]
40 %tmp52 = mul i32 %tmp39, %fm.1 ; <i32> [#uses=1]
44 %tmp62 = mul i32 %tmp49, %fm.1 ; <i32> [#uses=1]
46 %tmp67 = mul i32 %tmp59, %fm.1 ; <i32> [#uses=1]
/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/v8/tools/clang/rewrite_to_chrome_style/tests/
Dmacros-expected.cc86 FieldsMacro fm; in FieldsMacroTest() local
87 fm.SetFooBar(789); in FieldsMacroTest()
88 return fm.FooBar() + fm.BarBaz(); in FieldsMacroTest()
Dmacros-original.cc86 FieldsMacro fm; in fieldsMacroTest() local
87 fm.setFooBar(789); in fieldsMacroTest()
88 return fm.fooBar() + fm.barBaz(); in fieldsMacroTest()
/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/v8/src/arm64/
Dmacro-assembler-arm64-inl.h488 const VRegister& fm) { in Fadd() argument
490 fadd(fd, fn, fm); in Fadd()
493 void TurboAssembler::Fccmp(const VRegister& fn, const VRegister& fm, in Fccmp() argument
497 fccmp(fn, fm, nzcv, cond); in Fccmp()
500 void TurboAssembler::Fcmp(const VRegister& fn, const VRegister& fm) { in Fcmp() argument
502 fcmp(fn, fm); in Fcmp()
518 const VRegister& fm, Condition cond) { in Fcsel() argument
521 fcsel(fd, fn, fm, cond); in Fcsel()
577 const VRegister& fm) { in Fdiv() argument
579 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/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/dlmalloc/
Dmalloc.c4716 mstate fm = get_mstate_for(p); in dlfree() local
4717 if (!ok_magic(fm)) { in dlfree()
4718 USAGE_ERROR_ACTION(fm, p); in dlfree()
4722 #define fm gm in dlfree() macro
4724 if (!PREACTION(fm)) { in dlfree()
4725 check_inuse_chunk(fm, p); in dlfree()
4726 if (RTCHECK(ok_address(fm, p) && ok_inuse(p))) { in dlfree()
4734 fm->footprint -= psize; in dlfree()
4741 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree()
4742 if (p != fm->dv) { in dlfree()
[all …]
/external/llvm/test/Transforms/ConstProp/
Dcalls.ll222 %fm = bitcast <4 x i32> <i32 2139095039, i32 undef, i32 undef, i32 undef> to <4 x float>
224 %i0 = tail call i32 @llvm.x86.sse.cvtss2si(<4 x float> %fm) nounwind
225 %i1 = tail call i64 @llvm.x86.sse.cvtss2si64(<4 x float> %fm) nounwind
243 %fm = bitcast <4 x i32> <i32 2139095040, i32 undef, i32 undef, i32 undef> to <4 x float>
245 %i0 = tail call i32 @llvm.x86.sse.cvtss2si(<4 x float> %fm) nounwind
246 %i1 = tail call i64 @llvm.x86.sse.cvtss2si64(<4 x float> %fm) nounwind
264 %fm = bitcast <4 x i32> <i32 2143289344, i32 undef, i32 undef, i32 undef> to <4 x float>
266 %i0 = tail call i32 @llvm.x86.sse.cvtss2si(<4 x float> %fm) nounwind
267 %i1 = tail call i64 @llvm.x86.sse.cvtss2si64(<4 x float> %fm) nounwind
319 %fm = bitcast <4 x i32> <i32 2139095039, i32 undef, i32 undef, i32 undef> to <4 x float>
[all …]
/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/skia/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()
/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)

12345678910>>...19