Home
last modified time | relevance | path

Searched refs:Cam (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DCam.java25 public class Cam { class
112 Cam(float hue, float chroma, float j, float q, float m, float s, float jstar, float astar, in Cam() method in Cam
139 public static Cam fromInt(int argb) { in fromInt()
147 public static Cam fromIntInFrame(int argb, Frame frame) { in fromIntInFrame()
219 return new Cam(hue, c, j, q, m, s, jstar, astar, bstar); in fromIntInFrame()
226 private static Cam fromJch(float j, float c, float h) { in fromJch()
234 private static Cam fromJchInFrame(float j, float c, float h, Frame frame) { in fromJchInFrame()
250 return new Cam(h, c, j, q, m, s, jstar, astar, bstar); in fromJchInFrame()
259 public float distance(Cam other) { in distance()
397 Cam answer = null; in getInt()
[all …]
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt46 fun openCam(context: Context): Cam { in openCam()
50 fun openCam(context: Context, retryCam: Boolean): Cam { in openCam()
59 ): Cam { in openCam()
142 return Cam(cameraDevice.join(), handlerThread) in openCam()
151 class Cam(val cameraDevice: CameraDevice?, val thread: Thread) { class
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraAndOverlayForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/overlay/
DUseMicCamera.kt28 import android.sensorprivacy.cts.testapp.utils.Cam
35 private var cam: Cam? = null
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/
DUseMicCamera.kt28 import android.sensorprivacy.cts.testapp.utils.Cam
35 private var cam: Cam? = null
/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.java26 import android.graphics.cts.utils.Cam;
97 final Cam cam = Cam.fromInt(palette[i]); in testAllColorsBelongToSameFamily()
111 final Cam cam = Cam.fromInt(palette[i]); in testAllColorsBelongToSameFamily()
122 private static String toHctString(Cam cam) { in toHctString()