OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FontLanguageListCache
(Results
1 - 9
of
9
) sorted by null
/frameworks/minikin/tests/unittest/
FontLanguageListCacheTest.cpp
21
#include "
FontLanguageListCache
.h"
35
EXPECT_EQ(0UL,
FontLanguageListCache
::getId(""));
37
EXPECT_EQ(
FontLanguageListCache
::getId("en"),
FontLanguageListCache
::getId("en"));
38
EXPECT_NE(
FontLanguageListCache
::getId("en"),
FontLanguageListCache
::getId("jp"));
40
EXPECT_EQ(
FontLanguageListCache
::getId("en,zh-Hans"),
41
FontLanguageListCache
::getId("en,zh-Hans"));
42
EXPECT_NE(
FontLanguageListCache
::getId("en,zh-Hans"),
43
FontLanguageListCache
::getId("zh-Hans,en"))
[
all
...]
FontFamilyTest.cpp
22
#include "
FontLanguageListCache
.h"
34
uint32_t langId =
FontLanguageListCache
::getId(input);
35
return
FontLanguageListCache
::getById(langId);
40
uint32_t langId =
FontLanguageListCache
::getId(input);
41
return
FontLanguageListCache
::getById(langId)[0];
FontCollectionItemizeTest.cpp
21
#include "
FontLanguageListCache
.h"
76
return
FontLanguageListCache
::getById(
FontLanguageListCache
::getId(lang_string));
[
all
...]
/frameworks/minikin/libs/minikin/
FontLanguageListCache.h
27
class
FontLanguageListCache
{
42
FontLanguageListCache
() {} // Singleton
43
~
FontLanguageListCache
() {}
46
static
FontLanguageListCache
* getInstance();
FontLanguageListCache.cpp
19
#include "
FontLanguageListCache
.h"
31
const uint32_t
FontLanguageListCache
::kEmptyListId;
115
uint32_t
FontLanguageListCache
::getId(const std::string& languages) {
116
FontLanguageListCache
* inst =
FontLanguageListCache
::getInstance();
135
const FontLanguages&
FontLanguageListCache
::getById(uint32_t id) {
136
FontLanguageListCache
* inst =
FontLanguageListCache
::getInstance();
142
FontLanguageListCache
*
FontLanguageListCache
::getInstance()
[
all
...]
FontFamily.cpp
30
#include "
FontLanguageListCache
.h"
44
: FontStyle(
FontLanguageListCache
::kEmptyListId, variant, weight, italic) {
60
return
FontLanguageListCache
::getId(languages);
104
: FontFamily(
FontLanguageListCache
::kEmptyListId, variant, std::move(fonts)) {
159
const FontLanguages& languageList =
FontLanguageListCache
::getById(mLangId);
FontCollection.cpp
28
#include "
FontLanguageListCache
.h"
190
const FontLanguages& langs =
FontLanguageListCache
::getById(fontFamily->langId());
228
const FontLanguages& langList =
FontLanguageListCache
::getById(userLangListId);
229
const FontLanguages& fontLanguages =
FontLanguageListCache
::getById(fontFamily.langId());
Android.mk
26
FontLanguageListCache
.cpp \
Layout.cpp
38
#include "
FontLanguageListCache
.h"
[
all
...]
Completed in 428 milliseconds