/packages/apps/Nfc/nci/jni/extns/pn54x/src/log/ |
D | phNxpLog.c | 53 uint8_t level = NXPLOG_DEFAULT_LOGLEVEL; in phNxpLog_SetGlobalLogLevel() local 62 level = (unsigned char) num; in phNxpLog_SetGlobalLogLevel() 64 memset(&gLog_level, level, sizeof(nci_log_level_t)); in phNxpLog_SetGlobalLogLevel() 65 return level; in phNxpLog_SetGlobalLogLevel() 77 static void phNxpLog_SetHALLogLevel (uint8_t level) in phNxpLog_SetHALLogLevel() argument 85 gLog_level.hal_log_level = (level > (unsigned char) num) ? level : (unsigned char) num;; in phNxpLog_SetHALLogLevel() 108 static void phNxpLog_SetExtnsLogLevel (uint8_t level) in phNxpLog_SetExtnsLogLevel() argument 115 gLog_level.extns_log_level = (level > (unsigned char) num) ? level : (unsigned char) num;; in phNxpLog_SetExtnsLogLevel() 138 static void phNxpLog_SetTmlLogLevel (uint8_t level) in phNxpLog_SetTmlLogLevel() argument 145 gLog_level.tml_log_level = (level > (unsigned char) num) ? level : (unsigned char) num;; in phNxpLog_SetTmlLogLevel() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | forgetting_curve_utils.cpp | 52 const int level = clampToVisibleEntryLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo() local 54 return HistoricalInfo(timestamp, level, count); in createUpdatedHistoricalInfo() 62 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel() + 1); in createUpdatedHistoricalInfo() local 63 return HistoricalInfo(timestamp, level, 0 /* count */); in createUpdatedHistoricalInfo() 65 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo() local 66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy)); in createUpdatedHistoricalInfo() 162 /* static */ int ForgettingCurveUtils::clampToVisibleEntryLevelRange(const int level) { in clampToVisibleEntryLevelRange() argument 163 return std::min(std::max(level, MIN_VISIBLE_LEVEL), MAX_LEVEL); in clampToVisibleEntryLevelRange() 171 /* static */ int ForgettingCurveUtils::clampToValidLevelRange(const int level) { in clampToValidLevelRange() argument 172 return std::min(std::max(level, 0), MAX_LEVEL); in clampToValidLevelRange() [all …]
|
D | trie_map.cpp | 252 const Entry &bitmapEntry, const int level) const { in getTerminalEntryIndex() 253 const int label = getLabel(hashedKey, level); in getTerminalEntryIndex() 261 return getTerminalEntryIndex(key, hashedKey, entry, level + 1); in getTerminalEntryIndex() 284 const int bitmapEntryIndex, const int level) const { in getInternal() 286 readEntry(bitmapEntryIndex), level); in getInternal() 312 const int bitmapEntryIndex, const Entry &bitmapEntry, const int level) { in putInternal() argument 313 const int label = getLabel(hashedKey, level); in putInternal() 324 return putInternal(key, value, hashedKey, entryIndex, entry, level + 1); in putInternal() 335 return addNewEntryByResolvingConflict(key, value, hashedKey, entry, entryIndex, level); in putInternal() 351 const int level) { in addNewEntryByResolvingConflict() argument [all …]
|
D | forgetting_curve_utils.h | 66 int getProbability(const int tableId, const int level, in getProbability() argument 68 return mTables[tableId][level][elapsedTimeStepCount]; in getProbability() 87 static int getBaseProbabilityForLevel(const int tableId, const int level); 106 static int clampToVisibleEntryLevelRange(const int level); 107 static int clampToValidLevelRange(const int level);
|
D | trie_map.h | 305 const Entry &bitmapEntry, const int level) const; 307 const int bitmapEntryIndex, const int level) const; 309 const int bitmapEntryIndex, const Entry &bitmapEntry, const int level); 312 const int level); 347 AK_FORCE_INLINE int getLabel(const uint32_t hashedKey, const int level) const { in getLabel() argument 348 return (hashedKey >> (level * NUM_OF_BITS_USED_FOR_ONE_LEVEL)) & LABEL_MASK; in getLabel()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 159 public Bitmap getTile(int level, int x, int y, Bitmap reuse); in getTile() argument 312 int level = tile.mTileLevel; in layoutTiles() local 313 if (level < fromLevel || level >= endLevel in layoutTiles() 314 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 350 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 351 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 361 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 380 int size = mTileSize << level; in getRange() 421 int level = mLevel; in draw() local 438 if (level != mLevelCount) { in draw() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 142 public Bitmap getTile(int level, int x, int y, int tileSize); in getTile() argument 255 int level = tile.mTileLevel; in layoutTiles() local 256 if (level < fromLevel || level >= endLevel in layoutTiles() 257 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 291 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 292 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 302 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 321 int size = sTileSize << level; in getRange() 411 int level = mLevel; in render() local 426 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 89 return getTileWithoutReusingBitmap(level, x, y, tileSize); in getTile() 92 int t = tileSize << level; in getTile() 119 options.inSampleSize = (1 << level); in getTile() 141 int level, int x, int y, int tileSize) { in getTileWithoutReusingBitmap() argument 142 int t = tileSize << level; in getTileWithoutReusingBitmap() 158 options.inSampleSize = (1 << level); in getTileWithoutReusingBitmap() 175 (overlapRegion.left - wantRegion.left) >> level, in getTileWithoutReusingBitmap() 176 (overlapRegion.top - wantRegion.top) >> level, null); in getTileWithoutReusingBitmap()
|
D | BitmapTileProvider.java | 74 public Bitmap getTile(int level, int x, int y, int tileSize) { in getTile() argument 75 x >>= level; in getTile() local 76 y >>= level; in getTile() local 85 Bitmap mipmap = mMipmaps[level]; in getTile()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 158 public Bitmap getTile(int level, int x, int y, Bitmap reuse); in getTile() argument 311 int level = tile.mTileLevel; in layoutTiles() local 312 if (level < fromLevel || level >= endLevel in layoutTiles() 313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 360 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 379 int size = mTileSize << level; in getRange() 420 int level = mLevel; in draw() local 437 if (level != mLevelCount) { in draw() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | Layout.java | 61 /* package */ abstract void Log(int level); in Log() argument 391 /* package */ void Log(int level) { in Log() argument 392 Log.d("Layout", indent(level) + "LayoutGetter"); in Log() 394 l.Log(level + 1); in Log() 500 /* package */ void Log(int level) { in Log() argument 501 Log.d("Layout", indent(level) + "SelectionGroup '" + getTitle() + "'"); in Log() 736 /* package */ void Log(int level) { in Log() argument 737 Log.d("Layout", indent(level) + "Header " + mAppearance); in Log() 739 i.Log(level + 1); in Log() 858 /* package */ void Log(int level) { in Log() argument [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | PowerSwitch.cpp | 97 void PowerSwitch::initialize (PowerLevel level) in initialize() argument 104 ALOGD ("%s: level=%s (%u)", fn, powerLevelToString(level), level); in initialize() 109 switch (level) in initialize() 113 mCurrLevel = level; in initialize() 118 mCurrLevel = level; in initialize() 140 PowerLevel level = UNKNOWN_LEVEL; in getLevel() local 142 level = mCurrLevel; in getLevel() 144 return level; in getLevel() 400 const char* PowerSwitch::powerLevelToString (PowerLevel level) in powerLevelToString() argument 402 switch (level) in powerLevelToString()
|
/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()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 125 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) { in getTile() argument 128 return getTileWithoutReusingBitmap(level, x, y, tileSize); in getTile() 131 int t = tileSize << level; in getTile() 138 mOptions.inSampleSize = (1 << level); in getTile() 156 int level, int x, int y, int tileSize) { in getTileWithoutReusingBitmap() argument 158 int t = tileSize << level; in getTileWithoutReusingBitmap() 163 mOptions.inSampleSize = (1 << level); in getTileWithoutReusingBitmap() 180 (mOverlapRegion.left - mWantRegion.left) >> level, in getTileWithoutReusingBitmap() 181 (mOverlapRegion.top - mWantRegion.top) >> level, null); in getTileWithoutReusingBitmap()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | LogSaver.java | 57 public abstract void log(int level, String tag, String msg); in log() argument 110 void set(int tid, int level, long time, String tag, String message) { in set() argument 115 this.mLevelString = getLevelString(level); in set() 145 public void log(int level, String tag, String msg) { in log() argument 151 rec.set(Process.myTid(), level, System.currentTimeMillis(), tag, msg); in log() local 250 public void log(int level, String tag, String msg) { in log() argument 254 Process.myPid(), Process.myTid(), getLevelString(level), tag, msg)); in log() 275 private static String getLevelString(final int level) { in getLevelString() argument 276 switch (level) { in getLevelString()
|
D | LogUtil.java | 219 private static void println(final int level, final String tag, final String msg) { in println() argument 220 android.util.Log.println(level, tag, msg); in println() 223 if (serviceLog != null && level >= android.util.Log.DEBUG) { in println() 224 serviceLog.log(level, tag, msg); in println() 236 public static void save(final int level, final String tag, final String msg) { in save() argument 239 serviceLog.log(level, tag, msg); in save() 247 public static boolean isLoggable(final String tag, final int level) { in isLoggable() argument 248 return android.util.Log.isLoggable(tag, level); in isLoggable()
|
D | ConnectivityUtil.java | 223 final int level = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getCdmaLevel() local 224 return level; in getCdmaLevel() 244 final int level = (levelEvdoDbm < levelEvdoSnr) ? levelEvdoDbm : levelEvdoSnr; in getEvdoLevel() local 245 return level; in getEvdoLevel()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AccessPointPreference.java | 113 protected void updateIcon(int level, Context context) { in updateIcon() argument 114 if (level == -1) { in updateIcon() 158 int level = mAccessPoint.getLevel(); in refresh() local 159 if (level != mLevel) { in refresh() 160 mLevel = level; in refresh() 173 if (level >= 0 && level < WIFI_CONNECTION_STRENGTH.length) { in refresh() 175 getContext().getString(WIFI_CONNECTION_STRENGTH[level])); in refresh()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsMemDetail.java | 106 float level, CharSequence value) { in addDetailsItem() argument 118 progress.setProgress(Math.round(level*100)); in addDetailsItem() 125 float level = ((float)mMemTimes[i])/mTotalTime; in fillMemStateSection() local 126 addDetailsItem(mMemStateParent, labels[i], level, in fillMemStateSection() 134 float level = (float)(weight/mMemTotalWeight); in addMemUseDetailsItem() local 137 addDetailsItem(parent, title, level, value); in addMemUseDetailsItem()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieItem.java | 37 private int level; field in PieItem 56 public PieItem(Drawable drawable, int level) { in PieItem() argument 58 this.level = level; in PieItem() 130 return level; in getLevel()
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | Log.java | 194 private static boolean isLoggable(Tag tag, int level) { in isLoggable() argument 203 return LogHelper.instance().getOverrideLevel() <= level; in isLoggable() 206 isDebugOsBuild() || shouldLog(tag, level); in isLoggable() 214 private static boolean shouldLog(Tag tag, int level) { in shouldLog() argument 216 return android.util.Log.isLoggable(CAMERA_LOGTAG_PREFIX, level) in shouldLog() 217 || android.util.Log.isLoggable(tag.toString(), level); in shouldLog()
|
/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/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.cpp | 49 int level = 0; in getBigramEntryAndAdvancePosition() local 54 level = bigramListBuffer->readUintAndAdvancePosition( in getBigramEntryAndAdvancePosition() 69 count += level; in getBigramEntryAndAdvancePosition() 70 const HistoricalInfo historicalInfo(timestamp, level, count); in getBigramEntryAndAdvancePosition()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelEffect.java | 397 final int level = bandLevels[band]; in setParameterBoolean() local 399 audioSession, Key.eq_band_level, level, band); in setParameterBoolean() 642 final short level = equalizerEffect.getBandLevel(band); in setParameterInt() local 643 editor.putInt(Key.eq_band_level.toString() + band, level); in setParameterInt() local 1151 short level = 0; in openSession() local 1154 level = eQPresetCIExtremeBandLevel[band]; in openSession() 1157 level = (short) prefs.getInt( in openSession() 1161 equalizerEffect.setBandLevel(band, level); in openSession()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PreloadIconDrawable.java | 167 protected boolean onLevelChange(int level) { in onLevelChange() argument 168 mProgress = level; in onLevelChange() 176 if (level > 0) { in onLevelChange() 182 ((FastBitmapDrawable) mIcon).setGhostModeEnabled(level <= 0); in onLevelChange()
|