Searched defs:level (Results 1 - 25 of 80) sorted by last modified time

1234

/packages/services/Telephony/src/com/android/services/telephony/
H A DLog.java38 public static boolean isLoggable(int level) { argument
39 return FORCE_LOGGING || android.util.Log.isLoggable(TAG, level);
/packages/services/Car/car-lib/src/android/car/hardware/
H A DCarSensorEvent.java37 * sensor. This value is fuel level in percentile.
42 * sensor. This value is fuel level in coverable distance. The unit is Km.
47 * sensor. This value is set to 1 if fuel low level warning is on.
361 /** Fuel level in %. If unsupported by the car, this value is -1. */
362 public int level; field in class:CarSensorEvent.FuelLevelData
388 data.level = -1;
392 data.level = -1;
394 data.level = (int) floatValues[INDEX_FUEL_LEVEL_IN_PERCENTILE];
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
H A DCarSensorEvent.java378 * sensor. This value is fuel level in percentile.
384 * sensor. This value is fuel level in coverable distance. The unit is Km.
390 * sensor. This value is set to 1 if fuel low level warning is on.
593 /** Fuel level in %. If unsupported by the car, this value is -1. */
594 public final int level; field in class:CarSensorEvent.FuelLevelData
602 public FuelLevelData(long timestamp, int level, float range, boolean lowFuelWarning) { argument
604 this.level = level;
619 int level = -1;
623 level
[all...]
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
H A Dcontacts2_1108.sql107 CREATE TABLE 'search_index_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DProbabilityInfo.java51 public ProbabilityInfo(final int probability, final int timestamp, final int level, argument
55 mLevel = level;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
H A Dhistorical_info.h30 HistoricalInfo(const int timestamp, const int level, const int count) argument
31 : mTimestamp(timestamp), mLevel(level), mCount(count) {}
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
H A Dbigram_dict_content.cpp49 int level = 0; local
54 level = bigramListBuffer->readUintAndAdvancePosition(
69 count += level;
70 const HistoricalInfo historicalInfo(timestamp, level, count);
96 AKLOGE("Cannot write bigram level. pos: %d, level: %d", *entryWritingPos,
H A Dprobability_dict_content.cpp49 const int level = buffer->readUintAndAdvancePosition( local
54 const HistoricalInfo historicalInfo(timestamp, level, count + level);
156 AKLOGE("Cannot write level in probability dict content. pos: %d", writingPos);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
H A Dprobability_entry.h127 const int level = readFromEncodedEntry(encodedEntry, local
132 const HistoricalInfo historicalInfo(timestamp, level, count);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dforgetting_curve_utils.cpp52 const int level = clampToVisibleEntryLevelRange(newHistoricalInfo->getLevel()); local
54 return HistoricalInfo(timestamp, level, count);
62 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel() + 1); local
63 return HistoricalInfo(timestamp, level, 0 /* count */);
65 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel()); local
66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy));
70 // The count exceeds the max value the level can be incremented.
72 // The level is already max.
76 // Raise the level.
117 // Lower the level
162 clampToVisibleEntryLevelRange(const int level) argument
171 clampToValidLevelRange(const int level) argument
215 getBaseProbabilityForLevel( const int tableId, const int level) argument
[all...]
H A Dforgetting_curve_utils.h66 int getProbability(const int tableId, const int level, argument
68 return mTables[tableId][level][elapsedTimeStepCount];
87 static int getBaseProbabilityForLevel(const int tableId, const int level);
106 static int clampToVisibleEntryLevelRange(const int level);
107 static int clampToValidLevelRange(const int level);
H A Dtrie_map.cpp71 unsignedKey, getBitShuffledKey(unsignedKey), bitmapEntry, 0 /* level */);
100 0 /* level */);
109 readEntry(bitmapEntryIndex), 0 /* level */);
120 unsignedKey, getBitShuffledKey(unsignedKey), bitmapEntry, 0 /* level */);
142 * Iterate next entry in a certain level.
252 const Entry &bitmapEntry, const int level) const {
253 const int label = getLabel(hashedKey, level);
260 // Move to the next level.
261 return getTerminalEntryIndex(key, hashedKey, entry, level + 1);
279 * @param level curren
311 putInternal(const uint32_t key, const uint64_t value, const uint32_t hashedKey, const int bitmapEntryIndex, const Entry &bitmapEntry, const int level) argument
349 addNewEntryByResolvingConflict(const uint32_t key, const uint64_t value, const uint32_t hashedKey, const Entry &conflictedEntry, const int conflictedEntryIndex, const int level) argument
[all...]
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DLocaleUtils.java38 // Locale match level constants.
39 // A higher level of match is guaranteed to have a higher numerical value.
62 // The compared locales are fully identical. This is the best match level.
65 // The level at which a match is "normally" considered a locale match with standard algorithms.
69 // Make this match the maximum match level. If this evolves to have more than 2 digits
140 * Return a string that represents this match level, with better matches first.
152 * Find out whether a match level should be considered a match.
154 * This method takes a match level as returned by the #getMatchLevel method, and returns whether
157 * @param level the match level, a
160 isMatch(final int level) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DLogUtils.java167 * Checks to see whether or not a log for the specified tag is loggable at the specified level.
169 public static boolean isLoggable(String tag, int level) { argument
170 if (MAX_ENABLED_LOG_LEVEL > level) {
173 return Log.isLoggable(tag, level) || Log.isLoggable(TAG, level);
353 * The error will always be logged at level ASSERT with the call stack.
371 * The error will always be logged at level ASSERT with the call stack.
/packages/apps/WallpaperPicker/src/com/android/photos/
H A DBitmapRegionTileSource.java359 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) { argument
361 int t = tileSize << level;
368 mOptions.inSampleSize = (1 << level);
/packages/apps/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageRenderer.java79 // The mLevel variable indicates which level of bitmap we should use.
152 * If level > 0, it does the same operation on a down-scaled version of
153 * the original image (down-scaled by a factor of 2^level), but (x, y)
158 public Bitmap getTile(int level, int x, int y, Bitmap reuse); argument
253 // 1. Decide the tile level we want to use for display.
272 // We want to keep one more tile level as texture in addition to what
274 // next level. We choose the level closest to the current scale.
306 // Recycle unused tiles: if the level of the active tile is outside the
311 int level
349 getRange(Rect out, int cX, int cY, int level, int rotation) argument
359 getRange(Rect out, int cX, int cY, int level, float scale, int rotation) argument
519 obtainTile(int x, int y, int level) argument
546 activateTile(int x, int y, int level) argument
559 getTile(int x, int y, int level) argument
563 makeTileKey(int x, int y, int level) argument
596 drawTile(GLCanvas canvas, int tx, int ty, int level, float x, float y, float length) argument
671 Tile(int x, int y, int level) argument
727 update(int x, int y, int level) argument
[all...]
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DDrawableTileSource.java89 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) { argument
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
H A DFlipDrawable.java184 protected boolean onLevelChange(final int level) { argument
185 return mFront.setLevel(level) || mBack.setLevel(level);
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dprettywriter.h50 \param indentCharCount Number of indent characters for each indentation level.
149 typename Base::Level* level = Base::level_stack_.template Top<typename Base::Level>(); local
151 if (level->inArray) {
152 if (level->valueCount > 0) {
161 if (level->valueCount > 0) {
162 if (level->valueCount % 2 == 0) {
174 if (level->valueCount % 2 == 0)
177 if (!level->inArray && level->valueCount % 2 == 0)
179 level
[all...]
H A Dwriter.h181 //! Information for each nested level
184 size_t valueCount; //!< number of values in this level
320 Level* level = level_stack_.template Top<Level>(); local
321 if (level->valueCount > 0) {
322 if (level->inArray)
325 os_->Put((level->valueCount % 2 == 0) ? ',' : ':');
327 if (!level->inArray && level->valueCount % 2 == 0)
329 level->valueCount++;
/packages/apps/TV/common/src/com/android/tv/common/
H A DMemoryManageable.java28 void performTrimMemory(int level); argument
H A DTvContentRatingCache.java140 public synchronized void performTrimMemory(int level) { argument
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...
/packages/apps/TV/src/com/android/tv/
H A DMainActivity.java2534 public void onTrimMemory(int level) { argument
2535 super.onTrimMemory(level);
2537 memoryManageable.performTrimMemory(level);

Completed in 462 milliseconds

1234