OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FormatUtils
(Results
1 - 12
of
12
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
format_utils.h
29
class
FormatUtils
{
44
DISALLOW_IMPLICIT_CONSTRUCTORS(
FormatUtils
);
format_utils.cpp
23
const uint32_t
FormatUtils
::MAGIC_NUMBER = 0x9BC13AFE;
26
const int
FormatUtils
::DICTIONARY_MINIMUM_SIZE = 12;
28
/* static */
FormatUtils
::FORMAT_VERSION
FormatUtils
::detectFormatVersion(
dict_file_writing_utils.cpp
45
HeaderPolicy headerPolicy(
FormatUtils
::VERSION_3, attributeMap);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dictionary_structure_with_buffer_policy_factory.cpp
39
switch (
FormatUtils
::detectFormatVersion(mmapedBuffer->getBuffer(),
41
case
FormatUtils
::VERSION_2:
43
case
FormatUtils
::VERSION_3:
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/
FormatUtilsTests.java
30
assertEquals(2,
FormatUtils
.overlapPoint("abcde", "cdefg"));
31
assertEquals(-1,
FormatUtils
.overlapPoint("John Doe", "John Doe"));
32
assertEquals(5,
FormatUtils
.overlapPoint("John Doe", "Doe, John"));
33
assertEquals(-1,
FormatUtils
.overlapPoint("Mr. John Doe", "Mr. Doe, John"));
34
assertEquals(13,
FormatUtils
.overlapPoint("John Herbert Doe", "Doe, John Herbert"));
59
FormatUtils
.copyToCharArrayBuffer(text, buffer);
60
assertEquals(text,
FormatUtils
.charArrayBufferToString(buffer));
67
FormatUtils
.copyToCharArrayBuffer(value, buffer);
75
assertEquals(-1,
FormatUtils
.indexOfWordPrefix("test", null));
79
assertEquals(-1,
FormatUtils
.indexOfWordPrefix(null, "TE"))
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/
header_policy.h
34
: mDictFormatVersion(
FormatUtils
::detectFormatVersion(dictBuf, dictSize)),
53
HeaderPolicy(const
FormatUtils
::FORMAT_VERSION dictFormatVersion,
133
const
FormatUtils
::FORMAT_VERSION mDictFormatVersion;
header_read_write_utils.cpp
108
BufferWithExtendableBuffer *const buffer, const
FormatUtils
::FORMAT_VERSION version,
110
if (!buffer->writeUintAndAdvancePosition(
FormatUtils
::MAGIC_NUMBER, HEADER_MAGIC_NUMBER_SIZE,
115
case
FormatUtils
::VERSION_2:
118
case
FormatUtils
::VERSION_3:
header_read_write_utils.h
64
const
FormatUtils
::FORMAT_VERSION version, int *const writingPos);
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
TextHighlighter.java
89
int index =
FormatUtils
.indexOfWordPrefix(text, trimmedPrefix);
FormatUtils.java
30
public class
FormatUtils
{
/packages/apps/Contacts/src/com/android/contacts/widget/
TextHighlightingAnimation.java
26
import com.android.contacts.common.format.
FormatUtils
;
76
int index =
FormatUtils
.overlapPoint(baseText, highlightedText);
/prebuilts/devtools/tools/lib/
sdklib.jar
Completed in 572 milliseconds