OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mRingtone
(Results
1 - 4
of
4
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
RingtoneTest.java
35
private Ringtone
mRingtone
;
46
mRingtone
= RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI);
50
mOriginalStreamType =
mRingtone
.getStreamType();
60
if (
mRingtone
!= null) {
61
if (
mRingtone
.isPlaying())
mRingtone
.stop();
62
mRingtone
.setStreamType(mOriginalStreamType);
106
assertNotNull(
mRingtone
.getTitle(mContext));
109
mRingtone
.setStreamType(AudioManager.STREAM_MUSIC);
110
assertEquals(AudioManager.STREAM_MUSIC,
mRingtone
.getStreamType())
[
all
...]
/packages/apps/Calendar/src/com/android/calendar/
CalendarPreferenceActivity.java
63
RingtonePreference
mRingtone
;
93
mRingtone
= (RingtonePreference) preferenceScreen.findPreference(KEY_ALERTS_RINGTONE);
124
mRingtone
.setEnabled(false);
127
mRingtone
.setEnabled(true);
/frameworks/base/core/java/android/preference/
VolumePreference.java
224
private Ringtone
mRingtone
;
273
mRingtone
= RingtoneManager.getRingtone(mContext, defaultUri);
274
if (
mRingtone
!= null) {
275
mRingtone
.setStreamType(mStreamType);
309
if (
mRingtone
!= null && !
mRingtone
.isPlaying()) {
320
mRingtone
.play();
324
if (
mRingtone
!= null) {
325
mRingtone
.stop();
335
if (
mRingtone
!= null && !mRingtone.isPlaying())
[
all
...]
/packages/apps/Phone/src/com/android/phone/
Ringer.java
53
Ringtone
mRingtone
;
104
return (
mRingtone
!= null &&
mRingtone
.isPlaying()) ||
199
msg.obj =
mRingtone
;
204
mRingtone
= null;
285
if (
mRingtone
== null && !hasMessages(STOP_RING)) {
291
mRingtone
= r;
295
r =
mRingtone
;
Completed in 997 milliseconds