OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mRingtone
(Results
1 - 6
of
6
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
RingtoneTest.java
31
private Ringtone
mRingtone
;
43
mRingtone
= RingtoneManager.getRingtone(mContext, Settings.System.DEFAULT_RINGTONE_URI);
47
mOriginalStreamType =
mRingtone
.getStreamType();
62
if (
mRingtone
!= null) {
63
if (
mRingtone
.isPlaying())
mRingtone
.stop();
64
mRingtone
.setStreamType(mOriginalStreamType);
78
assertNotNull(
mRingtone
.getTitle(mContext));
81
mRingtone
.setStreamType(AudioManager.STREAM_MUSIC);
82
assertEquals(AudioManager.STREAM_MUSIC,
mRingtone
.getStreamType())
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
RingtonePlayer.java
73
private final Ringtone
mRingtone
;
78
mRingtone
= new Ringtone(getContextForUser(user), false);
79
mRingtone
.setStreamType(streamType);
80
mRingtone
.setUri(uri);
89
mRingtone
.stop();
110
client.
mRingtone
.play();
122
client.
mRingtone
.stop();
134
return client.
mRingtone
.isPlaying();
176
pw.println(client.
mRingtone
.getUri());
/packages/apps/Phone/src/com/android/phone/
Ringer.java
58
Ringtone
mRingtone
;
128
return (
mRingtone
!= null &&
mRingtone
.isPlaying()) ||
228
msg.obj =
mRingtone
;
233
mRingtone
= null;
314
if (
mRingtone
== null && !hasMessages(STOP_RING)) {
320
mRingtone
= r;
324
r =
mRingtone
;
/frameworks/base/core/java/android/preference/
VolumePreference.java
231
private Ringtone
mRingtone
;
281
mRingtone
= RingtoneManager.getRingtone(mContext, defaultUri);
283
if (
mRingtone
!= null) {
284
mRingtone
.setStreamType(mStreamType);
328
return
mRingtone
!= null &&
mRingtone
.isPlaying();
333
if (
mRingtone
!= null) {
334
mRingtone
.play();
339
if (
mRingtone
!= null) {
340
mRingtone
.stop()
[
all
...]
/packages/apps/Calendar/src/com/android/calendar/
GeneralPreferences.java
121
RingtonePreference
mRingtone
;
168
mRingtone
= (RingtonePreference) preferenceScreen.findPreference(KEY_ALERTS_RINGTONE);
177
mRingtone
.setSummary(ringtoneDisplayString == null ? "" : ringtoneDisplayString);
266
mRingtone
.setOnPreferenceChangeListener(listener);
327
} else if (preference ==
mRingtone
) {
331
mRingtone
.setSummary(ringtone == null ? "" : ringtone);
394
mRingtone
.setEnabled(true);
398
mRingtone
.setEnabled(false);
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java
50
private String
mRingtone
;
68
mRingtone
= "/some/cool/ringtone";
109
if (
mRingtone
== null) {
113
String val =
mRingtone
;
115
mRingtone
= null;
[
all
...]
Completed in 127 milliseconds