/packages/apps/TV/common/src/com/android/tv/common/ |
H A D | MemoryManageable.java | 28 void performTrimMemory(int level); argument
|
H A D | TvContentRatingCache.java | 139 public void performTrimMemory(int level) { argument
|
/packages/apps/TV/src/com/android/tv/parental/ |
H A D | ContentRatingLevelPolicy.java | 38 @ContentRatingLevel int level) { 39 if (level == TvSettings.CONTENT_RATING_LEVEL_NONE) { 41 } else if (level == TvSettings.CONTENT_RATING_LEVEL_HIGH) { 43 } else if (level == TvSettings.CONTENT_RATING_LEVEL_MEDIUM) { 45 } else if (level == TvSettings.CONTENT_RATING_LEVEL_LOW) { 48 throw new IllegalArgumentException("Unexpected rating level"); 36 getRatingsForLevel( ParentalControlSettings settings, ContentRatingsManager manager, @ContentRatingLevel int level) argument
|
/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/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/Car/Hvac/src/com/android/car/hvac/ui/ |
H A D | SeatWarmerButton.java | 37 void onSeatWarmerButtonClicked(@HeatingLevel int level); argument 88 public void setHeatLevel(@HeatingLevel int level) { argument 89 mCurrentHeatSetting = level; 93 private Drawable getDrawableForState(@HeatingLevel int level) { argument 94 switch (level) { 107 private @HeatingLevel int getNextHeatSetting(@HeatingLevel int level) { argument 108 switch (level) {
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | CameraDeviceReport.java | 210 int level = p.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); 211 Log.v(TAG, "CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL: " + getHardwareLevelName(level)); 269 public static String getTimestampSourceName(Integer level) { argument 270 if (level == null) return "null"; 271 switch (level) { 280 public static String getFocusDistanceCalibrationName(Integer level) { argument 281 if (level == null) return "null"; 282 switch (level) { 317 public static String getHardwareLevelName(int level) { argument 318 switch (level) { [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | DocumentsApplication.java | 103 public void onTrimMemory(int level) { argument 104 super.onTrimMemory(level); 106 mThumbnailCache.onTrimMemory(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/Nfc/nci/jni/extns/pn54x/src/log/ |
H A D | phNxpLog.c | 39 /* global log level structure */ 47 * Description Sets the global log level for all modules. 49 * If value can be overridden by module log level. 51 * Returns The value of global log level 56 uint8_t level = NXPLOG_DEFAULT_LOGLEVEL; local 65 level = (unsigned char) num; 67 memset(&gLog_level, level, sizeof(nci_log_level_t)); 68 return level; 75 * Description Sets the HAL layer log level. 80 static void phNxpLog_SetHALLogLevel (uint8_t level) argument 111 phNxpLog_SetExtnsLogLevel(uint8_t level) argument 141 phNxpLog_SetTmlLogLevel(uint8_t level) argument 171 phNxpLog_SetDnldLogLevel(uint8_t level) argument 201 phNxpLog_SetNciTxLogLevel(uint8_t level) argument 256 uint8_t level = phNxpLog_SetGlobalLogLevel (); local [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatteryMeterView.java | 66 public void setBatteryLevel(int level) { argument 67 mDrawable.setBatteryLevel(level); 68 if (level < mDrawable.getCriticalLevel()) {
|
/packages/apps/TV/src/com/android/tv/util/ |
H A D | ImageCache.java | 178 public void performTrimMemory(int level) { argument
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
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);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | Log.java | 38 public static boolean isLoggable(int level) { argument 39 return FORCE_LOGGING || android.util.Log.isLoggable(TAG, level);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | BmessageParser.java | 193 private Property parseEnvelope(int level) throws IOException, ParseException { argument 197 * we can support as many nesting level as we want, but MAP spec clearly 202 if (level > 3) { 220 if (level == 1) { 227 prop = parseEnvelope(level + 1);
|
/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/Dialer/java/com/android/dialer/common/ |
H A D | LogUtil.java | 33 * Log at a verbose level. Verbose logs should generally be filtered out, but may be useful when 49 * Log at a debug level. Debug logs should provide known-useful information to aid in 65 * Log at an info level. Info logs provide information that would be useful to have on production 80 * Log entry into a method at the info level. 90 * Log at a warn level. Warn logs indicate a possible error (e.g. a default switch branch was hit, 107 * Log at an error level. Error logs are used when it is known that an error occurred and is 123 * Log an exception at an error level. Error logs are used when it is known that an error occurred 145 * @return text as is if {@value #TAG}'s log level is set to DEBUG or VERBOSE or on non-release 197 int level, 206 if ((level > 196 println( int level, @NonNull String tag, @NonNull String localTag, @Nullable String msg, @Nullable Object... args) argument [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
H A D | DropdownSortWidgetController.java | 148 private void showArrow(int level, @StringRes int descriptionId) { argument 152 mArrow.setImageLevel(level);
|
/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...] |