/external/skia/gm/ |
imagefilters.cpp | 141 SkColorMatrix cm; local 142 cm.setSaturation(10); 143 sk_sp<SkColorFilter> cf(SkColorFilter::MakeMatrixFilterRowMajor255(cm.fMat));
|
colorfilterimagefilter.cpp | 178 SkColorMatrix cm; local 179 cm.setSaturation(0.0f); 180 sk_sp<SkColorFilter> cf(SkColorFilter::MakeMatrixFilterRowMajor255(cm.fMat));
|
/external/toolchain-utils/crosperf/ |
schedv2_unittest.py | 98 def MockIsReachable(cm): 99 return (cm.name != 'chromeos-daisy3.cros' and 100 cm.name != 'chromeos-daisy5.cros')
|
/frameworks/base/core/java/android/net/ |
Network.java | 251 final ConnectivityManager cm = ConnectivityManager.getInstanceOrNull(); local 252 if (cm == null) { 256 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 247 ColorMatrix cm = new ColorMatrix(); local 248 cm.setSaturation(0.2f); 249 sDisabledPaint.setColorFilter(new ColorMatrixColorFilter(cm));
|
/prebuilts/go/darwin-x86/src/image/png/ |
reader_test.go | 130 cm := png.ColorModel() 132 switch cm { 138 cpm, _ := cm.(color.Palette) 161 case cm == color.RGBAModel, cm == color.RGBA64Model: 163 case cm == color.NRGBAModel, cm == color.NRGBA64Model: 165 case cm == color.GrayModel, cm == color.Gray16Model: 259 case cm == color.GrayModel [all...] |
/prebuilts/go/linux-x86/src/image/png/ |
reader_test.go | 130 cm := png.ColorModel() 132 switch cm { 138 cpm, _ := cm.(color.Palette) 161 case cm == color.RGBAModel, cm == color.RGBA64Model: 163 case cm == color.NRGBAModel, cm == color.NRGBA64Model: 165 case cm == color.GrayModel, cm == color.Gray16Model: 259 case cm == color.GrayModel [all...] |
/external/skia/tests/ |
PaintTest.cpp | 359 SkColorMatrix cm; 360 cm.setIdentity(); // does not change alpha 361 paint.setColorFilter(SkColorFilter::MakeMatrixFilterRowMajor255(cm.fMat)); 364 cm.postTranslate(0, 0, 0, 1); // wacks alpha 365 paint.setColorFilter(SkColorFilter::MakeMatrixFilterRowMajor255(cm.fMat));
|
/external/aac/libAACenc/src/ |
adj_thr.cpp | [all...] |
/external/python/cpython2/Lib/test/ |
test_cfgparser.py | 542 cm = ConfigParser._Chainmap(d1, d2) 543 self.assertIsInstance(cm.keys(), list) 544 self.assertEqual(set(cm.keys()), set(dcomb.keys())) # keys() 545 self.assertEqual(set(cm.values()), set(dcomb.values())) # values() 546 self.assertEqual(set(cm.items()), set(dcomb.items())) # items() 547 self.assertEqual(set(cm), set(dcomb)) # __iter__ () 548 self.assertEqual(cm, dcomb) # __eq__() 549 self.assertEqual([cm[k] for k in dcomb], dcomb.values()) # __getitem__() 551 self.assertEqual([cm.get(k, 10) for k in klist], 553 self.assertEqual([k in cm for k in klist] [all...] |
test_sys.py | 125 with self.assertRaises(SystemExit) as cm: 127 self.assertIsNone(cm.exception.code) 135 with self.assertRaises(SystemExit) as cm: 137 self.assertEqual(cm.exception.code, 42) 141 with self.assertRaises(SystemExit) as cm: 143 self.assertEqual(cm.exception.code, 42) 146 with self.assertRaises(SystemExit) as cm: 148 self.assertEqual(cm.exception.code, "exit") 151 with self.assertRaises(SystemExit) as cm: 153 self.assertEqual(cm.exception.code, (17, 23) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_cfgparser.py | 538 cm = ConfigParser._Chainmap(d1, d2) 539 self.assertIsInstance(cm.keys(), list) 540 self.assertEqual(set(cm.keys()), set(dcomb.keys())) # keys() 541 self.assertEqual(set(cm.values()), set(dcomb.values())) # values() 542 self.assertEqual(set(cm.items()), set(dcomb.items())) # items() 543 self.assertEqual(set(cm), set(dcomb)) # __iter__ () 544 self.assertEqual(cm, dcomb) # __eq__() 545 self.assertEqual([cm[k] for k in dcomb], dcomb.values()) # __getitem__() 547 self.assertEqual([cm.get(k, 10) for k in klist], 549 self.assertEqual([k in cm for k in klist] [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_cfgparser.py | 538 cm = ConfigParser._Chainmap(d1, d2) 539 self.assertIsInstance(cm.keys(), list) 540 self.assertEqual(set(cm.keys()), set(dcomb.keys())) # keys() 541 self.assertEqual(set(cm.values()), set(dcomb.values())) # values() 542 self.assertEqual(set(cm.items()), set(dcomb.items())) # items() 543 self.assertEqual(set(cm), set(dcomb)) # __iter__ () 544 self.assertEqual(cm, dcomb) # __eq__() 545 self.assertEqual([cm[k] for k in dcomb], dcomb.values()) # __getitem__() 547 self.assertEqual([cm.get(k, 10) for k in klist], 549 self.assertEqual([k in cm for k in klist] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cfgparser.py | 538 cm = ConfigParser._Chainmap(d1, d2) 539 self.assertIsInstance(cm.keys(), list) 540 self.assertEqual(set(cm.keys()), set(dcomb.keys())) # keys() 541 self.assertEqual(set(cm.values()), set(dcomb.values())) # values() 542 self.assertEqual(set(cm.items()), set(dcomb.items())) # items() 543 self.assertEqual(set(cm), set(dcomb)) # __iter__ () 544 self.assertEqual(cm, dcomb) # __eq__() 545 self.assertEqual([cm[k] for k in dcomb], dcomb.values()) # __getitem__() 547 self.assertEqual([cm.get(k, 10) for k in klist], 549 self.assertEqual([k in cm for k in klist] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cfgparser.py | 538 cm = ConfigParser._Chainmap(d1, d2) 539 self.assertIsInstance(cm.keys(), list) 540 self.assertEqual(set(cm.keys()), set(dcomb.keys())) # keys() 541 self.assertEqual(set(cm.values()), set(dcomb.values())) # values() 542 self.assertEqual(set(cm.items()), set(dcomb.items())) # items() 543 self.assertEqual(set(cm), set(dcomb)) # __iter__ () 544 self.assertEqual(cm, dcomb) # __eq__() 545 self.assertEqual([cm[k] for k in dcomb], dcomb.values()) # __getitem__() 547 self.assertEqual([cm.get(k, 10) for k in klist], 549 self.assertEqual([k in cm for k in klist] [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_denoiser.c | 190 VP9_COMMON *const cm, VP9_DENOISER *denoiser, MACROBLOCK *mb, BLOCK_SIZE bs, 295 set_ref_ptrs(cm, filter_mbd, frame, NONE); 338 VP9_COMMON *const cm = &cpi->common; local 343 const int xmis = VPXMIN(cm->mi_cols - mi_col, bw); 344 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 345 const int block_index = mi_row * cm->mi_cols + mi_col; 349 int bl_index = block_index + i * cm->mi_cols + j;
|
/prebuilts/go/darwin-x86/src/net/http/ |
transport.go | 368 cm, err := t.connectMethodForRequest(treq) 378 pconn, err := t.getConn(treq, cm) 574 func (t *Transport) connectMethodForRequest(treq *transportRequest) (cm connectMethod, err error) { 576 return cm, fmt.Errorf("invalid URL port %q", port) 578 cm.targetScheme = treq.URL.Scheme 579 cm.targetAddr = canonicalAddr(treq.URL) 581 cm.proxyURL, err = t.Proxy(treq.Request) 582 if err == nil && cm.proxyURL != nil { 583 if port := cm.proxyURL.Port(); !validPort(port) { 584 return cm, fmt.Errorf("invalid proxy URL port %q", port [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
transport.go | 368 cm, err := t.connectMethodForRequest(treq) 378 pconn, err := t.getConn(treq, cm) 574 func (t *Transport) connectMethodForRequest(treq *transportRequest) (cm connectMethod, err error) { 576 return cm, fmt.Errorf("invalid URL port %q", port) 578 cm.targetScheme = treq.URL.Scheme 579 cm.targetAddr = canonicalAddr(treq.URL) 581 cm.proxyURL, err = t.Proxy(treq.Request) 582 if err == nil && cm.proxyURL != nil { 583 if port := cm.proxyURL.Port(); !validPort(port) { 584 return cm, fmt.Errorf("invalid proxy URL port %q", port [all...] |
/external/dhcpcd-6.8.2/ |
ipv6nd.c | 259 struct cmsghdr *cm; local 288 cm = CMSG_FIRSTHDR(&ctx->sndhdr); 289 if (cm == NULL) /* unlikely */ 291 cm->cmsg_level = IPPROTO_IPV6; 292 cm->cmsg_type = IPV6_PKTINFO; 293 cm->cmsg_len = CMSG_LEN(sizeof(pi)); 296 memcpy(CMSG_DATA(cm), &pi, sizeof(pi)); 1633 struct cmsghdr *cm; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/ |
DataPathInBandTestCase.java | 292 ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService( local 300 cm.requestNetwork(nr, networkCb, CALLBACK_TIMEOUT_SEC * 1000); 304 cm.unregisterNetworkCallback(networkCb); 382 ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService( local 390 cm.requestNetwork(nr, networkCb, CALLBACK_TIMEOUT_SEC * 1000); 421 cm.unregisterNetworkCallback(networkCb);
|
DataPathOutOfBandTestCase.java | 274 ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService( local 284 cm.requestNetwork(nr, networkCb, CALLBACK_TIMEOUT_SEC * 1000); 288 cm.unregisterNetworkCallback(networkCb); 408 ConnectivityManager cm = (ConnectivityManager) mContext.getSystemService( local 418 cm.requestNetwork(nr, networkCb, CALLBACK_TIMEOUT_SEC * 1000); 422 cm.unregisterNetworkCallback(networkCb);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneSwitcherTest.java | 199 final ConnectivityManager cm = local 201 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); 432 final ConnectivityManager cm = local 434 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm); 505 final ConnectivityManager cm = local 507 contextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, cm);
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnectionService.java | 270 ConnectivityManager cm = local 272 if (cm != null) { 273 NetworkInfo ni = cm.getActiveNetworkInfo();
|
/external/libldac/inc/ |
ldacBT.h | 66 * channel_mode (cm) 230 * "cm" is configured to channel_mode in LDAC, which is determined by SRC and SNK devices in 233 * When the configuration of "mtu", "cm", or "sf" changed, the re-initialization is required. 236 * int ldacBT_init_handle_encode( HANDLE_LDAC_BT hLdacBt, int mtu, int eqmid, int cm, 242 * cm int Information of the channel_mode. 248 LDACBT_API int ldacBT_init_handle_encode( HANDLE_LDAC_BT hLdacBt, int mtu, int eqmid, int cm,
|
/external/python/cpython2/Lib/lib-tk/test/ |
widget_tests.py | 81 with self.assertRaises(tkinter.TclError) as cm: 84 self.assertEqual(str(cm.exception), errmsg) 89 with self.assertRaises(tkinter.TclError) as cm: 92 self.assertEqual(str(cm.exception), errmsg)
|