Searched refs:level (Results 76 - 100 of 371) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java94 /** Forced level used for testing */
101 * State for a specific storage volume, including the current "level" that
110 /** Last "level" that we alerted about */
111 public int level = LEVEL_NORMAL; field in class:DeviceStorageMonitorService.State
116 * Test if the given level transition is "entering" a specific level.
122 private static boolean isEntering(int level, int oldLevel, int newLevel) { argument
123 return newLevel >= level && (oldLevel < level || oldLevel == LEVEL_UNKNOWN);
127 * Test if the given level transitio
133 isLeaving(int level, int oldLevel, int newLevel) argument
137 levelToString(int level) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEnvReverbTest.java132 //Test case 1.0: test room level and room HF level
140 short level = mReverb.getRoomLevel();
141 assertTrue(msg +": got incorrect room level",
142 (level > (0 - MILLIBEL_TOLERANCE)) &&
143 (level < (0 + MILLIBEL_TOLERANCE)));
146 level = mReverb.getRoomHFLevel();
147 assertTrue(msg +": got incorrect room HF level",
148 (level > (-6 - MILLIBEL_TOLERANCE)) &&
149 (level < (
[all...]
/frameworks/wilhelm/src/itf/
H A DIEqualizer.cpp145 static SLresult IEqualizer_SetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel level) argument
150 if (!(thiz->mBandLevelRangeMin <= level && level <= thiz->mBandLevelRangeMax) ||
156 thiz->mLevels[band] = level;
164 android_eq_setParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level);
187 SLmillibel level = 0; local
190 level = thiz->mLevels[band];
197 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level);
202 *pLevel = level;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DScaleDrawable.java40 * level value. You can control how much the child Drawable changes in width
41 * and height based on the level, as well as a gravity to control where it is
45 * The default level may be specified from XML using the
46 * {@link android.R.styleable#ScaleDrawable_level android:level} property. When
47 * this property is not specified, the default level is 0, which corresponds to
51 * time, the level may be set via {@link #setLevel(int)}.
82 * @param scaleWidth width scaling factor [0...1] to use then the level is
84 * @param scaleHeight height scaling factor [0...1] to use then the level
213 protected boolean onLevelChange(int level) { argument
214 super.onLevelChange(level);
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java35 * @param level the texture level
45 public static void loadTexture(int target, int level, int border, argument
48 loadTexture(target, level, border, fallbackFormat, fallbackType, createTexture(input));
55 * @param level the texture level
64 public static void loadTexture(int target, int level, int border, argument
79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height,
88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border,
/frameworks/native/cmds/installd/
H A DCacheTracker.cpp135 if (p->fts_info == FTS_DP && p->fts_level == item->level) break;
185 if (left->level != right->level) {
186 return (left->level < right->level);
/frameworks/native/opengl/libagl/
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
H A Dtexture.cpp39 void generateMipmap(ogles_context_t* c, GLint level);
355 GGLSurface** outSurface, int32_t* outSize, GLint level,
376 if (level > 0) {
379 status_t err = tex->reallocate(level,
383 GGLSurface& surface = tex->editMip(level);
390 status_t err = tex->reallocate(level,
444 static void decodePalette4(const GLvoid *data, int level, int width, int height, argument
480 for (int i=0 ; i<level ; i++) {
485 width = (width >> level) ? : 1;
486 height = (height >> level)
354 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument
610 generateMipmap(ogles_context_t* c, GLint level) argument
1049 glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
[all...]
H A Dmipmap.cpp32 int level = 0; local
45 ++level;
47 if (tex->reallocate(level, w, h, w,
54 GGLSurface& cur = tex->editMip(level);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES30.spec4 void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
5 void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset )
6 void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels )
7 void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset )
8 void glCopyTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height )
9 void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data )
10 void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset )
11 void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data )
12 void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset )
31 void glFramebufferTextureLayer ( GLenum target, GLenum attachment, GLuint texture, GLint level, GLin
[all...]
/frameworks/wilhelm/tests/examples/
H A DxaVideoDecoderCapabilities.cpp158 // Map a video codec and level to string
160 const char* videoLevelToString(XAuint32 codec, XAuint32 level) { argument
219 return id_pair_to_string(codec, level, table, sizeof(table) / sizeof(table[0]));
271 /* get the number of profile / level combinations */
274 fprintf(stdout, "decoder %s has %d profile/level combinations:\n\t",
276 /* display the profile / level combinations */
283 XAuint32 level = decDescriptor.levelSetting; local
284 fprintf(stdout, "%u/%u ", profile, level);
287 videoLevelToString(decoder, level));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAccessPointControllerImpl.java106 int level = ap.getLevel();
107 return ICONS[level >= 0 ? level : 0];
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DTileDrawable.java154 protected boolean onLevelChange(int level) { argument
156 return mInner.setLevel(level);
158 return super.onLevelChange(level);
/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl41 boolean isWakeLockLevelSupported(int level);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiStatusTracker.java34 public int level; field in class:WifiStatusTracker
87 level = WifiManager.calculateSignalLevel(rssi, 5);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/car/
H A DCarVolumeDialogController.java67 protected void setAudioManagerStreamVolume(int stream, int level, int flag) { argument
73 mCarAudioManager.setStreamVolume(stream, level, flag);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java236 // Respect tinting for "normal" level
257 final int level = mLevel;
259 if (level == -1) return;
261 float drawFrac = (float) level / 100f;
290 mBatteryPaint.setColor(mCharging ? mChargeColor : getColorForLevel(level));
292 if (level >= FULL) {
294 } else if (level <= mCriticalLevel) {
384 if (!mCharging && !mPowerSaveEnabled && level > mCriticalLevel && mShowPercent) {
385 mTextPaint.setColor(getColorForLevel(level));
390 pctText = String.valueOf(SINGLE_DIGIT_PERCENT ? (level / 1
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java134 // found profile/level for which we don't have capability estimates
136 // have not found any profile/level for which we don't have capability estimate
142 * For example, what profile/level combinations it supports and what colorspaces
158 // Enumerates supported profile/level combinations as defined
608 * by the specified level.<br>
644 Integer level = (Integer)map.get(MediaFormat.KEY_LEVEL);
647 if (!supportsProfileLevel(profile, level)) {
652 // highest level supported by the codec for that profile. (Ignore specified
653 // level beyond the above profile/level chec
707 supportsProfileLevel(int profile, Integer level) argument
850 createFromProfileLevel( String mime, int profile, int level) argument
3073 public int level; field in class:MediaCodecInfo.CodecProfileLevel
[all...]
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp51 fprintf(stderr, " -l encoder level. see omx il header (default: encoder specific)\n");
174 int level = -1; // Encoder specific default local
231 level = atoi(optarg);
295 if (level != -1) {
296 enc_meta->setInt32("level", level);
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DVolumeDialogController.java64 public int level; field in class:VolumeDialogController.StreamState
76 rt.level = level;
133 sb.append(AudioSystem.streamToString(stream)).append(":").append(ss.level)
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DChargingView.java73 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { argument
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerState.java83 // will reset the brightness to a new level immediately before the changes
206 * Sets the level of the electron beam steering current.
208 * The display is blanked when the level is 0.0. In normal use, the electron
216 * @param level The level, ranges from 0.0 (full off) to 1.0 (full on).
218 public void setColorFadeLevel(float level) { argument
219 if (mColorFadeLevel != level) {
221 Slog.d(TAG, "setColorFadeLevel: level=" + level);
224 mColorFadeLevel = level;
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNetworkScoreCache.java146 score = network.rssiCurve.lookupScore(result.level);
150 + " RSSI " + result.level);
172 score = network.rssiCurve.lookupScore(result.level, isActiveNetwork);
176 + " RSSI " + result.level
/frameworks/compile/mclinker/include/mcld/Script/
H A DAssignment.h42 Level level() const { return m_Level; } function in class:mcld::Assignment
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetail.java43 String caps, int level, int frequency, long tsf,
48 caps, level, frequency, tsf);
64 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, argument
67 mScanResult = new ScanResult(wifiSsid, bssid, 0L, -1, null, caps, level, frequency, tsf);
42 ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, long tsf, ScanResult.InformationElement[] informationElements, List<String> anqpLines) argument

Completed in 975 milliseconds

1234567891011>>