/packages/apps/Browser/src/com/android/browser/view/ |
H A D | PieItem.java | 33 private int level; field in class:PieItem 43 public PieItem(View view, int level) { argument 45 this.level = level; 51 public PieItem(View view, int level, PieView sym) { argument 53 this.level = level; 110 return level;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
H A D | historical_info.h | 30 HistoricalInfo(const int timestamp, const int level, const int count) argument 31 : mTimestamp(timestamp), mLevel(level), mCount(count) {}
|
H A D | forgetting_curve_utils.cpp | 49 const int level = clampToVisibleEntryLevelRange(newHistoricalInfo->getLevel()); local 51 return HistoricalInfo(timestamp, level, count); 57 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel()); local 59 return HistoricalInfo(timestamp, level, count); 63 // The count exceeds the max value the level can be incremented. 65 // The level is already max. 167 /* static */ int ForgettingCurveUtils::clampToVisibleEntryLevelRange(const int level) { argument 168 return std::min(std::max(level, MIN_VISIBLE_LEVEL), MAX_LEVEL); 176 /* static */ int ForgettingCurveUtils::clampToValidLevelRange(const int level) { argument 177 return std::min(std::max(level, 220 getBaseProbabilityForLevel( const int tableId, const int level) argument [all...] |
H A D | forgetting_curve_utils.h | 68 int getProbability(const int tableId, const int level, argument 70 return mTables[tableId][level][elapsedTimeStepCount]; 89 static int getBaseProbabilityForLevel(const int tableId, const int level); 107 static int clampToVisibleEntryLevelRange(const int level); 108 static int clampToValidLevelRange(const int level);
|
H A D | trie_map.cpp | 69 unsignedKey, getBitShuffledKey(unsignedKey), bitmapEntry, 0 /* level */); 95 0 /* level */); 104 readEntry(bitmapEntryIndex), 0 /* level */); 112 * Iterate next entry in a certain level. 219 const Entry &bitmapEntry, const int level) const { 220 const int label = getLabel(hashedKey, level); 227 // Move to the next level. 228 return getTerminalEntryIndex(key, hashedKey, entry, level + 1); 243 * @param level current level 275 putInternal(const uint32_t key, const uint64_t value, const uint32_t hashedKey, const int bitmapEntryIndex, const Entry &bitmapEntry, const int level) argument 309 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/native/jni/src/suggest/core/dictionary/property/ |
H A D | bigram_property.h | 30 const int probability, const int timestamp, const int level, const int count) 32 mTimestamp(timestamp), mLevel(level), mCount(count) {} 29 BigramProperty(const std::vector<int> *const targetCodePoints, const int probability, const int timestamp, const int level, const int count) argument
|
H A D | unigram_property.h | 56 const bool isBlacklisted, const int probability, const int timestamp, const int level, 60 mTimestamp(timestamp), mLevel(level), mCount(count), mShortcuts(*shortcuts) {} 55 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, const bool isBlacklisted, const int probability, const int timestamp, const int level, const int count, const std::vector<ShortcutProperty> *const shortcuts) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | TileImageViewAdapter.java | 76 // at (50, 50) with sample level 1 (ie, down sampled by 2^1) and the 87 public Bitmap getTile(int level, int x, int y, int tileSize) { argument 89 return getTileWithoutReusingBitmap(level, x, y, tileSize); 92 int t = tileSize << level; 119 options.inSampleSize = (1 << level); 141 int level, int x, int y, int tileSize) { 142 int t = tileSize << level; 158 options.inSampleSize = (1 << level); 175 (overlapRegion.left - wantRegion.left) >> level, 176 (overlapRegion.top - wantRegion.top) >> level, nul 140 getTileWithoutReusingBitmap( int level, int x, int y, int tileSize) argument [all...] |
H A D | BitmapTileProvider.java | 74 public Bitmap getTile(int level, int x, int y, int tileSize) { argument 75 x >>= level; 76 y >>= level; 85 Bitmap mipmap = mMipmaps[level];
|
H A D | TileImageView.java | 81 // The mLevel variable indicates which level of bitmap we should use. 138 // If level > 0, it does the same operation on a down-scaled version of 139 // the original image (down-scaled by a factor of 2^level), but (x, y) 143 public Bitmap getTile(int level, int x, int y, int tileSize); argument 201 // 1. Decide the tile level we want to use for display. 219 // We want to keep one more tile level as texture in addition to what 221 // next level. We choose a level closer to the current scale. 251 // Recycle unused tiles: if the level of the active tile is outside the 256 int level 292 getRange(Rect out, int cX, int cY, int level, int rotation) argument 302 getRange(Rect out, int cX, int cY, int level, float scale, int rotation) argument 513 obtainTile(int x, int y, int level) argument 536 activateTile(int x, int y, int level) argument 549 getTile(int x, int y, int level) argument 553 makeTileKey(int x, int y, int level) argument 590 drawTile(GLCanvas canvas, int tx, int ty, int level, float x, float y, float length) argument 661 Tile(int x, int y, int level) argument 714 update(int x, int y, int level) argument [all...] |
/packages/apps/OMA-DM/engine/dmlib/linux_java/samples/portlib/src/ |
H A D | xpl_Logger.cc | 24 static void _log(int level, CPCHAR format, va_list ap); 66 void _log(int level, CPCHAR format, va_list ap) { argument
|
/packages/apps/OMA-DM/engine/xpl/src/ |
H A D | xpl_Logger.cc | 24 static void _log(int level, CPCHAR format, va_list ap); 66 void _log(int level, CPCHAR format, va_list ap) { argument
|
/packages/apps/Nfc/nci/jni/ |
H A D | PowerSwitch.h | 39 ** Description: UNKNOWN_LEVEL: power level is unknown because the stack is off. 48 ** Description: POWER_STATE_OFF: power level is OFF when screen is off. 78 ** UNKNOWN_LEVEL: power level is unknown. 138 void initialize (PowerLevel level); 145 ** Description: Get the current power level of the controller. 147 ** Returns: Power level. 157 ** Description: Set the controller's power level. 158 ** level: power level. 163 bool setLevel (PowerLevel level); [all...] |
H A D | PowerSwitch.cpp | 97 void PowerSwitch::initialize (PowerLevel level) argument 104 ALOGD ("%s: level=%s (%u)", fn, powerLevelToString(level), level); 109 switch (level) 113 mCurrLevel = level; 118 mCurrLevel = level; 133 ** Description: Get the current power level of the controller. 135 ** Returns: Power level. 140 PowerLevel level local 400 powerLevelToString(PowerLevel level) argument [all...] |
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/dictionary/structure/v4/content/ |
H A D | language_model_dict_content_test.cpp | 45 const int level = 3; local 48 const HistoricalInfo historicalInfo(timestamp, level, count); 54 EXPECT_EQ(level, entry.getHistoricalInfo()->getLevel());
|
H A D | probability_entry_test.cpp | 42 const int level = 3; local 45 const HistoricalInfo historicalInfo(timestamp, level, count); 55 EXPECT_EQ(level, decodedEntry.getHistoricalInfo()->getLevel());
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | PieItem.java | 38 private int level; field in class:PieItem 57 public PieItem(Drawable drawable, int level) { argument 59 this.level = level; 131 return level;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/ |
H A D | bigram_dict_content.cpp | 42 int level = 0; local 47 level = bigramListBuffer->readUintAndAdvancePosition( 73 const HistoricalInfo historicalInfo(timestamp, level, count); 92 const int timestamp, const int level, const int count, int *const entryWritingPos) { 107 if (!bigramListBuffer->writeUintAndAdvancePosition(level, 109 AKLOGE("Cannot write bigram level. pos: %d, level: %d", *entryWritingPos, 110 level); 142 NOT_A_PROBABILITY /* probability */, targetTerminalId, NOT_A_TIMESTAMP, 0 /* level */, 90 writeBigramEntryAttributesAndAdvancePosition( const bool isLink, const int probability, const int targetTerminalId, const int timestamp, const int level, const int count, int *const entryWritingPos) argument
|
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 125 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) { argument 128 return getTileWithoutReusingBitmap(level, x, y, tileSize); 131 int t = tileSize << level; 138 mOptions.inSampleSize = (1 << level); 156 int level, int x, int y, int tileSize) { 158 int t = tileSize << level; 163 mOptions.inSampleSize = (1 << level); 180 (mOverlapRegion.left - mWantRegion.left) >> level, 181 (mOverlapRegion.top - mWantRegion.top) >> level, null); 155 getTileWithoutReusingBitmap( int level, int x, int y, int tileSize) argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | ScanResultComparator.java | 65 int levelDiff = result2.level - result1.level;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | ProbabilityInfo.java | 54 public ProbabilityInfo(final int probability, final int timestamp, final int level, argument 58 mLevel = level;
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 79 // 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/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 79 // 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/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
H A D | Layout.java | 56 void Log(int level) { argument 296 void Log(int level) { argument 297 Log.d("Layout", indent(level) + "LayoutGetter"); 299 l.Log(level + 1); 432 void Log(int level) { argument 433 Log.d("Layout", indent(level) + "Header " + mAppearence); 435 i.Log(level + 1); 516 void Log(int level) { argument 517 Log.d("Layout", indent(level) + "Action #" + mActionId + " " + mAppearence); 590 void Log(int level) { argument 626 Log(int level) argument 788 Log(int level) argument 857 indent(int level) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/debug/ |
H A D | Log.java | 118 private static boolean isLoggable(Tag tag, int level) { argument 121 // Override system log level and output. VERBOSE is smaller than 123 // than the desired output level. This applies to all tags. 124 return LogHelper.getOverrideLevel() <= level; 127 return android.util.Log.isLoggable(CAMERA_LOGTAG_PREFIX, level) 128 || android.util.Log.isLoggable(tag.toString(), level);
|