Home
last modified time | relevance | path

Searched refs:mVolume (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/hdmi/
DAudioStatus.java33 int mVolume; field in AudioStatus
37 mVolume = Math.max(Math.min(volume, MAX_VOLUME), MIN_VOLUME); in AudioStatus()
42 return mVolume; in getVolume()
56 return mVolume == other.mVolume in equals()
62 return Objects.hash(mVolume, mMute); in hashCode()
67 return "AudioStatus mVolume:" + mVolume + " mMute:" + mMute; in toString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java102 private final VolumeInfo mVolume; field in StorageMeasurement
110 mVolume = volume; in StorageMeasurement()
153 if (mVolume == null) return details; in measureExactStorage()
155 if (mVolume.getType() == VolumeInfo.TYPE_PUBLIC in measureExactStorage()
156 || mVolume.getType() == VolumeInfo.TYPE_STUB) { in measureExactStorage()
157 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage()
158 details.availSize = mVolume.getPath().getUsableSpace(); in measureExactStorage()
163 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage()
164 details.availSize = mStats.getFreeBytes(mVolume.fsUuid); in measureExactStorage()
204 if ((mVolume.getType() == VolumeInfo.TYPE_PRIVATE) && mVolume.isMountedReadable()) { in measureExactStorage()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DRsBrickedBitMask.java36 Volume mVolume; field in RsBrickedBitMask
49 mVolume = state.mVolume; in RsBrickedBitMask()
50 mDimX = mVolume.mDimx; in RsBrickedBitMask()
51 mDimY = mVolume.mDimy; in RsBrickedBitMask()
52 mDimZ = mVolume.mDimz; in RsBrickedBitMask()
65 scriptC_bricked.set_volume(mVolume.mVolumeAllocation); in RsBrickedBitMask()
DVrState.java30 public Volume mVolume; field in VrState
43 mVolume = src.mVolume; in clone()
105 mVolume = src.mVolume; in copyData()
/frameworks/base/media/java/android/media/
DBluetoothProfileConnectionInfo.java35 private final int mVolume; field in BluetoothProfileConnectionInfo
42 mVolume = volume; in BluetoothProfileConnectionInfo()
72 dest.writeInt(mVolume); in writeToParcel()
169 return mVolume; in getVolume()
DRoutingSessionInfo.java112 final int mVolume; field in RoutingSessionInfo
142 mVolume = builder.mVolume; in RoutingSessionInfo()
179 mVolume = src.readInt(); in RoutingSessionInfo()
357 return mVolume; in getVolume()
414 dest.writeInt(mVolume); in writeToParcel()
443 pw.println(indent + MediaRoute2Info.getVolumeString(mVolume, mVolumeMax, mVolumeHandling)); in dump()
476 && (mVolume == other.mVolume) in equals()
497 mVolume, in hashCode()
526 .append(MediaRoute2Info.getVolumeString(mVolume, mVolumeMax, mVolumeHandling)) in toString()
586 private int mVolume; field in RoutingSessionInfo.Builder
[all …]
DMediaRoute2Info.java529 private final int mVolume; field in MediaRoute2Info
551 mVolume = builder.mVolume; in MediaRoute2Info()
575 mVolume = in.readInt(); in MediaRoute2Info()
710 return mVolume; in getVolume()
887 pw.println(prefix + getVolumeString(mVolume, mVolumeMax, mVolumeHandling)); in dumpVolume()
913 && (mVolume == other.mVolume) in equals()
938 mVolume, in hashCode()
971 .append(getVolumeString(mVolume, mVolumeMax, mVolumeHandling)) in toString()
1007 dest.writeInt(mVolume); in writeToParcel()
1120 private int mVolume; field in Builder
[all …]
DRingtone.java95 private float mVolume = 1.0f; field in Ringtone
308 mVolume = volume; in setVolume()
319 return mVolume; in getVolume()
356 mLocalPlayer.setVolume(mVolume); in applyPlaybackProperties_sync()
367 mRemoteToken, mVolume, mIsLooping, mHapticGeneratorEnabled); in applyPlaybackProperties_sync()
518 volume = mVolume; in play()
DVolumeShaper.java1507 private float mVolume; field in VolumeShaper.State
1514 + "mVolume = " + mVolume in toString()
1521 return Objects.hash(mVolume, mXOffset); in hashCode()
1529 return mVolume == other.mVolume in equals()
1546 result.volume = mVolume; in toParcelable()
1571 mVolume = volume; in State()
1580 return mVolume; in getVolume()
DMediaRouter.java565 route.mVolume = globalRoute.volume; in makeGlobalRoute()
607 if (route.mVolume != globalRoute.volume) { in updateGlobalRoute()
608 route.mVolume = globalRoute.volume; in updateGlobalRoute()
1654 int mVolume = DEFAULT_PLAYBACK_VOLUME; field in MediaRouter.RouteInfo
2012 return mVolume; in getVolume()
2444 if (mVolume != volume) { in setVolume()
2445 mVolume = volume; in setVolume()
2447 mSvp.setCurrentVolume(mVolume); in setVolume()
2533 mSvp = new SessionVolumeProvider(volumeControl, mVolumeMax, mVolume); in configureSessionVolume()
2727 if (volume != mVolume) { in requestSetVolume()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrView.java288 mState1.mCubeVolume = new Cube(mState1.mVolume, 5f, f); in cut()
290 mState1.mCubeScreen.scale(mState1.mVolume.mVoxelDim); in cut()
295 mState1.mCubeVolume = new Cube(mState1.mVolume, 5f, mCurrentTrim); in resetCut()
297 mState1.mCubeScreen.scale(mState1.mVolume.mVoxelDim); in resetCut()
306 mState1.mVolume = v; in setVolume()
307 mState1.mCubeVolume = new Cube(mState1.mVolume, 5f); in setVolume()
312 setLook(mState1.mVolume.getLookNames()[0]); in setVolume()
333 return mState1.mVolume.getLookNames(); in getLooks()
337 int[][] color = mState1.mVolume.getLookColor(look); in setLook()
338 int[][] opacity = mState1.mVolume.getLookOpactiy(look); in setLook()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DReverbContext.cpp49 mVolume.left = kUnitVolume; in init()
50 mVolume.right = kUnitVolume; in init()
443 if (mVolume != mPrevVolume && volumeMode == VOLUME_RAMP) { in process()
445 float incl = (mVolume.left - vl) / frameCount; in process()
447 float incr = (mVolume.right - vr) / frameCount; in process()
456 mPrevVolume = mVolume; in process()
458 if (mVolume.left != kUnitVolume || mVolume.right != kUnitVolume) { in process()
460 outputSamples[FCC_2 * i] *= mVolume.left; in process()
461 outputSamples[FCC_2 * i + 1] *= mVolume.right; in process()
464 mPrevVolume = mVolume; in process()
/frameworks/wilhelm/src/itf/
DIDeviceVolume.cpp64 thiz->mVolume[~deviceID] = volume; in IDeviceVolume_SetVolume()
96 SLint32 volume = thiz->mVolume[~deviceID]; in IDeviceVolume_GetVolume()
124 thiz->mVolume[i] = 10; in IDeviceVolume_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()
DIOutputMixExt.cpp430 SLboolean mute = audioPlayer->mVolume.mMute; in audioPlayerGainUpdate()
433 SLmillibel level = audioPlayer->mVolume.mLevel; in audioPlayerGainUpdate()
434 SLboolean enableStereoPosition = audioPlayer->mVolume.mEnableStereoPosition; in audioPlayerGainUpdate()
435 SLpermille stereoPosition = audioPlayer->mVolume.mStereoPosition; in audioPlayerGainUpdate()
DIAndroidEffectSend.cpp44 initialLevel + ap->mVolume.mLevel); in IAndroidEffectSend_EnableEffectSend()
164 result = android_fxSend_setSendLevel(ap, sendLevel + ap->mVolume.mLevel); in IAndroidEffectSend_SetSendLevel()
/frameworks/av/services/audioflinger/datapath/
DTrackMetrics.h112 logVolume_l(mVolume); // flush out the last volume. in logEndInterval()
195 mDeviceVolume += (mVolume - mDeviceVolume) * durationNs in logVolume_l()
200 updateMinMaxVolume_l(durationNs, mVolume); // always update. in logVolume_l()
201 mVolume = volume; in logVolume_l()
240 mVolume = 0.f; in resetIntervalGroupMetrics()
286 double mVolume GUARDED_BY(mLock) = 0.f; // last set volume.
/frameworks/av/media/libaudioprocessing/
DAudioResamplerCubic.cpp56 int32_t vl = mVolume[0]; in resampleStereo16()
57 int32_t vr = mVolume[1]; in resampleStereo16()
123 int32_t vl = mVolume[0]; in resampleMono16()
124 int32_t vr = mVolume[1]; in resampleMono16()
DAudioResampler.cpp282 mVolume[0] = mVolume[1] = 0; in AudioResampler()
307 mVolume[0] = u4_12_from_float(clampFloatVol(left)); in setVolume()
308 mVolume[1] = u4_12_from_float(clampFloatVol(right)); in setVolume()
340 int32_t vl = mVolume[0]; in resampleStereo16()
341 int32_t vr = mVolume[1]; in resampleStereo16()
438 int32_t vl = mVolume[0]; in resampleMono16()
439 int32_t vr = mVolume[1]; in resampleMono16()
DAudioMixerBase.cpp117 t->mVolume[0] = 0.f; in create()
118 t->mVolume[1] = 0.f; in create()
471 &track->mVolume[param - VOLUME0], in setParameter()
476 track->mVolume[param - VOLUME0]); in setParameter()
543 if ((mVolumeInc[i] > 0 && mPrevVolume[i] + mVolumeInc[i] >= mVolume[i]) || in adjustVolumeRamp()
544 (mVolumeInc[i] < 0 && mPrevVolume[i] + mVolumeInc[i] <= mVolume[i])) { in adjustVolumeRamp()
548 mPrevVolume[i] = mVolume[i]; in adjustVolumeRamp()
561 mPrevVolume[i] = mVolume[i]; in adjustVolumeRamp()
801 mResampler->setVolume(mVolume[0], mVolume[1]); in track__genericResample()
1261 in, name, t->channelCount, t->needs, vrl, t->mVolume[0], t->mVolume[1]); in process__oneTrack16BitsStereoNoResampling()
[all …]
/frameworks/wilhelm/src/
Dclasses.h51 IVolume mVolume; member
144 IVolume mVolume; member
267 IVolume mVolume; member
301 IVolume mVolume; member
335 IVolume mVolume; member
Dclasses.cpp75 {MPH_VOLUME, INTERFACE_EXPLICIT, offsetof(CAudioPlayer, mVolume)},
125 {MPH_VOLUME, INTERFACE_OPTIONAL, offsetof(CAudioRecorder, mVolume)},
310 {MPH_VOLUME, INTERFACE_EXPLICIT_GAME_PHONE, offsetof(CMidiPlayer, mVolume)},
360 {MPH_VOLUME, INTERFACE_OPTIONAL, offsetof(COutputMix, mVolume)},
419 {MPH_XAVOLUME, INTERFACE_IMPLICIT, offsetof(CMediaPlayer, mVolume)},
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java99 private final VolumeInfo mVolume; field in AppCollector.BackgroundHandler
107 mVolume = volume; in BackgroundHandler()
127 if (!Objects.equals(app.volumeUuid, mVolume.getFsUuid())) { in handleMessage()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java46 private int mVolume; field in HdmiAudioSystemClientTest
151 Assert.assertEquals(volume, mVolume); in assertAudioStatus()
157 mVolume = -1; in resetVariables()
343 mVolume = volume; in reportAudioStatus()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DMediaSource.java89 private float mVolume = 0.f; field in MediaSource
409 mMediaPlayer.setVolume(mVolume, mVolume); in fieldPortValueUpdated()
489 mMediaPlayer.setVolume(mVolume, mVolume); in setupMediaPlayer()

12