/frameworks/base/core/jni/ |
H A D | android_util_Log.cpp | 60 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 D | LevelListDrawable.java | 30 * 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><level-list></code> element. 37 * Each Drawable level is defined in a nested <code><item></code>. For example: 40 * <level-list xmlns:android="http://schemas.android.com/apk/res/android"> 45 * </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 D | ClipDrawable.java | 32 * 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 D | RotateDrawable.java | 34 * <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 D | ScaleDrawable.java | 32 * 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 D | PowerUI.java | 82 * 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 D | BridgePowerManager.java | 108 public boolean isWakeLockLevelSupported(int level) throws RemoteException { argument
|
/frameworks/native/opengl/libagl/ |
H A D | mipmap.cpp | 32 int level = 0; local 45 ++level; 47 if (tex->reallocate(level, w, h, w, 54 GGLSurface& cur = tex->editMip(level);
|
H A D | TextureObjectManager.cpp | 161 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 D | recordvideo.cpp | 43 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 D | M4VD_EXTERNAL_BitstreamParser.c | 35 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 D | Utils.cpp | 132 uint8_t level = ptr[3]; local 249 avcc[3] = 0xd; // level
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dtx_dec.cpp | 113 * 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 D | dtx.h | 134 int16 level; member in struct:__anon603
|
H A D | dtx_decoder_amr_wb.cpp | 132 /* 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 D | dtx.c | 167 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 D | wb_vad.c | 128 * 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 D | dpb.cpp | 25 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 D | residual.cpp | 155 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 D | Service.java | 419 * 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 D | AndroidHttpClient.java | 328 * 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 D | Criteria.java | 246 * 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 D | Equalizer.java | 60 * 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 D | SimplePlayer.java | 187 public void setAuxEffectSendLevel(float level) { argument 188 mSendLevel = level; 190 mMediaPlayer.setAuxEffectSendLevel(level);
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | DisplayPowerState.java | 87 // 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...] |