Searched defs:level (Results 26 - 50 of 157) sorted by relevance

1234567

/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp60 static jboolean isLoggable(const char* tag, jint level) { argument
71 return logLevel >= 0 && level >= logLevel;
74 static jboolean android_util_Log_isLoggable(JNIEnv* env, jobject clazz, jstring tag, jint level) argument
93 result = isLoggable(chars, level);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLevelListDrawable.java30 * Setting the level value of the object with {@link #setLevel(int)} will load the image with the next
33 * a LevelListDrawable would be a battery level indicator icon, with different images to indicate the current
34 * battery level.
36 * It can be defined in an XML file with the <code>&lt;level-list></code> element.
37 * Each Drawable level is defined in a nested <code>&lt;item></code>. For example:
40 * &lt;level-list xmlns:android="http://schemas.android.com/apk/res/android">
45 * &lt;/level-list>
77 protected boolean onLevelChange(int level) { argument
78 int idx = mLevelListState.indexOfLevel(level);
82 return super.onLevelChange(level);
178 indexOfLevel(int level) argument
[all...]
H A DClipDrawable.java32 * level value. You can control how much the child Drawable gets clipped in width
33 * and height based on the level, as well as a gravity to control where it is
35 * progress bars, by increasing the drawable's level with {@link
38 * the level is 0 and fully revealed when the level is 10,000.</p>
181 protected boolean onLevelChange(int level) { argument
182 mClipState.mDrawable.setLevel(level);
201 int level = getLevel();
205 w -= (w - iw) * (10000 - level) / 10000;
210 h -= (h - ih) * (10000 - level) / 1000
[all...]
H A DRotateDrawable.java34 * <p>A Drawable that can rotate another Drawable based on the current level
36 * circular arc to the level values range.</p>
164 protected boolean onLevelChange(int level) { argument
165 mState.mDrawable.setLevel(level);
170 ((float) level / MAX_LEVEL);
H A DScaleDrawable.java32 * level value. You can control how much the child Drawable changes in width
33 * and height based on the level, as well as a gravity to control where it is
202 protected boolean onLevelChange(int level) { argument
203 mScaleState.mDrawable.setLevel(level);
213 int level = getLevel();
217 w -= (int) ((w - iw) * (10000 - level) * mScaleState.mScaleWidth / 10000);
222 h -= (int) ((h - ih) * (10000 - level) * mScaleState.mScaleHeight / 10000);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java82 * Buckets the battery level.
85 * the bucket going up when the battery level was going down. --joeo
91 private int findBatteryLevelBucket(int level) { argument
92 if (level >= mLowBatteryAlertCloseLevel) {
95 if (level >= mLowBatteryReminderLevels[0]) {
100 if (level <= mLowBatteryReminderLevels[i]) {
132 Slog.d(TAG, "level " + oldBatteryLevel + " --> " + mBatteryLevel);
174 Slog.i(TAG, "closing low battery warning: level=" + mBatteryLevel);
182 + " low battery warning: level=" + mBatteryLevel
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java108 public boolean isWakeLockLevelSupported(int level) throws RemoteException { argument
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp32 int level = 0; local
45 ++level;
47 if (tex->reallocate(level, w, h, w,
54 GGLSurface& cur = tex->editMip(level);
H A DTextureObjectManager.cpp161 GLint level, int w, int h, int s,
165 if (level == 0)
196 ALOGW_IF(level-1 >= mNumExtraLod,
197 "specifying mipmap level %d, but # of level is %d",
198 level, mNumExtraLod+1);
200 GGLSurface& mipmap = editMip(level);
160 reallocate( GLint level, int w, int h, int s, int format, int compressedFormat, int bpr) argument
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp43 fprintf(stderr, " -l encoder level. see omx il header (default: encoder specific)\n");
162 int level = -1; // Encoder specific default local
219 level = atoi(optarg);
280 if (level != -1) {
281 enc_meta->setInt32(kKeyVideoLevel, level);
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_EXTERNAL_BitstreamParser.c35 M4OSA_Int32 level; member in struct:__anon308
589 ALOGV("getAVCProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
596 M4OSA_UInt16 index = 7; /* the 5th and 6th bytes contain the level and profile */
611 /* get the H263 level */
673 ALOGV("getH263ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
692 *pLevel = mpeg4ProfileLevelTable[i].level;
696 ALOGV("getMPEG4ProfileAndLevel profile %ld level %ld", *pProfile, *pLevel);
/frameworks/av/media/libstagefright/
H A DUtils.cpp132 uint8_t level = ptr[3]; local
249 avcc[3] = 0xd; // level
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.cpp113 * level adjustment for different modes Q11 *
183 // low level noise for better performance in DTX handover cases
262 /* low level noise for better performance in DTX handover cases*/
407 Word16 level;
632 // recompute level adjustment factor Q11
708 // Compute acoeffs Q12 acoeff is used for level
711 // by doing this we make sure that the level
751 // adjust level to speech coder mode
758 level = extract_l(Pow2(log_en_int_e, log_en_int_m)); // Q4
766 ex[j] = mult(level, e
862 Word16 level; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddtx.h134 int16 level; member in struct:__anon603
H A Ddtx_decoder_amr_wb.cpp132 /* low level noise for better performance in DTX handover cases */
213 int16 tmp, exp, exp0, log_en_int_e, log_en_int_m, level; local
389 /* level = (float)( pow( 2.0f, log_en ) ); */
393 level32 <<= exp0; /* level in Q31 */
395 level = (int16)(level32 >> 16); /* level in Q15 */
403 /* gain = level / sqrt(ener) * sqrt(L_FRAME) */
412 gain = mult_int16(level, gain); /* gain in Q15 */
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Ddtx.c167 Word16 log_en, gain, level, exp, exp0, tmp; local
232 /* level = (float)( pow( 2.0f, (float)st->log_en_index / 2.625 - 2.0 ) ); */
253 level32 = (level32 << exp0); /* level in Q31 */
255 level = extract_h(level32); /* level in Q15 */
263 /* gain = level / sqrt(ener) * sqrt(L_FRAME) */
272 gain = mult(level, gain); /* gain in Q15 */
H A Dwb_vad.c128 * Purpose : Calculate signal level in a sub-band. Level is calculated
131 * Signal level calculated from of the end of the frame
133 * and added to the level of the next frame.
137 static Word16 level_calculation( /* return: signal level */
139 Word16 * sub_level, /* i : level calculated at the end of the previous frame*/
140 /* o : level of signal calculated from the last */
146 Word16 scale /* i : scaling for the level calculation */
150 Word16 level; local
165 level = extract_h(L_shl2(l_temp2, scale));
167 return level;
459 vad_decision( VadVars * st, Word16 level[COMPLEN], Word32 pow_sum ) argument
764 Word16 level[COMPLEN]; local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp25 int level, framesize, num_fs; local
31 level = video->currSeqParams->level_idc;
57 dpb->num_fs = (uint32)(MaxDPBX2[mapLev2Idx[level]] << 2) / (3 * FrameHeightInMbs * PicWidthInMbs) + 1;
69 // dpb->dpb_size = (uint32)MaxDPBX2[mapLev2Idx[level]]*512 + framesize;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dresidual.cpp155 int *level, *run; local
165 level = encvid->level[cindx];
171 level = encvid->leveldc;
179 level = encvid->level[cindx];
188 level = encvid->levelcdc + 4;
194 level = encvid->levelcdc;
202 level = encvid->level[cind
[all...]
/frameworks/base/core/java/android/app/
H A DService.java419 * level 5, you can use the following model to handle the older {@link #onStart}
469 public void onTrimMemory(int level) { argument
628 * level 5, you can use the following model to call the the older setForeground()
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClient.java328 * Logging tag and level.
333 private final int level; field in class:AndroidHttpClient.LoggingConfiguration
335 private LoggingConfiguration(String tag, int level) { argument
337 this.level = level;
344 return Log.isLoggable(tag, level);
351 Log.println(level, tag, message);
362 * @param level at which to log messages (see {@link android.util.Log})
364 public void enableCurlLogging(String name, int level) { argument
368 if (level < Lo
[all...]
/frameworks/base/location/java/android/location/
H A DCriteria.java246 * Indicates the desired maximum power level. The level parameter
250 public void setPowerRequirement(int level) { argument
251 if (level < NO_REQUIREMENT || level > POWER_HIGH) {
252 throw new IllegalArgumentException("level=" + level);
254 mPowerRequirement = level;
/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java60 * Band level range. Parameter ID for OnParameterChangeListener
64 * Band level. Parameter ID for OnParameterChangeListener
131 * @param priority the priority level requested by the application for controlling the Equalizer
196 * Gets the level range for use by {@link #setBandLevel(short,short)}. The level is expressed in
198 * @return the band level range in an array of short integers. The first element is the lower
215 * @param level new gain in millibels that will be set to the given band. getBandLevelRange()
222 public void setBandLevel(short band, short level) argument
229 value[0] = level;
389 * @param param2 additional parameter qualifier (e.g the band for band level paramete
[all...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java187 public void setAuxEffectSendLevel(float level) { argument
188 mSendLevel = level;
190 mMediaPlayer.setAuxEffectSendLevel(level);
/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerState.java87 // will reset the brightness to a new level immediately before the changes
203 * Sets the level of the electron beam steering current.
205 * The display is blanked when the level is 0.0. In normal use, the electron
213 * @param level The level, ranges from 0.0 (full off) to 1.0 (full on).
215 public void setElectronBeamLevel(float level) { argument
216 if (mElectronBeamLevel != level) {
218 Slog.d(TAG, "setElectronBeamLevel: level=" + level);
221 mElectronBeamLevel = level;
[all...]

Completed in 594 milliseconds

1234567