Searched refs:GazeDetection (Results 1 – 13 of 13) sorted by relevance
23 import android.car.occupantawareness.GazeDetection;59 final GazeDetection onRoadDetection = in testUpdateAttention_neverExceedsOne()60 buildGazeDetection(GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY); in testUpdateAttention_neverExceedsOne()78 final GazeDetection offRoadDetection = in testUpdateAttention_neverBelowZero()79 buildGazeDetection(GazeDetection.VEHICLE_REGION_HEAD_UNIT_DISPLAY); in testUpdateAttention_neverBelowZero()96 final GazeDetection onRoadDetection = in testUpdateAttention_offRoadAndOnRoad()97 buildGazeDetection(GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY); in testUpdateAttention_offRoadAndOnRoad()99 final GazeDetection offRoadDetection = in testUpdateAttention_offRoadAndOnRoad()100 buildGazeDetection(GazeDetection.VEHICLE_REGION_HEAD_UNIT_DISPLAY); in testUpdateAttention_offRoadAndOnRoad()121 private GazeDetection buildGazeDetection(@GazeDetection.VehicleRegion int gazeTarget) { in buildGazeDetection()[all …]
26 import android.car.occupantawareness.GazeDetection;122 buildGazeDetection(timestamp, GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY); in testprocessDetectionEvent_neverExceedsOne()148 buildGazeDetection(timestamp, GazeDetection.VEHICLE_REGION_HEAD_UNIT_DISPLAY); in testprocessDetectionEvent_neverFallsBelowZero()162 long timestamp, @GazeDetection.VehicleRegion int gazeTarget) { in buildGazeDetection()163 GazeDetection gaze = in buildGazeDetection()164 new GazeDetection( in buildGazeDetection()
34 public final class GazeDetection implements Parcelable { class127 public GazeDetection( in GazeDetection() method in GazeDetection176 public static final @NonNull Parcelable.Creator<GazeDetection> CREATOR =177 new Parcelable.Creator<GazeDetection>() {178 public GazeDetection createFromParcel(Parcel in) {179 return new GazeDetection(in);182 public GazeDetection[] newArray(int size) {183 return new GazeDetection[size];187 private GazeDetection(Parcel in) { in GazeDetection() method in GazeDetection
159 public final @Nullable GazeDetection gazeDetection;171 @Nullable GazeDetection gazeDetection, in OccupantAwarenessDetection()223 gazeDetection = in.readParcelable(GazeDetection.class.getClassLoader()); in OccupantAwarenessDetection()
19 parcelable GazeDetection;
21 import android.car.occupantawareness.GazeDetection;57 public float updateAttention(@NonNull GazeDetection detection, long timestamp) { in updateAttention()91 private boolean isOnRoadGaze(@GazeDetection.VehicleRegion int gazeTarget) { in isOnRoadGaze()93 case GazeDetection.VEHICLE_REGION_FORWARD_ROADWAY: in isOnRoadGaze()94 case GazeDetection.VEHICLE_REGION_LEFT_ROADWAY: in isOnRoadGaze()95 case GazeDetection.VEHICLE_REGION_RIGHT_ROADWAY: in isOnRoadGaze()
21 import android.car.occupantawareness.GazeDetection;183 static GazeDetection convertToGazeDetection( in convertToGazeDetection()184 android.hardware.automotive.occupant_awareness.GazeDetection inputDetection) { in convertToGazeDetection()186 return new GazeDetection( in convertToGazeDetection()223 GazeDetection gazeDetection = null; in convertToDetectionEvent()
21 import android.hardware.automotive.occupant_awareness.GazeDetection;43 GazeDetection[] gazeData;
23 parcelable GazeDetection {
20 parcelable GazeDetection {
23 android.hardware.automotive.occupant_awareness.GazeDetection[] gazeData;