Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 17 of 17) sorted by relevance

/frameworks/minikin/tests/unittest/
DSystemFontsTest.cpp38 const std::shared_ptr<FontCollection>& fc) { in registerFallback() argument
39 registerFallbackInternal(familyName, fc); in registerFallback()
42 void registerDefault(const std::shared_ptr<FontCollection>& fc) { registerDefaultInternal(fc); } in registerDefault() argument
47 auto fc = buildFontCollection("Ascii.ttf"); in TEST() local
48 systemFonts.registerFallback("sans", fc); in TEST()
49 EXPECT_EQ(fc, systemFonts.findFontCollection("sans")); in TEST()
54 auto fc = buildFontCollection("Ascii.ttf"); in TEST() local
55 systemFonts.registerDefault(fc); in TEST()
56 EXPECT_EQ(fc, systemFonts.findFontCollection("unknown-name")); in TEST()
DFontCollectionTest.cpp43 void expectVSGlyphs(const FontCollection* fc, uint32_t codepoint, const std::set<uint32_t>& vsSet) { in expectVSGlyphs() argument
50 EXPECT_FALSE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
53 EXPECT_TRUE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
60 auto fc = buildFontCollection(kVsTestFont); in TEST() local
62 EXPECT_FALSE(fc->hasVariationSelector(0x82A6, 0)); in TEST()
63 expectVSGlyphs(fc.get(), 0x82A6, in TEST()
66 EXPECT_FALSE(fc->hasVariationSelector(0x845B, 0)); in TEST()
67 expectVSGlyphs(fc.get(), 0x845B, in TEST()
70 EXPECT_FALSE(fc->hasVariationSelector(0x537F, 0)); in TEST()
71 expectVSGlyphs(fc.get(), 0x537F, std::set<uint32_t>({0xFE0E})); in TEST()
[all …]
DLayoutCoreTest.cpp41 auto fc = std::make_shared<FontCollection>(families); in buildLayout() local
42 MinikinPaint paint(fc); in buildLayout()
53 auto fc = std::make_shared<FontCollection>(families); in buildLayout() local
54 MinikinPaint paint(fc); in buildLayout()
DLayoutTest.cpp426 auto fc = buildFontCollection("LayoutTestFont.ttf"); in TEST_F() local
428 MinikinPaint paint(fc); in TEST_F()
438 MinikinPaint paint(fc); in TEST_F()
449 MinikinPaint paint(fc); in TEST_F()
DGreedyLineBreakerTest.cpp78 auto fc = std::make_shared<FontCollection>(families); in doLineBreak() local
79 MinikinPaint paint(fc); in doLineBreak()
DOptimalLineBreakerTest.cpp79 auto fc = std::make_shared<FontCollection>(families); in doLineBreak() local
80 MinikinPaint paint(fc); in doLineBreak()
/frameworks/minikin/include/minikin/
DSystemFonts.h38 const std::shared_ptr<FontCollection>& fc) { in registerFallback() argument
39 return getInstance().registerFallbackInternal(familyName, fc); in registerFallback()
43 static void registerDefault(const std::shared_ptr<FontCollection>& fc) { in registerDefault() argument
44 return getInstance().registerDefaultInternal(fc); in registerDefault()
54 const std::shared_ptr<FontCollection>& fc) { in registerFallbackInternal() argument
55 mSystemFallbacks.insert(std::make_pair(familyName, fc)); in registerFallbackInternal()
58 void registerDefaultInternal(const std::shared_ptr<FontCollection>& fc) { in registerDefaultInternal() argument
59 mDefaultFallback = fc; in registerDefaultInternal()
/frameworks/base/core/java/android/widget/
DRemoteViewsService.java216 Intent.FilterComparison fc = new Intent.FilterComparison(intent); in onDestroy() local
217 if (RemoteViewsService.sRemoteViewFactories.containsKey(fc)) { in onDestroy()
218 RemoteViewsFactory factory = RemoteViewsService.sRemoteViewFactories.get(fc); in onDestroy()
225 RemoteViewsService.sRemoteViewFactories.remove(fc); in onDestroy()
237 Intent.FilterComparison fc = new Intent.FilterComparison(intent); in onBind() local
240 if (!sRemoteViewFactories.containsKey(fc)) { in onBind()
242 sRemoteViewFactories.put(fc, factory); in onBind()
246 factory = sRemoteViewFactories.get(fc); in onBind()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java112 final FileChannel fc = fis.getChannel(); in Builder() local
113 mBuffer = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size()); in Builder()
139 final FileChannel fc = fis.getChannel(); in Builder() local
140 size = (size == -1) ? fc.size() - offset : size; in Builder()
141 mBuffer = fc.map(FileChannel.MapMode.READ_ONLY, offset, size); in Builder()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Control.cpp262 …LVM_UINT32 fc; /* Filter centre f… in LVPSA_SetBPFiltersType() local
270fc = (LVM_UINT32)pInst->pFiltersParams[ii].CenterFrequency; /* Get the band centre frequency */ in LVPSA_SetBPFiltersType()
277 if ((LOW_FREQ * fs) >= (fc << 15)) in LVPSA_SetBPFiltersType()
286 … if (((LOW_FREQ * fs) < (fc << 15)) && ((fc << 15) < (HIGH_FREQ * fs)) && (QFactor > 300)) in LVPSA_SetBPFiltersType()
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem93 ae:ad:7e:46:87:fa:fc:3a:16:4b:37:81:2c:16:15:
109 7a:fc:18:6d:54:47:31:59:b2:f4:36:aa:ce:c3:fc:
112 fc:76:9f:ea:98:1d:a4:66:5b:54:62:84:16:66:95:
160 e3:f5:26:6b:d7:0d:4b:d4:f3:c9:a3:e2:a3:b1:16:af:56:fc:
168 e1:9a:9c:fd:23:9a:01:93:21:00:65:8b:a7:4a:fc:d8:ff:d4:
170 56:cd:5f:f0:18:3e:dc:8e:30:e5:6d:fc:ec:98:60:9f:67:c8:
172 4a:65:0e:f0:2f:b4:7a:8c:aa:e3:fc:6b:42:0d:ec:b5:5a:bd:
177 8d:63:ab:7a:f1:d2:f9:0b:fc:71:02:fe:66:11:0f:30:18:99:
200 73:bc:82:55:03:a7:2e:38:09:fc:18:51:2c:ad:be:c6:37:6d:
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.cpp144 LVM_UINT32 fc; /* Filter centre frequency */ in LVEQNB_SetFilters() local
154fc = (LVM_UINT32)pParams->pBandDefinition[i].Frequency; /* Get the band centre frequency */ in LVEQNB_SetFilters()
162 if (fc > (fs >> 1)) in LVEQNB_SetFilters()
/frameworks/base/core/java/android/service/autofill/
DFillEventHistory.java373 final FieldClassification fc = mDetectedFieldClassifications[i]; in getFieldsClassification() local
375 Log.v(TAG, "getFieldsClassification[" + i + "]: id=" + id + ", fc=" + fc); in getFieldsClassification()
377 map.put(id, fc); in getFieldsClassification()
/frameworks/base/native/android/
Dsystem_fonts.cpp247 std::shared_ptr<minikin::FontCollection> fc = in AFontMatcher_match() local
249 std::vector<minikin::FontCollection::Run> runs = fc->itemize( in AFontMatcher_match()
/frameworks/base/tests/LegacyRestoreTest/
Djbmr2-encrypted-settings-abcd.ab14 �&d?�6g1g�K��^�?�(<Ȭ��F�R���2’]����?e�p��� EO���3 ����{n{��Sn$��� ��fcʲ1i�Bu�z�1z� � XG��E�K�…
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java825 final FieldClassification fc = detectedFieldClassifications[i]; in logContextCommittedLocked() local
826 final List<Match> matches = fc.getMatches(); in logContextCommittedLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java3723 String fc = sch[2]; in isCarrierOtaSpNum() local
3724 if (dialStr.regionMatches(0,fc,0,fcLen)) { in isCarrierOtaSpNum()