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/
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
23
#include "
FontLanguageListCache
.h"
35
uint32_t langId =
FontLanguageListCache
::getId(input);
36
return
FontLanguageListCache
::getById(langId);
41
uint32_t langId =
FontLanguageListCache
::getId(input);
42
return
FontLanguageListCache
::getById(langId)[0];
FontCollectionItemizeTest.cpp
19
#include "
FontLanguageListCache
.h"
33
using android::
FontLanguageListCache
;
80
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"
30
const uint32_t
FontLanguageListCache
::kEmptyListId;
114
uint32_t
FontLanguageListCache
::getId(const std::string& languages) {
115
FontLanguageListCache
* inst =
FontLanguageListCache
::getInstance();
134
const FontLanguages&
FontLanguageListCache
::getById(uint32_t id) {
135
FontLanguageListCache
* inst =
FontLanguageListCache
::getInstance();
141
FontLanguageListCache
*
FontLanguageListCache
::getInstance()
[
all
...]
FontFamily.cpp
30
#include "
FontLanguageListCache
.h"
44
: FontStyle(
FontLanguageListCache
::kEmptyListId, variant, weight, italic) {
60
return
FontLanguageListCache
::getId(languages);
71
FontFamily::FontFamily(int variant) : FontFamily(
FontLanguageListCache
::kEmptyListId, variant) {
163
const FontLanguages& languageList =
FontLanguageListCache
::getById(mLangId);
Android.mk
38
FontLanguageListCache
.cpp \
FontCollection.cpp
27
#include "
FontLanguageListCache
.h"
216
const FontLanguages& langs =
FontLanguageListCache
::getById(fontFamily->langId());
252
const FontLanguages& langList =
FontLanguageListCache
::getById(userLangListId);
253
const FontLanguages& fontLanguages =
FontLanguageListCache
::getById(fontFamily.langId());
Layout.cpp
38
#include "
FontLanguageListCache
.h"
778
FontLanguageListCache
::getById(ctx->style.getLanguageListId());
[
all
...]
Completed in 226 milliseconds