Home
last modified time | relevance | path

Searched refs:mLevel (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthTdscdma.java56 private int mLevel; field in CellSignalStrengthTdscdma
109 mLevel = s.mLevel; in copyFrom()
124 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in setDefaultValues()
132 return mLevel; in getLevel()
138 if (mRscp > TDSCDMA_RSCP_MAX) mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in updateLevel()
139 else if (mRscp >= TDSCDMA_RSCP_GREAT) mLevel = SIGNAL_STRENGTH_GREAT; in updateLevel()
140 else if (mRscp >= TDSCDMA_RSCP_GOOD) mLevel = SIGNAL_STRENGTH_GOOD; in updateLevel()
141 else if (mRscp >= TDSCDMA_RSCP_MODERATE) mLevel = SIGNAL_STRENGTH_MODERATE; in updateLevel()
142 else if (mRscp >= TDSCDMA_RSCP_POOR) mLevel = SIGNAL_STRENGTH_POOR; in updateLevel()
143 else mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in updateLevel()
[all …]
DCellSignalStrengthGsm.java53 private int mLevel; field in CellSignalStrengthGsm
89 mLevel = s.mLevel; in copyFrom()
104 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in setDefaultValues()
111 return mLevel; in getLevel()
128 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in updateLevel()
132 mLevel = level; in updateLevel()
209 && mLevel == s.mLevel; in equals()
221 + " mLevel=" + mLevel; in toString()
231 dest.writeInt(mLevel); in writeToParcel()
242 mLevel = in.readInt(); in CellSignalStrengthGsm()
DCellSignalStrengthWcdma.java81 private int mLevel; field in CellSignalStrengthWcdma
132 mLevel = s.mLevel; in copyFrom()
148 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in setDefaultValues()
155 return mLevel; in getLevel()
184 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in updateLevel()
188 mLevel = level; in updateLevel()
196 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in updateLevel()
200 mLevel = level; in updateLevel()
272 return Objects.hash(mRssi, mBitErrorRate, mRscp, mEcNo, mLevel); in hashCode()
292 && mLevel == s.mLevel; in equals()
[all …]
DCellSignalStrengthCdma.java41 private int mLevel; field in CellSignalStrengthCdma
99 mLevel = s.mLevel; in copyFrom()
116 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in setDefaultValues()
123 return mLevel; in getLevel()
133 mLevel = getCdmaLevel(); in updateLevel()
136 mLevel = getEvdoLevel(); in updateLevel()
139 mLevel = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; in updateLevel()
391 return Objects.hash(mCdmaDbm, mCdmaEcio, mEvdoDbm, mEvdoEcio, mEvdoSnr, mLevel); in hashCode()
413 && mLevel == s.mLevel; in equals()
427 + " level=" + mLevel; in toString()
[all …]
DCellSignalStrengthLte.java92 private int mLevel; field in CellSignalStrengthLte
163 mLevel = s.mLevel; in copyFrom()
183 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in setDefaultValues()
191 return mLevel; in getLevel()
286 mLevel = level; in updateLevel()
314 mLevel = Math.min(Math.min(rsrpLevel, rsrqLevel), rssnrLevel); in updateLevel()
316 if (mLevel == SignalStrength.INVALID) { in updateLevel()
332 mLevel = rssiLevel; in updateLevel()
456 return Objects.hash(mRssi, mRsrp, mRsrq, mRssnr, mCqi, mTimingAdvance, mLevel); in hashCode()
480 && mLevel == s.mLevel; in equals()
[all …]
DCellSignalStrengthNr.java115 private int mLevel; field in CellSignalStrengthNr
249 dest.writeInt(mLevel); in writeToParcel()
259 mLevel = in.readInt(); in CellSignalStrengthNr()
271 mLevel = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in setDefaultValues()
279 return mLevel; in getLevel()
347 mLevel = Math.min(Math.min(ssRsrpLevel, ssRsrqLevel), ssSinrLevel); in updateLevel()
414 mLevel = s.mLevel; in CellSignalStrengthNr()
426 return Objects.hash(mCsiRsrp, mCsiRsrq, mCsiSinr, mSsRsrp, mSsRsrq, mSsSinr, mLevel); in hashCode()
443 && mLevel == o.mLevel; in equals()
458 .append(" level = " + mLevel) in toString()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DGradientDrawable_Delegate.java45 Field mLevel = null; in buildRing() local
51 mLevel = Drawable.class.getDeclaredField("mLevel"); in buildRing()
52 mLevel.setAccessible(true); in buildRing()
53 mLevel.setInt(thisDrawable, 9999); // set to one less than max. in buildRing()
64 if (mLevel != null) { in buildRing()
66 mLevel.setInt(thisDrawable, level); in buildRing()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarBatteryController.java78 private int mLevel; field in CarBatteryController
96 pw.println(mLevel); in dump()
110 cb.onBatteryLevelChanged(mLevel, false /* pluggedIn */, false /* charging */); in addCallback()
185 mLevel = BATTERY_LEVEL_FULL; in updateBatteryLevel()
188 mLevel = BATTERY_LEVEL_4; in updateBatteryLevel()
191 mLevel = BATTERY_LEVEL_3; in updateBatteryLevel()
194 mLevel = BATTERY_LEVEL_2; in updateBatteryLevel()
197 mLevel = BATTERY_LEVEL_1; in updateBatteryLevel()
201 mLevel = BATTERY_LEVEL_EMPTY; in updateBatteryLevel()
205 Log.d(TAG, "Battery level: " + batteryLevel + "; setting mLevel as: " + mLevel); in updateBatteryLevel()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DDumpOpsCanvas.h34 , mLevel(level) in DumpOpsCanvas()
120 mOutput << std::string(mLevel * 2, ' ') << "drawRenderNode"; in onDrawDrawable()
121 renderNodeDrawable->getRenderNode()->output(mOutput, mLevel + 1); in onDrawDrawable()
126 mOutput << std::string(mLevel * 2, ' ') << "drawGLFunctorDrawable" << std::endl; in onDrawDrawable()
130 mOutput << std::string(mLevel * 2, ' ') << "drawDrawable" << std::endl; in onDrawDrawable()
153 int mLevel; variable
/frameworks/base/core/java/android/webkit/
DConsoleMessage.java41 private MessageLevel mLevel; field in ConsoleMessage
53 mLevel = msgLevel; in ConsoleMessage()
57 return mLevel; in messageLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java67 protected int mLevel; field in BatteryControllerImpl
108 pw.print(" mLevel="); pw.println(mLevel); in dump()
126 cb.onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in addCallback()
143 mLevel = (int)(100f in onReceive()
163 int saveLevel = mLevel; in onReceive()
220 String percentage = NumberFormat.getPercentInstance().format((double) mLevel / 100.0); in generateTimeRemainingString()
289 mChangeCallbacks.get(i).onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in fireBatteryLevelChanged()
319 mLevel = Math.min(Math.max(Integer.parseInt(level), 0), 100); in dispatchDemoCommand()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVP8Encoder.cpp51 mLevel(OMX_VIDEO_VP8Level_Version0) { in SoftVP8Encoder()
59 switch (mLevel) { in setCodecSpecificConfiguration()
128 vp8Params->eLevel = mLevel; in internalGetVp8Params()
148 mLevel = vp8Params->eLevel; in internalSetVp8Params()
DSoftVP9Encoder.cpp42 mLevel(OMX_VIDEO_VP9Level1), in SoftVP9Encoder()
127 vp9Params->eLevel = mLevel; in internalGetVp9Params()
158 mLevel = vp9Params->eLevel; in internalSetVp9Params()
/frameworks/wilhelm/src/itf/
DIVolume.cpp32 SLmillibel oldLevel = thiz->mLevel; in IVolume_SetVolumeLevel()
34 thiz->mLevel = level; in IVolume_SetVolumeLevel()
55 SLmillibel level = thiz->mLevel; in IVolume_GetVolumeLevel()
216 thiz->mLevel = 0; in IVolume_init()
DIEffectSend.cpp144 initialLevel + ap->mVolume.mLevel)); in IEffectSend_EnableEffectSend()
148 initialLevel + ap->mVolume.mLevel)); in IEffectSend_EnableEffectSend()
275 result = android_fxSend_setSendLevel(ap, sendLevel + ap->mVolume.mLevel); in IEffectSend_SetSendLevel()
DIPrefetchStatus.cpp50 SLpermille level = thiz->mLevel; in IPrefetchStatus_GetFillLevel()
174 thiz->mLevel = 0; in IPrefetchStatus_init()
DIAndroidEffectSend.cpp44 initialLevel + ap->mVolume.mLevel); in IAndroidEffectSend_EnableEffectSend()
164 result = android_fxSend_setSendLevel(ap, sendLevel + ap->mVolume.mLevel); in IAndroidEffectSend_SetSendLevel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java76 private int mLevel; field in AccessPointPreference
125 mLevel = level; in AccessPointPreference()
150 drawable.setLevel(mLevel); in onBindViewHolder()
239 if (level != mLevel || wifiSpeed != mWifiSpeed) { in refresh()
240 mLevel = level; in refresh()
242 updateIcon(mLevel, context); in refresh()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h48 uint32_t mLevel; member
50 return mProfile < o.mProfile || (mProfile == o.mProfile && mLevel < o.mLevel);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java85 private int mLevel = 0; field in TiledImageRenderer
270 mLevel = Utils.clamp(Utils.floorLog2(1f / mScale), 0, mLevelCount); in layoutTiles()
275 if (mLevel != mLevelCount) { in layoutTiles()
277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles()
280 fromLevel = mScale * (1 << mLevel) > 0.75f ? mLevel - 1 : mLevel; in layoutTiles()
283 fromLevel = mLevel - 2; in layoutTiles()
420 int level = mLevel; in draw()
747 mX / mTileSize, mY / mTileSize, mLevel, mLevelCount); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java92 private int mLevel; field in BatteryMeterView
323 mLevel = level; in onBatteryLevelChanged()
360 mLevel, estimate)); in updatePercentText()
371 : R.string.accessibility_battery_level, mLevel)); in updatePercentText()
377 NumberFormat.getPercentInstance().format(mLevel / 100f)); in setPercentTextAtCurrentLevel()
380 : R.string.accessibility_battery_level, mLevel)); in setPercentTextAtCurrentLevel()
465 pw.println(" mLevel: " + mLevel); in dump()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java85 private int mLevel; field in EncoderTest
139 this.mLevel = level; in EncoderTest()
255 if (mProfile != -1 && mLevel != -1) { in testEncoder()
257 encodeFormat.setInteger(MediaFormat.KEY_LEVEL, mLevel); in testEncoder()
306 mColorFormat, mIFrameInterval, mWidth, mHeight, mProfile, mLevel, in testNativeEncoder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java39 private int mLevel; field in BatterySaverTile
112 mLevel = level; in onBatteryLevelChanged()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp746 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_MPEG2) ? asString_MPEG2Level(pl.mLevel) : in dumpCodecDetails()
747 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_H263) ? asString_H263Level(pl.mLevel) : in dumpCodecDetails()
748 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_MPEG4) ? asString_MPEG4Level(pl.mLevel) : in dumpCodecDetails()
749 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_AVC) ? asString_AVCLevel(pl.mLevel) : in dumpCodecDetails()
750 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_VP8) ? asString_VP8Level(pl.mLevel) : in dumpCodecDetails()
751 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_HEVC) ? asString_HEVCTierLevel(pl.mLevel) : in dumpCodecDetails()
752 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_VP9) ? asString_VP9Level(pl.mLevel) : in dumpCodecDetails()
753 … mediaType.equalsIgnoreCase(MIMETYPE_VIDEO_AV1) ? asString_AV1Level(pl.mLevel) : in dumpCodecDetails()
757 pl.mProfile, pl.mLevel, niceProfile, niceLevel)); in dumpCodecDetails()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVp9Enc.h48 int32_t mLevel __unused;

12