Searched refs:level (Results 1 - 25 of 79) sorted by relevance

1234

/packages/apps/TV/common/src/com/android/tv/common/
H A DMemoryManageable.java28 void performTrimMemory(int level); argument
/packages/apps/Nfc/nci/jni/extns/pn54x/src/log/
H A DphNxpLog.c36 /* 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/inputmethods/LatinIME/native/jni/src/dictionary/property/
H A Dhistorical_info.h30 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 Dforgetting_curve_utils.cpp52 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 Dforgetting_curve_utils.h66 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);
H A Dtrie_map.cpp71 unsignedKey, getBitShuffledKey(unsignedKey), bitmapEntry, 0 /* level */);
100 0 /* level */);
109 readEntry(bitmapEntryIndex), 0 /* level */);
120 unsignedKey, getBitShuffledKey(unsignedKey), bitmapEntry, 0 /* level */);
142 * Iterate next entry in a certain level.
252 const Entry &bitmapEntry, const int level) const {
253 const int label = getLabel(hashedKey, level);
260 // Move to the next level.
261 return getTerminalEntryIndex(key, hashedKey, entry, level + 1);
279 * @param level curren
311 putInternal(const uint32_t key, const uint64_t value, const uint32_t hashedKey, const int bitmapEntryIndex, const Entry &bitmapEntry, const int level) argument
349 addNewEntryByResolvingConflict(const uint32_t key, const uint64_t value, const uint32_t hashedKey, const Entry &conflictedEntry, const int conflictedEntryIndex, const int level) argument
[all...]
/packages/apps/TV/src/com/android/tv/parental/
H A DContentRatingLevelPolicy.java38 @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
H A DParentalControlSettings.java72 // Ensure newly added system has ratings for current level set
117 @ContentRatingLevel int level) {
119 if (level == currentLevel) {
125 TvSettings.setContentRatingLevel(mContext, level);
126 if (level == TvSettings.CONTENT_RATING_LEVEL_CUSTOM) {
131 mRatings = ContentRatingLevelPolicy.getRatingsForLevel(this, manager, level);
144 * Note that a call to this method automatically changes the current rating level to
200 * Note that a call to this method automatically changes the current rating level to
116 setContentRatingLevel(ContentRatingsManager manager, @ContentRatingLevel int level) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTileImageViewAdapter.java76 // 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 DBitmapTileProvider.java74 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 DTileImageView.java80 // 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/Nfc/nci/jni/
H A DPowerSwitch.h39 ** 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 DPowerSwitch.cpp97 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/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DPieItem.java37 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 DBitmapRegionTileSource.java125 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 DLogSaver.java44 * 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 DLogUtil.java182 * 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 Dprettywriter.h50 \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 DScanResultComparator.java65 int levelDiff = result2.level - result1.level;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DProbabilityInfo.java51 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 DProgressDrawable.java44 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 DTiledImageRenderer.java79 // 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...]
/packages/apps/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageRenderer.java79 // 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...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DProcessStatsMemDetail.java107 float level, CharSequence value) {
119 progress.setProgress(Math.round(level*100));
126 float level = ((float)mMemTimes[i])/mTotalTime;
127 addDetailsItem(mMemStateParent, labels[i], level,
135 float level = (float)(weight/mMemTotalWeight);
138 addDetailsItem(parent, title, level, value);
106 addDetailsItem(ViewGroup parent, CharSequence title, float level, CharSequence value) argument
/packages/apps/DevCamera/src/com/android/devcamera/
H A DCameraDeviceReport.java210 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...]

Completed in 615 milliseconds

1234