/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
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) {}
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/log/ |
H A D | phNxpLog.c | 36 /* global log level structure */ 44 * Description Sets the global log level for all modules. 46 * If value can be overridden by module log level. 48 * Returns The value of global log level 53 uint8_t level = NXPLOG_DEFAULT_LOGLEVEL; local 62 level = (unsigned char) num; 64 memset(&gLog_level, level, sizeof(nci_log_level_t)); 65 return level; 72 * Description Sets the HAL layer log level. 77 static void phNxpLog_SetHALLogLevel (uint8_t level) argument 108 phNxpLog_SetExtnsLogLevel(uint8_t level) argument 138 phNxpLog_SetTmlLogLevel(uint8_t level) argument 168 phNxpLog_SetDnldLogLevel(uint8_t level) argument 198 phNxpLog_SetNciTxLogLevel(uint8_t level) argument 253 uint8_t level = phNxpLog_SetGlobalLogLevel (); local [all...] |
/packages/apps/Camera2/src/com/android/camera/debug/ |
H A D | Log.java | 194 private static boolean isLoggable(Tag tag, int level) { argument 200 // Override system log level and output. VERBOSE is smaller than 202 // than the desired output level. This applies to all tags. 203 return LogHelper.instance().getOverrideLevel() <= level; 206 isDebugOsBuild() || shouldLog(tag, level); 214 private static boolean shouldLog(Tag tag, int level) { argument 216 return android.util.Log.isLoggable(CAMERA_LOGTAG_PREFIX, level) 217 || android.util.Log.isLoggable(tag.toString(), level);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
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 | 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...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | DrawableTileSource.java | 89 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) { argument
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | LocaleUtils.java | 38 // 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | ProbabilityInfo.java | 51 public ProbabilityInfo(final int probability, final int timestamp, final int level, argument 55 mLevel = level;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
H A D | probability_dict_content.cpp | 49 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);
|
H A D | bigram_dict_content.cpp | 49 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,
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | MemoryManagerImpl.java | 125 public void onTrimMemory(int level) { argument 127 if (level == sCriticalStates[i]) {
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | AnimatedCircleDrawable.java | 77 public boolean onLevelChange(int level) { argument 78 if (level != getLevel()) {
|
/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/Messaging/src/com/android/messaging/util/ |
H A D | LogSaver.java | 44 * lines will include a timestamp, pid, tid, level, and tag. 53 * @param level The log level to use 57 public abstract void log(int level, String tag, String msg); argument 97 * Record to store a single log entry. Stores timestamp, tid, level, tag, and message. 110 void set(int tid, int level, long time, String tag, String message) { argument 115 this.mLevelString = getLevelString(level); 145 public void log(int level, String tag, String msg) { argument 151 rec.set(Process.myTid(), level, System.currentTimeMillis(), tag, msg); 250 public void log(int level, Strin argument 275 getLevelString(final int level) argument [all...] |
H A D | LogUtil.java | 182 * The error will always be logged at level ASSERT with the call stack. 197 * The error will always be logged at level ASSERT with the call stack. 213 * Low-level logging call. 214 * @param level The priority/type of this log message 219 private static void println(final int level, final String tag, final String msg) { argument 220 android.util.Log.println(level, tag, msg); 223 if (serviceLog != null && level >= android.util.Log.DEBUG) { 224 serviceLog.log(level, tag, msg); 231 * @param level The priority/type of this log message 236 public static void save(final int level, fina argument 247 isLoggable(final String tag, final int level) argument [all...] |
/packages/apps/Nfc/nci/jni/ |
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/apps/Settings/src/com/android/settings/wifi/ |
H A D | AccessPointPreference.java | 113 protected void updateIcon(int level, Context context) { argument 114 if (level == -1) { 158 int level = mAccessPoint.getLevel(); 159 if (level != mLevel) { 160 mLevel = level; 173 if (level >= 0 && level < WIFI_CONNECTION_STRENGTH.length) { 175 getContext().getString(WIFI_CONNECTION_STRENGTH[level]));
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
H A D | probability_entry.h | 127 const int level = readFromEncodedEntry(encodedEntry, local 132 const HistoricalInfo historicalInfo(timestamp, level, count);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | forgetting_curve_utils.h | 66 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);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | Log.java | 41 public static boolean isLoggable(int level) { argument 42 return FORCE_LOGGING || android.util.Log.isLoggable(TAG, level);
|
/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/apps/Camera2/src/com/android/camera/ |
H A D | MultiToggleImageButton.java | 355 public void setImageLevel(int level) { argument 356 super.setImageLevel(level); 357 mLevel = level;
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
H A D | TiledImageView.java | 287 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) { argument 294 mCanvas.drawColor(COLORS[level]); 299 tileSize <<= level; 302 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | PreloadIconDrawable.java | 167 protected boolean onLevelChange(int level) { argument 168 mProgress = level; 176 if (level > 0) { 177 // Set the paint color only when the level changes, so that the dominant color 182 ((FastBitmapDrawable) mIcon).setGhostModeEnabled(level <= 0); 190 * Runs the finish animation if it is has not been run after last level change.
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | ActivityMusic.java | 704 final short level = (short) (progress + mEqualizerMinBandLevel); 706 equalizerBandUpdate(band, level); 755 final int level = bandLevels[band]; 756 final int progress = level - mEqualizerMinBandLevel; 762 * Updates/sets a given EQ band level. 766 * @param level 767 * EQ band level 769 private void equalizerBandUpdate(final int band, final int level) { argument 771 ControlPanelEffect.Key.eq_band_level, level, band);
|