Searched refs:mindsBlockByGC (Results 1 - 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
H A Ddictionary_structure_with_buffer_policy.h100 virtual bool needsToRunGC(const bool mindsBlockByGC) const = 0;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_policy.h128 bool needsToRunGC(const bool mindsBlockByGC) const;
H A Dver4_patricia_trie_policy.cpp501 bool Ver4PatriciaTriePolicy::needsToRunGC(const bool mindsBlockByGC) const {
518 return ForgettingCurveUtils::needsToDecay(mindsBlockByGC, mEntryCounters.getEntryCounts(),
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
H A Dpatricia_trie_policy.h130 bool needsToRunGC(const bool mindsBlockByGC) const {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_policy.h107 bool needsToRunGC(const bool mindsBlockByGC) const;
H A Dver4_patricia_trie_policy.cpp456 bool Ver4PatriciaTriePolicy::needsToRunGC(const bool mindsBlockByGC) const {
473 return ForgettingCurveUtils::needsToDecay(mindsBlockByGC, mEntryCounters.getEntryCounts(),
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Ddictionary.h102 bool needsToRunGC(const bool mindsBlockByGC);
H A Ddictionary.cpp175 bool Dictionary::needsToRunGC(const bool mindsBlockByGC) { argument
177 return mDictionaryStructureWithBufferPolicy->needsToRunGC(mindsBlockByGC);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java261 public void runGCIfRequired(final boolean mindsBlockByGC) { argument
268 runGCIfRequiredLocked(mindsBlockByGC);
273 protected void runGCIfRequiredLocked(final boolean mindsBlockByGC) { argument
274 if (mBinaryDictionary.needsToRunGC(mindsBlockByGC)) {
287 runGCIfRequiredLocked(true /* mindsBlockByGC */);
327 runGCIfRequiredLocked(true /* mindsBlockByGC */);
349 runGCIfRequiredLocked(true /* mindsBlockByGC */);
640 if (binaryDictionary.needsToRunGC(false /* mindsBlockByGC */)) {
H A DBinaryDictionary.java177 private static native boolean needsToRunGCNative(long dict, boolean mindsBlockByGC); argument
517 if (needsToRunGC(true /* mindsBlockByGC */)) {
575 * @param mindsBlockByGC Whether to mind operations blocked by GC. We don't need to care about
579 public boolean needsToRunGC(final boolean mindsBlockByGC) { argument
583 return needsToRunGCNative(mNativeDict, mindsBlockByGC);
/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp111 jlong dict, jboolean mindsBlockByGC) {
114 return dictionary->needsToRunGC(mindsBlockByGC == JNI_TRUE);
501 if (dictionary->needsToRunGC(true /* mindsBlockByGC */)) {
578 if (dictionaryStructureWithBufferPolicy->needsToRunGC(true /* mindsBlockByGC */)) {
599 if (dictionaryStructureWithBufferPolicy->needsToRunGC(true /* mindsBlockByGC */)) {
110 latinime_BinaryDictionary_needsToRunGC(JNIEnv *env, jclass clazz, jlong dict, jboolean mindsBlockByGC) argument

Completed in 162 milliseconds