/packages/apps/TV/common/src/com/android/tv/common/ |
H A D | MemoryManageable.java | 28 void performTrimMemory(int level); argument
|
/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/Car/Hvac/src/com/android/car/hvac/controllers/ |
H A D | SeatWarmerController.java | 44 public void onPassengerSeatWarmerChange(int level) { 47 if (level < SeatWarmerButton.HEAT_OFF) { 50 mPassengerSeatButton.setHeatLevel(level); 55 public void onDriverSeatWarmerChange(int level) { 58 if (level < SeatWarmerButton.HEAT_OFF) { 61 mDriverSeatButton.setHeatLevel(level); 69 public void onSeatWarmerButtonClicked(@SeatWarmerButton.HeatingLevel int level) { 70 mHvacController.setPassengerSeatWarmerLevel(level); 77 public void onSeatWarmerButtonClicked(@SeatWarmerButton.HeatingLevel int level) { 78 mHvacController.setDriverSeatWarmerLevel(level); [all...] |
/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/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | forgetting_curve_utils.cpp | 52 const int level = clampToVisibleEntryLevelRange(newHistoricalInfo->getLevel()); local 54 return HistoricalInfo(timestamp, level, count); 62 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel() + 1); local 63 return HistoricalInfo(timestamp, level, 0 /* count */); 65 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel()); local 66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy)); 70 // The count exceeds the max value the level can be incremented. 72 // The level is already max. 76 // Raise the level. 117 // Lower the level 162 clampToVisibleEntryLevelRange(const int level) argument 171 clampToValidLevelRange(const int level) argument 215 getBaseProbabilityForLevel( const int tableId, const int level) argument [all...] |
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/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
H A D | BatteryTestUtils.java | 27 50 /* level */, 35 10 /* level */, 40 public static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) { argument 43 intent.putExtra(BatteryManager.EXTRA_LEVEL, 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/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/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 | 80 // The mLevel variable indicates which level of bitmap we should use. 137 // If level > 0, it does the same operation on a down-scaled version of 138 // the original image (down-scaled by a factor of 2^level), but (x, y) 142 public Bitmap getTile(int level, int x, int y, int tileSize); argument 200 // 1. Decide the tile level we want to use for display. 218 // We want to keep one more tile level as texture in addition to what 220 // next level. We choose a level closer to the current scale. 250 // Recycle unused tiles: if the level of the active tile is outside the 255 int level 291 getRange(Rect out, int cX, int cY, int level, int rotation) argument 301 getRange(Rect out, int cX, int cY, int level, float scale, int rotation) argument 512 obtainTile(int x, int y, int level) argument 535 activateTile(int x, int y, int level) argument 548 getTile(int x, int y, int level) argument 552 makeTileKey(int x, int y, int level) argument 589 drawTile(GLCanvas canvas, int tx, int ty, int level, float x, float y, float length) argument 660 Tile(int x, int y, int level) argument 713 update(int x, int y, int level) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | PromiseAppInfo.java | 27 public int level = 0; field in class:PromiseAppInfo 41 shortcut.setInstallProgress(level);
|
/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 ALOGV("%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/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
H A D | PieItem.java | 34 private int level; field in class:PieItem 52 public PieItem(Drawable drawable, int level) { argument 54 this.level = level; 113 return level;
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
H A D | PieItem.java | 37 private int level; field in class:PieItem 56 public PieItem(Drawable drawable, int level) { argument 58 this.level = level; 130 return 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...] |
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/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | prettywriter.h | 50 \param indentCharCount Number of indent characters for each indentation level.
149 typename Base::Level* level = Base::level_stack_.template Top<typename Base::Level>();
local 151 if (level->inArray) {
152 if (level->valueCount > 0) {
161 if (level->valueCount > 0) {
162 if (level->valueCount % 2 == 0) {
174 if (level->valueCount % 2 == 0)
177 if (!level->inArray && level->valueCount % 2 == 0)
179 level [all...] |
/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 | 51 public ProbabilityInfo(final int probability, final int timestamp, final int level, argument 55 mLevel = level;
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
H A D | ProgressDrawable.java | 44 new Property<ProgressDrawable, Integer>(Integer.class, "level") { 56 /** Max level for a level drawable, as specified in developer docs for {@link Drawable}. */ 116 int level = getLevel(); 118 int currentSegment = level / LEVELS_PER_SEGMENT; 120 float progress = (level - offset) / (float) LEVELS_PER_SEGMENT; 136 level * (1.0f / MAX_LEVEL) * 2 * FULL_CIRCLE + STARTING_ANGLE + correctionAngle, 163 protected boolean onLevelChange(int level) { argument 164 return true; // Changing the level of this drawable does change its appearance.
|
/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...] |