OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:proximitySensor
(Results
1 - 4
of
4
) sorted by null
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
AppRTCProximitySensor.java
43
private Sensor
proximitySensor
= null;
71
this,
proximitySensor
, SensorManager.SENSOR_DELAY_NORMAL);
79
if (
proximitySensor
== null) {
82
sensorManager.unregisterListener(this,
proximitySensor
);
107
if (distanceInCentimeters <
proximitySensor
.getMaximumRange()) {
132
if (
proximitySensor
!= null) {
135
proximitySensor
= sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY);
136
if (
proximitySensor
== null) {
145
if (
proximitySensor
== null) {
149
info.append("name=" +
proximitySensor
.getName())
[
all
...]
AppRTCAudioManager.java
62
private AppRTCProximitySensor
proximitySensor
= null;
83
if (
proximitySensor
.sensorReportsNearState()) {
111
proximitySensor
= AppRTCProximitySensor.create(context, new Runnable() {
172
if (
proximitySensor
!= null) {
173
proximitySensor
.stop();
174
proximitySensor
= null;
342
proximitySensor
.start();
345
proximitySensor
.stop();
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
ProximitySensorTest.java
48
final
ProximitySensor
proximitySensor
=
49
new
ProximitySensor
(
54
proximitySensor
.onStateChange(null, InCallState.OUTGOING, mCallList.getCallList());
58
proximitySensor
.onDisplayStateChanged(false);
62
proximitySensor
.onDisplayStateChanged(true);
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
InCallPresenter.java
120
private
ProximitySensor
mProximitySensor;
310
ProximitySensor
proximitySensor
) {
331
mProximitySensor =
proximitySensor
;
[
all
...]
Completed in 2356 milliseconds