Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 50) sorted by relevance

12

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp192 int y,v,u, r, g, b; in yvu2rgb() local
203 u = (*uimg); in yvu2rgb()
207 if (u < 0) u = 0; in yvu2rgb()
208 if (u > 255) u = 255; in yvu2rgb()
212 b = (int) ( 1.164*(y - 16) + 2.018*(u-128)); in yvu2rgb()
213 g = (int) ( 1.164*(y - 16) - 0.813*(v-128) - 0.391*(u-128)); in yvu2rgb()
237 int y,v,u, r, g, b; in yvu2bgr() local
248 u = (*uimg); in yvu2bgr()
252 if (u < 0) u = 0; in yvu2bgr()
253 if (u > 255) u = 255; in yvu2bgr()
[all …]
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DImageUtils.cpp192 int y,v,u, r, g, b; in yvu2rgb() local
203 u = (*uimg); in yvu2rgb()
207 if (u < 0) u = 0; in yvu2rgb()
208 if (u > 255) u = 255; in yvu2rgb()
212 b = (int) ( 1.164*(y - 16) + 2.018*(u-128)); in yvu2rgb()
213 g = (int) ( 1.164*(y - 16) - 0.813*(v-128) - 0.391*(u-128)); in yvu2rgb()
237 int y,v,u, r, g, b; in yvu2bgr() local
248 u = (*uimg); in yvu2bgr()
252 if (u < 0) u = 0; in yvu2bgr()
253 if (u > 255) u = 255; in yvu2bgr()
[all …]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
DMockUiProviderTests.java79 for (Uri u : folderUris) { in testGetFolders()
80 Cursor foldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, null, in testGetFolders()
133 for (Uri u : childUris) { in testGetFolders()
134 Cursor childFoldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, in testGetFolders()
154 for (Uri u : convUris) { in testGetFolders()
155 Cursor convFoldersCursor = provider.query(u, UIProvider.CONVERSATION_PROJECTION, null, in testGetFolders()
183 for (Uri u : messageUris) { in testGetFolders()
184 Cursor messageCursor = provider.query(u, UIProvider.MESSAGE_PROJECTION, null, null, in testGetFolders()
214 for (Uri u : attachmentUris) { in testGetFolders()
215 Cursor attachmentCursor = provider.query(u, UIProvider.ATTACHMENT_PROJECTION, null, in testGetFolders()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java264 float x[], float u[], int div[], int source, int target) { in stretch() argument
279 u[0] = 0; in stretch()
285 u[i + 1] = Math.min((div[i] + 0.5f) / textureSize, textureBound); in stretch()
296 u[i + 2] = Math.min((lastU - 0.5f)/ textureSize, textureBound); in stretch()
300 u[div.length + 1] = textureBound; in stretch()
307 u[last] = u[i]; in stretch()
312 private void prepareVertexData(float x[], float y[], float u[], float v[], in prepareVertexData() argument
342 uv[xIndex] = u[i]; in prepareVertexData()
/packages/apps/LegacyCamera/jni/
Dfeature_mos_jni.cpp219 unsigned char u = 0, v = 0; in YUV420toYVU24() local
230 u = yuv420sp[uvp++]; in YUV420toYVU24()
234 *oup++ = u; in YUV420toYVU24()
252 unsigned char u = 0, v = 0; in YUV420toYVU24_NEW() local
262 u = *iuvp++; in YUV420toYVU24_NEW()
265 *oup++ = u; in YUV420toYVU24_NEW()
268 *oup++ = u; in YUV420toYVU24_NEW()
316 int vp = frameSize + j * width, u = 0, v = 0; in decodeYUV444SP() local
325 u = (0xff & yuv420sp[up]) - 128; in decodeYUV444SP()
329 int g = (y1192 - 833 * v - 400 * u); in decodeYUV444SP()
[all …]
/packages/apps/Camera/jni/
Dfeature_mos_jni.cpp219 unsigned char u = 0, v = 0; in YUV420toYVU24() local
230 u = yuv420sp[uvp++]; in YUV420toYVU24()
234 *oup++ = u; in YUV420toYVU24()
252 unsigned char u = 0, v = 0; in YUV420toYVU24_NEW() local
262 u = *iuvp++; in YUV420toYVU24_NEW()
265 *oup++ = u; in YUV420toYVU24_NEW()
268 *oup++ = u; in YUV420toYVU24_NEW()
316 int vp = frameSize + j * width, u = 0, v = 0; in decodeYUV444SP() local
325 u = (0xff & yuv420sp[up]) - 128; in decodeYUV444SP()
329 int g = (y1192 - 833 * v - 400 * u); in decodeYUV444SP()
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dhr_wordlist.combined.gz ... ,flags=,originalFreq=215 4 word=u,f=213,flags=,originalFreq= ...
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java264 public void run(Uri u, IImage image) { in onShowMapClicked()
370 public void run(Uri u, IImage image) { in onDetailsClicked()
476 public void run(Uri u, IImage image) { in onRotateClicked()
490 public void run(Uri u, IImage image) { in onCropClicked()
491 if (u == null) { in onCropClicked()
497 cropIntent.setData(u); in onCropClicked()
509 public void run(Uri u, IImage image) { in onSetAsClicked()
510 if (u == null || image == null) { in onSetAsClicked()
526 public void run(Uri u, IImage image) { in onImageShareClicked()
533 intent.putExtra(Intent.EXTRA_STREAM, u); in onImageShareClicked()
/packages/apps/Email/tests/src/com/android/email/activity/
DIntentUtilitiesTests.java35 final Uri u = b.build(); in brokentestSimple() local
36 assertEquals("content", u.getScheme()); in brokentestSimple()
37 assertEquals("ui.email.android.com", u.getAuthority()); in brokentestSimple()
38 assertEquals("/abc", u.getPath()); in brokentestSimple()
40 final Intent i = new Intent(Intent.ACTION_MAIN, u); in brokentestSimple()
/packages/apps/Camera2/src/com/android/camera/
DPanoUtil.java49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0; in decodeYUV420SPQuarterRes() local
57 u = (0xff & yuv420sp[uvp++]) - 128; in decodeYUV420SPQuarterRes()
62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes()
63 int b = (y1192 + 2066 * u); in decodeYUV420SPQuarterRes()
/packages/apps/Camera/src/com/android/camera/
DPanoUtil.java49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0; in decodeYUV420SPQuarterRes() local
57 u = (0xff & yuv420sp[uvp++]) - 128; in decodeYUV420SPQuarterRes()
62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes()
63 int b = (y1192 + 2066 * u); in decodeYUV420SPQuarterRes()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoUtil.java49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0; in decodeYUV420SPQuarterRes() local
57 u = (0xff & yuv420sp[uvp++]) - 128; in decodeYUV420SPQuarterRes()
62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes()
63 int b = (y1192 + 2066 * u); in decodeYUV420SPQuarterRes()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java121 float u = (t3 * t4 + t5 * t2) / denom; in lineIntersect() local
123 b0 + u * t0, b1 + u * t1 in lineIntersect()
137 float u = ((point[0] - x1) * xdelt + (point[1] - y1) * ydelt) in shortestVectorFromPointToLine() local
140 (x1 + u * (x2 - x1)), (y1 + u * (y2 - y1)) in shortestVectorFromPointToLine()
/packages/wallpapers/NoiseField/src/com/android/noisefield/
Dnoisefield.rs120 float rx0, rx1, ry0, ry1, sx, sy, a, b, t, u, v;
147 q = g2[b00]; u = rx0 * q[0] + ry0 * q[1];
149 a = mix(u, v, sx);
151 q = g2[b01]; u = rx0 * q[0] + ry1 * q[1];
153 b = mix(u, v, sx);
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskConvertImageToRGBPreview.java336 int u = (int) (bufU.get(offsetU) & 255) - 128; in colorInscribedDataCircleFromYuvImage() local
340 ((u * U_FACTOR_FOR_G + v * V_FACTOR_FOR_G) >> SHIFT_APPROXIMATION); in colorInscribedDataCircleFromYuvImage()
341 int blueDiff = (u * U_FACTOR_FOR_B) >> SHIFT_APPROXIMATION; in colorInscribedDataCircleFromYuvImage()
640 int u = (int) (bufU.get(offsetU) & 255) - 128; in colorSubSampleFromYuvImage() local
643 int greenDiff = ((u * U_FACTOR_FOR_G + v * V_FACTOR_FOR_G) >> SHIFT_APPROXIMATION); in colorSubSampleFromYuvImage()
644 int blueDiff = (u * U_FACTOR_FOR_B) >> SHIFT_APPROXIMATION; in colorSubSampleFromYuvImage()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java244 final Uri u = ContentUris.withAppendedId(contentUri, id); in restoreContentWithId() local
245 final Cursor c = context.getContentResolver().query(u, contentProjection, null, null, null); in restoreContentWithId()
1105 Uri u = results[0].uri; in save() local
1106 mId = Long.parseLong(u.getPathSegments().get(1)); in save()
1115 u = results[resultIndex].uri; in save()
1120 u = null; in save()
1122 if (u != null) { in save()
1123 a.mId = Long.parseLong(u.getPathSegments().get(1)); in save()
1128 return u; in save()
DAccount.java292 private static long getId(Uri u) { in getId() argument
293 return Long.parseLong(u.getPathSegments().get(1)); in getId()
723 Uri u = results[index].uri; in save() local
724 mId = getId(u); in save()
725 return u; in save()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DQuotedPrintable.java53 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable() local
55 if (u == -1 || l == -1) { in decodeQuotedPrintable()
58 buffer.write((char) ((u << 4) + l)); in decodeQuotedPrintable()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DQuotedPrintable.java53 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable() local
55 if (u == -1 || l == -1) { in decodeQuotedPrintable()
58 buffer.write((char) ((u << 4) + l)); in decodeQuotedPrintable()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java101 Uri u = Uri.parse(info.mFileUri); in queryRecord() local
102 info.mFileType = context.getContentResolver().getType(u); in queryRecord()
104 Uri u = Uri.parse(info.mFileName); in queryRecord() local
105 info.mFileType = context.getContentResolver().getType(u); in queryRecord()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java129 URL u = new URL(mRewriter.rewrite(url)); in createConnection() local
130 if (DBG) Log.d(TAG, "URL=" + url + " rewritten='" + u + "'"); in createConnection()
131 HttpURLConnection c = (HttpURLConnection) u.openConnection(); in createConnection()
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
DSpeechRecorderActivity.java129 File u = new File(getDir("recordings", MODE_PRIVATE), in setupRecording() local
131 if (!u.exists()) { in setupRecording()
132 mUtterance = u; in setupRecording()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java324 Token t, u; int z; in zone() local
328 u = jj_consume_token(DIGITS); in zone()
329 z=parseDigits(u)*(t.image.equals("-") ? -1 : 1); in zone()

12