/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherBackupHelper.java | 394 ContentResolver cr = mContext.getContentResolver(); local 396 Cursor cursor = cr.query(Favorites.CONTENT_URI, FAVORITE_PROJECTION, 431 ContentResolver cr = mContext.getContentResolver(); local 433 cr.insert(Favorites.CONTENT_URI_NO_NOTIFICATION, values); 444 ContentResolver cr = mContext.getContentResolver(); local 445 Cursor cursor = cr.query(WorkspaceScreens.CONTENT_URI, SCREEN_PROJECTION, 481 ContentResolver cr = mContext.getContentResolver(); local 483 cr.insert(WorkspaceScreens.CONTENT_URI, values); 499 final ContentResolver cr = mContext.getContentResolver(); local 508 Cursor cursor = cr.query(Favorites.CONTENT_URI, FAVORITE_PROJECTION 599 final ContentResolver cr = mContext.getContentResolver(); local 1104 ContentResolver cr = mContext.getContentResolver(); local [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
SlideshowModel.java | 313 public HashMap<Uri, InputStream> openPartFiles(ContentResolver cr) { 324 is = cr.openInputStream(uri); 619 ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); local 620 cr.checkMessageSize(mCurrentMessageSize, increaseSize, mContext.getContentResolver());
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActiveServices.java | 665 ConnectionRecord cr = clist.get(cri); local 666 if (cr.binding.client == null || cr.binding.client == proc) { 670 if (cr.binding.client.activities.size() > 0) { 1620 ConnectionRecord cr = c.get(i); local 2675 ConnectionRecord cr = r.get(i); local [all...] |
ServiceRecord.java | 379 ArrayList<ConnectionRecord> cr = connections.valueAt(conni); local 380 for (int i=0; i<cr.size(); i++) { 381 if ((cr.get(i).flags&Context.BIND_AUTO_CREATE) != 0) {
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
AllocationTest.java | 299 * <li>R = Y + 1.042 (Cr - 128) 300 * <li>G = Y - 0.34414 (Cb - 128) - 0.71414 (Cr - 128) 304 * Where Cr and Cb are aliases of V and U respectively. 321 float cr = yuvData[2] & 0xFF; // V channel local 324 float r = y + 1.402f * (cr - 128); 325 float g = y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128); [all...] |
ImageReaderTest.java | 489 float cr = crRow[crPix] & 0xFF; local 492 int r = (int) Math.max(0.0f, Math.min(COLOR_RANGE, y + 1.402f * (cr - 128))); 494 Math.min(COLOR_RANGE, y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128))); [all...] |
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_act.c | 1306 tBTA_JV_API_CREATE_RECORD *cr = &(p_data->create_record); local [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_int.h | 82 UINT8 cr; member in struct:__anon6317 115 UINT8 cr; member in struct:__anon6317::__anon6318::__anon6322 261 #define RFCOMM_SABME_FCS(p_data, cr, dlci) rfc_sabme_fcs[cr][dlci] 262 #define RFCOMM_UA_FCS(p_data, cr, dlci) rfc_ua_fcs[cr][dlci] 263 #define RFCOMM_DM_FCS(p_data, cr, dlci) rfc_dm_fcs[cr][dlci] 264 #define RFCOMM_DISC_FCS(p_data, cr, dlci) rfc_disc_fcs[cr][dlci [all...] |
/external/fio/ |
gclient.c | 378 p += sprintf(p, ", CR=%s/%s KB/s", tr, mr); 382 p += sprintf(p, ", CR=%d/%d IOPS", je->t_iops, je->m_iops); 471 p += sprintf(p, ", CR=%s/%s KB/s", tr, mr); 475 p += sprintf(p, ", CR=%d/%d IOPS", je->t_iops, je->m_iops); 927 cairo_t *cr; local 929 cr = gdk_cairo_create(gtk_widget_get_window(w)); 936 cairo_set_source_rgb(cr, 0, 0, 0); 937 bar_graph_draw(g, cr); 938 cairo_destroy(cr); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 17 private boolean cr; field in class:Lexer 82 if(this.cr) 84 this.cr = false; 95 this.cr = true; 99 this.cr = false; [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
ClassWriter.java | 238 ClassReader cr;
field in class:ClassWriter 573 this.cr = classReader;
[all...] |
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_jpx_opj.cpp | 103 static void sycc_to_rgb(int offset, int upb, int y, int cb, int cr,
108 cr -= offset;
109 r = y + (int)(1.402 * (float)cr);
115 g = y - (int)(0.344 * (float)cb + 0.714 * (float)cr);
131 const int *y, *cb, *cr;
local 141 cr = img->comps[2].data;
146 sycc_to_rgb(offset, upb, *y, *cb, *cr, r, g, b);
149 ++cr;
164 const int *y, *cb, *cr;
local 175 cr = img->comps[2].data; 217 const int *y, *cb, *cr, *ny; local [all...] |
/external/qemu/ |
gdbstub.c | 631 regs and PC, MSR, CR, and so forth. We hack round this by giving the 657 uint32_t cr = 0; local 660 cr |= env->crf[i] << (32 - ((i + 1) * 4)); 661 GET_REG32(cr); 699 uint32_t cr = ldl_p(mem_buf); local 702 env->crf[i] = (cr >> (32 - ((i + 1) * 4))) & 0xF; [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 480 float cr = yuvData[2] & 0xFF; // V channel local 483 float r = y + 1.402f * (cr - 128); 484 float g = y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128);
|
/frameworks/base/media/jni/ |
android_media_ImageReader.cpp | 349 uint8_t *cb, *cr; local 376 cr = buffer->data + (buffer->stride * buffer->height); 377 cb = cr + 1; 387 cr; 398 cr = buffer->data + ySize; 400 cb = cr + cSize; 407 cr; [all...] |
/frameworks/base/services/core/java/com/android/server/ |
BatteryService.java | 566 ContentResolver cr = mContext.getContentResolver(); local 567 String dischargeThresholdString = Settings.Global.getString(cr, 569 String durationThresholdString = Settings.Global.getString(cr, [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
DropBoxTest.java | 47 ContentResolver cr = getContext().getContentResolver(); local 48 Settings.Global.putString(cr, Settings.Global.DROPBOX_AGE_SECONDS, ""); 49 Settings.Global.putString(cr, Settings.Global.DROPBOX_MAX_FILES, ""); 50 Settings.Global.putString(cr, Settings.Global.DROPBOX_QUOTA_KB, ""); 51 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest", ""); 256 ContentResolver cr = getContext().getContentResolver(); local 257 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest", 263 Settings.Global.putString(cr, Settings.Global.DROPBOX_TAG_PREFIX + "DropBoxTest", 332 ContentResolver cr = getContext().getContentResolver(); local 333 Settings.Global.putString(cr, Settings.Global.DROPBOX_QUOTA_KB, Integer.toString(kb)) 434 ContentResolver cr = getContext().getContentResolver(); local 499 ContentResolver cr = getContext().getContentResolver(); local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmStateManager.java | 144 ContentResolver cr = context.getContentResolver(); local 146 for (AlarmInstance instance : AlarmInstance.getInstances(cr, activeAlarmQuery)) { 162 ContentResolver cr = context.getContentResolver(); local 163 Alarm alarm = Alarm.getAlarm(cr, instance.mAlarmId); 172 Alarm.deleteAlarm(cr, alarm.id); 176 Alarm.updateAlarm(cr, alarm); 189 AlarmInstance.addInstance(cr, nextRepeatedInstance); 558 ContentResolver cr = context.getContentResolver(); local 559 Alarm alarm = Alarm.getAlarm(cr, instance.mAlarmId); 561 Alarm.updateAlarm(cr, alarm) 615 ContentResolver cr = context.getContentResolver(); local [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
GalleryPicker.java | 360 ContentResolver cr = getContentResolver(); local 362 ImageManager.isMediaScannerScanning(cr); 760 ContentResolver cr) { 762 cr,
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
CaptionPropertiesFragment.java | 206 final ContentResolver cr = context.getContentResolver(); local 336 final ContentResolver cr = getContentResolver(); local 337 final CaptionStyle attrs = CaptionStyle.getCustomStyle(cr); 391 final ContentResolver cr = getActivity().getContentResolver(); local 395 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, merged); 399 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, merged); 403 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, merged); 405 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, value); 407 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, value); 410 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, value) 418 final ContentResolver cr = getActivity().getContentResolver(); local [all...] |
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
StrictModeActivity.java | 81 private ContentResolver cr; field in class:StrictModeActivity 106 cr = getContentResolver(); 452 Uri uri = cr.insert(SYSTEM_SETTINGS_URI, values);
|
/packages/apps/Browser/src/com/android/browser/ |
Controller.java | 374 ContentResolver cr = mContext.getContentResolver(); local 376 cr.delete(Thumbnails.CONTENT_URI, null, null); 389 cr.delete(Thumbnails.CONTENT_URI, where.toString(), null); 2026 final ContentResolver cr = mActivity.getContentResolver(); local [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 270 ContentResolver cr = mContext.getContentResolver(); local 274 cr, Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 275 boolean gps = Settings.Secure.isLocationProviderEnabled(cr, LocationManager.GPS_PROVIDER); 277 cr, LocationManager.NETWORK_PROVIDER); [all...] |
/external/bison/lib/ |
vasnprintf.c | 725 mp_limb_t cr; local 742 cr = (mp_limb_t) carry; 744 /* Subtract cr from r_ptr[j + b_len], then forget about 746 if (cr > r_ptr[j + b_len]) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
format_unpack.c | 480 const GLubyte cr = *src1 & 0xff; /* chroma V */ local 482 GLfloat r = 1.164F * (y - 16) + 1.596F * (cr - 128); 483 GLfloat g = 1.164F * (y - 16) - 0.813F * (cr - 128) - 0.391F * (cb - 128); 503 const GLubyte cr = (*src0 >> 8) & 0xff; /* chroma V */ local 507 GLfloat r = 1.164F * (y - 16) + 1.596F * (cr - 128); 508 GLfloat g = 1.164F * (y - 16) - 0.813F * (cr - 128) - 0.391F * (cb - 128); [all...] |