/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserHistoryForgettingCurveUtils.java | 122 private static int calcFreq(int elapsedTime, int count, int level) { in calcFreq() argument 123 if (level <= 0) { in calcFreq() 129 ++level; in calcFreq() 132 final int l = Math.min(FC_LEVEL_MAX, Math.max(0, level)); in calcFreq() 136 /* pakcage */ static byte calcFc(int elapsedTime, int count, int level) { in calcFc() argument 139 final int l = Math.min(FC_LEVEL_MAX, Math.max(0, level)); in calcFc() 146 final int level = fcToLevel(fc); in fcToFreq() local 147 return calcFreq(elapsedTime, count, level); in fcToFreq() 153 int level = fcToLevel(fc); in pushElapsedTime() local 158 --level; in pushElapsedTime() [all …]
|
D | LocaleUtils.java | 163 public static boolean isMatch(int level) { in isMatch() argument 164 return LOCALE_MATCH <= level; in isMatch()
|
/packages/apps/Nfc/nci/jni/ |
D | PowerSwitch.cpp | 94 void PowerSwitch::initialize (PowerLevel level) in initialize() argument 100 ALOGD ("%s: level=%s (%u)", fn, powerLevelToString(level), level); in initialize() 104 switch (level) in initialize() 108 mCurrLevel = level; in initialize() 113 mCurrLevel = level; in initialize() 135 PowerLevel level = UNKNOWN_LEVEL; in getLevel() local 137 level = mCurrLevel; in getLevel() 139 return level; in getLevel() 358 const char* PowerSwitch::powerLevelToString (PowerLevel level) in powerLevelToString() argument 360 switch (level) in powerLevelToString()
|
D | PowerSwitch.h | 121 void initialize (PowerLevel level); 146 bool setLevel (PowerLevel level); 257 const char* powerLevelToString (PowerLevel level);
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | PieItem.java | 33 private int level; field in PieItem 43 public PieItem(View view, int level) { in PieItem() argument 45 this.level = level; in PieItem() 51 public PieItem(View view, int level, PieView sym) { in PieItem() argument 53 this.level = level; in PieItem() 110 return level; in getLevel()
|
D | PieMenu.java | 248 int level = i + 1; in layoutPie() local 249 float sweep = (float) (Math.PI - 2 * emptyangle) / mCounts[level]; in layoutPie() 253 if (item.getLevel() == level) { in layoutPie()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 146 public Bitmap getTile(int level, int x, int y, int tileSize, in getTile() argument 257 int level = tile.mTileLevel; in layoutTiles() local 258 if (level < fromLevel || level >= endLevel in layoutTiles() 259 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 293 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 294 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 304 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 323 int size = TILE_SIZE << level; in getRange() 414 int level = mLevel; in render() local 429 if (level != mLevelCount && !isScreenNailAnimating()) { in render() [all …]
|
D | TileImageViewAdapter.java | 87 public Bitmap getTile(int level, int x, int y, int tileSize, in getTile() argument 90 return getTileWithoutReusingBitmap(level, x, y, tileSize, borderSize); in getTile() 93 int b = borderSize << level; in getTile() 94 int t = tileSize << level; in getTile() 122 options.inSampleSize = (1 << level); in getTile() 144 int level, int x, int y, int tileSize, int borderSize) { in getTileWithoutReusingBitmap() argument 145 int b = borderSize << level; in getTileWithoutReusingBitmap() 146 int t = tileSize << level; in getTileWithoutReusingBitmap() 162 options.inSampleSize = (1 << level); in getTileWithoutReusingBitmap() 180 (overlapRegion.left - wantRegion.left) >> level, in getTileWithoutReusingBitmap() [all …]
|
D | BitmapTileProvider.java | 74 public Bitmap getTile(int level, int x, int y, int tileSize, in getTile() argument 76 x >>= level; in getTile() local 77 y >>= level; in getTile() local 87 Bitmap mipmap = mMipmaps[level]; in getTile()
|
/packages/inputmethods/PinyinIME/jni/share/ |
D | dictbuilder.cpp | 772 size_t level) { in construct_subset() argument 773 if (level >= kMaxLemmaSize || item_end <= item_start) in construct_subset() 782 uint16 spl_idx_node = lma_last_start->spl_idx_arr[level]; in construct_subset() 787 uint16 spl_idx_current = lma_current->spl_idx_arr[level]; in construct_subset() 799 assert(level < kMaxLemmaSize); in construct_subset() 800 if (parent_son_num > max_sonbuf_len_[level]) in construct_subset() 801 max_sonbuf_len_[level] = parent_son_num; in construct_subset() 803 total_son_num_[level] += parent_son_num; in construct_subset() 804 total_sonbuf_num_[level] += 1; in construct_subset() 817 if (0 == level) { // the parent is root in construct_subset() [all …]
|
D | spellingtrie.cpp | 428 size_t item_start, size_t item_end, size_t level, SpellingNode* parent) { in construct_spellings_subset() argument 429 if (level >= spelling_size_ || item_end <= item_start || NULL == parent) in construct_spellings_subset() 437 char char_for_node = spelling_last_start[level]; in construct_spellings_subset() 444 char char_current = spelling_current[level]; in construct_spellings_subset() 463 char_for_node = spelling_last_start[level]; in construct_spellings_subset() 466 if (spelling_last_start[level + 1] != '\0') in construct_spellings_subset() 473 char char_current = spelling_current[level]; in construct_spellings_subset() 482 if (0 == level) in construct_spellings_subset() 489 if (spelling_last_start[level + 1] != '\0' || i - item_start_next > 1) { in construct_spellings_subset() 491 if (spelling_last_start[level + 1] == '\0') in construct_spellings_subset() [all …]
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | PieItem.java | 38 private int level; field in PieItem 57 public PieItem(Drawable drawable, int level) { in PieItem() argument 59 this.level = level; in PieItem() 131 return level; in getLevel()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
D | LogUtils.java | 96 public static boolean isLoggable(String tag, int level) { in isLoggable() argument 97 if (MAX_ENABLED_LOG_LEVEL > level) { in isLoggable() 100 return Log.isLoggable(tag, level); in isLoggable()
|
/packages/apps/Settings/tests/src/com/android/settings/bluetooth/ |
D | Utf8ByteLengthFilterTest.java | 35 level = TestLevel.COMPLETE, 41 level = TestLevel.COMPLETE,
|
/packages/apps/Email/src/com/android/mail/utils/ |
D | LogUtils.java | 168 public static boolean isLoggable(String tag, int level) { in isLoggable() argument 169 if (MAX_ENABLED_LOG_LEVEL > level) { in isLoggable() 172 return Log.isLoggable(tag, level); in isLoggable()
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
D | GLStub.java | 117 int level, in glCompressedTexImage2D() argument 128 int level, in glCompressedTexSubImage2D() argument 140 int level, in glCopyTexImage2D() argument 151 int level, in glCopyTexSubImage2D() argument 680 int level, in glTexImage2D() argument 704 int level, in glTexSubImage2D() argument 1323 int level in glFramebufferTexture2DOES() argument
|
/packages/experimental/RpcPerformance/ |
D | README | 3 A small test utility to run certain low-level microbenchmarks
|
/packages/apps/Settings/src/com/android/settings/ |
D | CryptKeeperSettings.java | 64 final int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0); 69 final boolean levelOk = level >= MIN_BATTERY_LEVEL;
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ActivityMusic.java | 695 final short level = (short) (progress + mEqualizerMinBandLevel); in onProgressChanged() local 697 equalizerBandUpdate(band, level); in onProgressChanged() 746 final int level = bandLevels[band]; in equalizerUpdateDisplay() local 747 final int progress = level - mEqualizerMinBandLevel; in equalizerUpdateDisplay() 760 private void equalizerBandUpdate(final int band, final int level) { in equalizerBandUpdate() argument 762 ControlPanelEffect.Key.eq_band_level, level, band); in equalizerBandUpdate()
|
D | ControlPanelEffect.java | 395 final int level = bandLevels[band]; in setParameterBoolean() local 397 audioSession, Key.eq_band_level, level, band); in setParameterBoolean() 640 final short level = equalizerEffect.getBandLevel(band); in setParameterInt() local 641 editor.putInt(Key.eq_band_level.toString() + band, level); in setParameterInt() local 1148 short level = 0; in openSession() local 1151 level = eQPresetCIExtremeBandLevel[band]; in openSession() 1154 level = (short) prefs.getInt( in openSession() 1158 equalizerEffect.setBandLevel(band, level); in openSession()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AccessPoint.java | 202 mRssi = result.level; in loadResult() 267 if (WifiManager.compareSignalLevel(result.level, mRssi) > 0) { in update() 269 mRssi = result.level; in update()
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | dictbuilder.h | 136 size_t item_start, size_t item_end, size_t level);
|
D | spellingtrie.h | 131 size_t level, SpellingNode *parent);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParser.java | 329 int level = 0; in resolveTextReference() local 333 level++; in resolveTextReference() 334 if (level >= MAX_STRING_REFERENCE_INDIRECTION) { in resolveTextReference()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | VideoEditorActivity.java | 1324 private int zoomTimeline(int level, boolean updateControl) { 1325 if (level < 1 || level > MAX_ZOOM_LEVEL) { 1329 mProject.setZoomLevel(level); 1331 Log.v(TAG, "zoomTimeline level: " + level + " -> " + timeToDimension(1000) + " pix/s"); 1337 mZoomControl.setProgress(level); 1339 return level;
|