Home
last modified time | relevance | path

Searched refs:rw (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/camera/libcameraservice/tests/
DRotateAndCropMapperTest.cpp157 int32_t rw = full_crop[3] / aspectRatio; in TEST() local
160 full_crop[0] + (full_crop[2] - rw) / 2, full_crop[1], in TEST()
161 full_crop[0] + (full_crop[2] + rw) / 2, full_crop[1] + full_crop[3], in TEST()
176 rotated_region[0] + rw / 4, rotated_region[1] + rh / 4, in TEST()
177 rotated_region[2] - rw / 4, rotated_region[3] - rh / 4}; in TEST()
184 rotated_region[0] + rw / 4, rotated_region[1] + rh / 4, in TEST()
185 rotated_region[0] + rw / 2, rotated_region[1] + rh / 2, in TEST()
186 rotated_region[2] - rw / 4, rotated_region[3] - rh / 4 in TEST()
249 int32_t rw = full_crop[3] / aspectRatio; in TEST() local
252 full_crop[0] + (full_crop[2] - rw) / 2, full_crop[1], in TEST()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DRotateAndCropMapper.cpp141 float rw = cropAspect > mRotateAspect ? in updateCaptureRequest() local
149 transformMat[1] = -rw / ch; // +y -> -x in updateCaptureRequest()
151 xShift = (cw + rw) / 2; // left edge of crop to right edge of rotated in updateCaptureRequest()
155 transformMat[1] = rw / ch; // +y -> +x in updateCaptureRequest()
157 xShift = (cw - rw) / 2; // left edge of crop to left edge of rotated in updateCaptureRequest()
268 float rw = cropAspect > mRotateAspect ? in updateCaptureResult() local
274 rx = cx + (cw - rw) / 2; in updateCaptureResult()
278 transformMat[1] = ch / rw; // +y -> +x in updateCaptureResult()
280 xShift = -(cw - rw) / 2; // left edge of rotated to left edge of cropped in updateCaptureResult()
284 transformMat[1] = -ch / rw; // +y -> -x in updateCaptureResult()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLU.java171 float rw = 1.0f / w; in gluProject() local
175 * (scratch[V2_OFFSET + 0] * rw + 1.0f) in gluProject()
179 * (scratch[V2_OFFSET + 1] * rw + 1.0f) * 0.5f; in gluProject()
180 win[winOffset + 2] = (scratch[V2_OFFSET + 2] * rw + 1.0f) * 0.5f; in gluProject()
/frameworks/base/core/java/android/view/
DWindowLayout.java183 int rw = requestedWidth; in computeFrames() local
193 if (rw == UNSPECIFIED_LENGTH || extendedByCutout) { in computeFrames()
194 rw = attrs.width >= 0 ? attrs.width : pw; in computeFrames()
219 w = (int) (rw * compatScale + .5f); in computeFrames()
221 w = rw; in computeFrames()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dbwfilter.rscript24 void prepareBwFilter(uint32_t rw, uint32_t gw, uint32_t bw) {
26 sr = rw;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dbwfilter.rscript24 void prepareBwFilter(uint32_t rw, uint32_t gw, uint32_t bw) {
26 sr = rw;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dbwfilter.rscript24 void prepareBwFilter(uint32_t rw, uint32_t gw, uint32_t bw) {
26 sr = rw;
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Daudio436 ��G�2<G��Y��淋���"-�$VOx�O�r�8�A���M+��Iyi�nJ�<|_Qu}��}���lq�ؼ�}�.�nJe���r�rw٤�w����ڬi��J…
692 ��G�2<G��Y��淋���"-�$VOx�O�r�8�A���M+��Iyi�nJ�<|_Qu}��}���lq�ؼ�}�.�nJe���r�rw٤�w����ڬi��J…
Dmaster_playlist728 ��G�2<G��Y��淋���"-�$VOx�O�r�8�A���M+��Iyi�nJ�<|_Qu}��}���lq�ؼ�}�.�nJe���r�rw٤�w����ڬi��J…