Home
last modified time | relevance | path

Searched refs:sensor (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarSensorService.java580 int sensor = mCarProvidedSensors[i]; in refreshSupportedSensorsLocked() local
581 if (sensor == CarSensorManager.SENSOR_TYPE_DRIVING_STATUS) { in refreshSupportedSensorsLocked()
583 } else if (sensor == CarSensorManager.SENSOR_TYPE_NIGHT) { in refreshSupportedSensorsLocked()
607 int sensor = mCarProvidedSensors[i]; in refreshSupportedSensorsLocked() local
609 if (mSensorRecords.get(sensor) == null) { in refreshSupportedSensorsLocked()
611 mSensorRecords.put(sensor, record); in refreshSupportedSensorsLocked()
613 supportedSensors[index] = sensor; in refreshSupportedSensorsLocked()
622 for (int sensor : mCarProvidedSensors) { in isSensorRealLocked()
623 if (sensor == sensorType ) { in isSensorRealLocked()
650 for (int sensor: sensorClient.getSensorArray()) { in removeClient()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DZoomedCropRegion.java39 Rect sensor = mSensorArrayArea; in get() local
40 int xCenter = sensor.width() / 2; in get()
41 int yCenter = sensor.height() / 2; in get()
42 int xDelta = (int) (0.5f * sensor.width() / zoom); in get()
43 int yDelta = (int) (0.5f * sensor.height() / zoom); in get()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorManager.java327 Integer sensor = sensorIterator.next(); in unregisterListener() local
328 doUnregisterListenerLocked(listener, sensor, sensorIterator); in unregisterListener()
347 private void doUnregisterListenerLocked(CarSensorEventListener listener, Integer sensor, in doUnregisterListenerLocked() argument
349 CarSensorListeners listeners = mActiveSensorListeners.get(sensor); in doUnregisterListenerLocked()
356 mService.unregisterSensorListener(sensor.intValue(), in doUnregisterListenerLocked()
362 mActiveSensorListeners.remove(sensor); in doUnregisterListenerLocked()
370 private boolean registerOrUpdateSensorListener(int sensor, int rate) in registerOrUpdateSensorListener() argument
373 if (!mService.registerOrUpdateSensorListener(sensor, rate, in registerOrUpdateSensorListener()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DAutoFocusHelper.java212 Rect sensor = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in cropRegionForZoom() local
213 int xCenter = sensor.width() / 2; in cropRegionForZoom()
214 int yCenter = sensor.height() / 2; in cropRegionForZoom()
215 int xDelta = (int) (0.5f * sensor.width() / zoom); in cropRegionForZoom()
216 int yDelta = (int) (0.5f * sensor.height() / zoom); in cropRegionForZoom()
/packages/apps/Camera2/src/com/android/camera/hardware/
DHeadingSensor.java106 int type = event.sensor.getType(); in onSensorChanged()
113 Log.w(TAG, String.format("Unexpected sensor type %s", event.sensor.getName())); in onSensorChanged()
130 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
/packages/services/Car/service/src/com/android/car/hal/
DSensorHalService.java67 int sensor = getSensorTypeFromHalProperty(halProperty.getProp()); in takeSupportedProperties() local
68 if (sensor != SENSOR_TYPE_INVALD && in takeSupportedProperties()
75 mSensorToHalProperty.append(sensor, halProperty); in takeSupportedProperties()
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
DCarSensorManagerTest.java82 for (int sensor: supportedSensors) { in testDrivingPolicy()
83 if (sensor == CarSensorManager.SENSOR_TYPE_DRIVING_STATUS) { in testDrivingPolicy()
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
DCarSensorManagerTest.java91 for (int sensor: supportedSensors) { in testDrivingPolicy()
92 if (sensor == CarSensorManager.SENSOR_TYPE_DRIVING_STATUS) { in testDrivingPolicy()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java184 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
189 switch (event.sensor.getType()) { in onSensorChanged()
/packages/apps/DevCamera/src/com/android/devcamera/
DGyroOperations.java41 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallActivity.java816 final ProximitySensor sensor = InCallPresenter.getInstance().getProximitySensor(); in showDialpadFragment() local
817 if (sensor != null) { in showDialpadFragment()
818 sensor.onDialpadVisible(show); in showDialpadFragment()
DAccelerometerListener.java143 public void onAccuracyChanged(Sensor sensor, int accuracy) {
/packages/services/Car/car-lib/api/
Dcurrent.txt20 field public static final java.lang.String SENSOR_SERVICE = "sensor";
Dsystem-current.txt31 field public static final java.lang.String SENSOR_SERVICE = "sensor";
/packages/services/Car/car-support-lib/api/
Dcurrent.txt29 field public static final java.lang.String SENSOR_SERVICE = "sensor";
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt13145 <3>[ 0.453582] msm_axi_subdev_init_rdi_only: Null sensor control info
38750 …: file_parser Invalid Format or Comment - '/* Allow Sensor services to be used by sensor process */
39033 …: file_parser Invalid Format or Comment - '/* Allow Sensor services to be used by sensor process */
95147 android.hardware.sensor.proximity
95148 android.hardware.sensor.accelerometer
95158 android.hardware.sensor.gyroscope
95173 android.hardware.sensor.compass
95175 android.hardware.sensor.barometer
95178 android.hardware.sensor.light
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...