/frameworks/base/libs/ui/ |
D | KeyCharacterMap.cpp | 36 Key* k = find_key(keycode); in get() local 37 if (k != NULL) { in get() 38 return k->data[meta & META_MASK]; in get() 46 Key* k = find_key(keycode); in getNumber() local 47 if (k != NULL) { in getNumber() 48 return k->number; in getNumber() 57 Key* k = find_key(keycode); in getMatch() local 59 if (k != NULL) { in getMatch() 60 const uint16_t* data = k->data; in getMatch() 78 Key* k = find_key(keycode); in getDisplayLabel() local [all …]
|
D | CameraParameters.cpp | 142 String8 k, v; in flatten() local 143 k = mMap.keyAt(i); in flatten() 146 flattened += k; in flatten() 170 String8 k(a, (size_t)(b-a)); in unflatten() local 178 mMap.add(k, v); in unflatten() 183 mMap.add(k, v); in unflatten() 345 String8 k, v; in dump() local 346 k = mMap.keyAt(i); in dump() 348 LOGD("%s: %s\n", k.string(), v.string()); in dump() 360 String8 k, v; in dump() local [all …]
|
D | KeyLayoutMap.cpp | 159 Key k = { keycode, flags }; in load() local 160 m_keys.add(scancode, k); in load() 182 Key k = { keycode, flags }; in load() local 183 m_keys.add(scancode, k); in load() 207 const Key& k = m_keys.valueAt(index); in map() local 209 *keycode = k.keycode; in map() 210 *flags = k.flags; in map()
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
D | umultimap.h | 56 inline size_type count (const_key_ref k) const { return (upper_bound(k) - lower_bound(k)); } in count() argument 58 …nline const_range_t equal_range (const_key_ref k) const { return (make_pair (lower_bound(k), upper… in equal_range() argument 59 … equal_range (const_key_ref k) { return (make_pair (const_cast<iterator>(lower_bound(k)), const_c… in equal_range() argument 60 const_iterator lower_bound (const_key_ref k) const; 61 const_iterator upper_bound (const_key_ref k) const; 64 …line void erase (const_key_ref k) { erase (const_cast<iterator>(lower_bound(k)), const_cast<it… in erase() argument 72 typename multimap<K,V>::const_iterator multimap<K,V>::lower_bound (const_key_ref k) const in lower_bound() argument 77 if (mid->first < k) in lower_bound() 87 typename multimap<K,V>::const_iterator multimap<K,V>::upper_bound (const_key_ref k) const in upper_bound() argument 92 if (k < mid->first) in upper_bound()
|
D | umap.h | 59 inline const_iterator find (const_key_ref k) const; 60 …inline iterator find (const_key_ref k) { return (const_cast<iterator> (const_cast<rcself_t>(*this… in find() argument 65 inline void erase (const_key_ref k); 70 const_iterator lower_bound (const_key_ref k) const; 71 … iterator lower_bound (const_key_ref k) { return (const_cast<iterator>(const_cast<rcself_t>(*this… in lower_bound() argument 75 typename map<K,V>::const_iterator map<K,V>::lower_bound (const_key_ref k) const in lower_bound() argument 80 if (mid->first < k) in lower_bound() 90 inline typename map<K,V>::const_iterator map<K,V>::find (const_key_ref k) const in find() argument 92 const_iterator i = lower_bound (k); in find() 93 return ((i < end() && k < i->first) ? end() : i); in find() [all …]
|
/frameworks/base/awt/java/awt/image/ |
D | ColorConvertOp.java | 199 for (int k = 1; k < profiles.size(); k++) { in getSequence() 200 if (prev == profiles.get(k)) { in getSequence() 201 k--; in getSequence() 202 profiles.remove(k); in getSequence() 204 prev = profiles.get(k); in getSequence() 620 for (int k = 0; k < numPixels; k++) { in applySequence() 621 tmpData[k] = srcCS.toCIEXYZ(tmpData[k]); in applySequence() 632 for (int k = 0; k < numPixels; k++) { in applySequence() 633 tmpData[k] = cs.fromCIEXYZ(tmpData[k]); in applySequence() 634 tmpData[k] = cs.toCIEXYZ(tmpData[k]); in applySequence() [all …]
|
/frameworks/base/awt/java/awt/ |
D | GradientPaintContext.java | 139 double k = 1.0 / LOOKUP_SIZE; in createTable() local 140 double da = (((c2 >> 24) & 0xFF) - ca) * k; in createTable() 141 double dr = (((c2 >> 16) & 0xFF) - cr) * k; in createTable() 142 double dg = (((c2 >> 8) & 0xFF) - cg) * k; in createTable() 143 double db = ((c2 & 0xFF) - cb) * k; in createTable() 179 int k = 0; in getRaster() local 184 buf[k++] = table[(c >> 8) & LOOKUP_MASK]; in getRaster() 193 buf[k++] = index < 0 ? c1 : index >= LOOKUP_SIZE ? c2 : table[index]; in getRaster()
|
/frameworks/base/cmds/stagefright/ |
D | stagefright.cpp | 294 for (size_t k = 0; k < sizeof(kMimeTypes) / sizeof(kMimeTypes[0]); in main() local 295 ++k) { in main() 296 printf("type '%s':\n", kMimeTypes[k]); in main() 299 CHECK_EQ(QueryCodecs(omx, kMimeTypes[k], in main() 349 for (int k = 0; k < argc; ++k) { in main() local 350 const char *filename = argv[k]; in main()
|
D | SineSource.cpp | 75 const double k = kFrequency / mSampleRate * (2.0 * M_PI); in read() local 77 double x = mPhase * k; in read() 86 x += k; in read()
|
/frameworks/base/libs/utils/ |
D | BackupData.cpp | 102 String8 k; in WriteEntityHeader() local 104 k = m_keyPrefix; in WriteEntityHeader() 105 k += ":"; in WriteEntityHeader() 106 k += key; in WriteEntityHeader() 108 k = key; in WriteEntityHeader() 118 keyLen = k.length(); in WriteEntityHeader() 131 amt = write(m_fd, k.string(), keyLen+1); in WriteEntityHeader()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ argument 42 poly_clip_to_halfspace(p, q, &v->elem-(float *)v, sign, sign*k); \ 59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) in poly_clip_to_halfspace() argument 72 tu = sign*COORD(u, index) - u->sw*k; in poly_clip_to_halfspace() 76 tv = sign*COORD(v, index) - v->sw*k; in poly_clip_to_halfspace()
|
/frameworks/base/core/java/android/content/ |
D | UriMatcher.java | 232 for (int k=0; k<lk; k++) { 233 char c = u.charAt(k);
|
/frameworks/base/awt/java/awt/geom/ |
D | Arc2D.java | 499 double k; field in Arc2D.Iterator 550 k = 4.0 / 3.0 * (Math.sqrt(2.0) - 1.0); in Iterator() 554 k = -k; in Iterator() 559 k = 4.0 / 3.0 * (1.0 - Math.cos(step / 2.0)) / Math.sin(step / 2.0); in Iterator() 594 kx = k * width * sin; in currentSegment() 595 ky = k * height * cos; in currentSegment() 606 kx = k * width * sin; in currentSegment() 607 ky = k * height * cos; in currentSegment() 639 kx = k * width * sin; in currentSegment() 640 ky = k * height * cos; in currentSegment() [all …]
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 396 int k; in generate() local 398 for (k = j + 1; k < n; k++) { in generate() 399 dd = chdirs[k]; in generate() 412 for (int y = j; y < k; y++) { in generate() 419 j = k - 1; in generate() 1032 for (int k = start; k < end; k++) { in out() 1033 if (chdirs[k - pstart] != cur) { in out() 1035 cur = chdirs[k - pstart]; in out() 1051 for (int k = start; k < end; k++) { in out() 1052 if (chdirs[k - pstart] != cur) { in out() [all …]
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
D | AppCacheTest.java | 245 for(int k = 1; k < 10; k++) { in testAppCreateCacheFiles() 340 for(int k = 1; k <i; k++) { in testAppCacheClear() 341 File testFile = new File(testDir, "testFile"+k+".txt"); in testAppCacheClear() 368 for(int k = 1; k < 10; k++) { in createTestFiles1() 413 for(int k = 1; k < 10; k++) { in createTestFiles2()
|
/frameworks/base/opengl/libagl/ |
D | matrix.cpp | 540 int i, j, k, swap; in invert() local 557 for (k = 0; k < 4; k++) { in invert() 558 t = tmp[i][k]; in invert() 559 tmp[i][k] = tmp[swap][k]; in invert() 560 tmp[swap][k] = t; in invert() 562 t = inverse[i*4+k]; in invert() 563 inverse[i*4+k] = inverse[swap*4+k]; in invert() 564 inverse[swap*4+k] = t; in invert() 569 for (k = 0; k < 4; k++) { in invert() 570 tmp[i][k] *= t; in invert() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 328 for (int k = 0; k < this.allowedKeyManagement.size(); k++) { in toString() 329 if (this.allowedKeyManagement.get(k)) { in toString() 331 if (k < KeyMgmt.strings.length) { in toString() 332 sbuf.append(KeyMgmt.strings[k]); in toString()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Texture.java | 71 int k = j + 1; in Texture() local 74 arr[j] = arr[k]; in Texture() 75 arr[k] = tmp; in Texture()
|
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
D | Crossing.java | 525 int k = i; in sortBound() local 527 if (bound[k] > bound[j]) { in sortBound() 528 k = j; in sortBound() 531 if (k != i) { in sortBound() 533 bound[i] = bound[k]; in sortBound() 534 bound[k] = tmp; in sortBound() 536 bound[i + 1] = bound[k + 1]; in sortBound() 537 bound[k + 1] = tmp; in sortBound() 539 bound[i + 2] = bound[k + 2]; in sortBound() 540 bound[k + 2] = tmp; in sortBound() [all …]
|
/frameworks/base/libs/surfaceflinger/ |
D | BlurFilter.cpp | 257 for (int k=0 ; k<repeat ; k++) { in blurFilter() local 305 *fb++ = current.to(areaShift, k==repeat-1, dither); in blurFilter() 314 *fb++ = current.to(areaShift, k==repeat-1, dither); in blurFilter() 322 *fb++ = current.to(areaShift, k==repeat-1, dither); in blurFilter()
|
/frameworks/base/core/java/android/widget/ |
D | ArrayAdapter.java | 446 for (int k = 0; k < wordCount; k++) { in performFiltering() 447 if (words[k].startsWith(prefixString)) { in performFiltering()
|
D | SimpleAdapter.java | 365 for (int k = 0; k < wordCount; k++) { in performFiltering() 366 String word = words[k]; in performFiltering()
|
/frameworks/base/include/utils/ |
D | TypeHelpers.h | 233 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 234 key_value_pair_t(const KEY& k) : key(k) { }
|
/frameworks/base/core/jni/ |
D | Time.cpp | 106 next_char(int *m, int k) in next_char() argument 108 int n = *m / k; in next_char() 109 *m = *m % k; in next_char()
|
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
D | JavaLineRasterizer.java | 78 LineDasher createDiagonal(double k, float length, boolean invert) { in createDiagonal() argument 83 local.phase = (float)((dash[index] - phase) * k); in createDiagonal() 87 local.dash[i] = (float)(inv[i] * k); in createDiagonal() 90 local.phase = (float)(phase * k); in createDiagonal() 94 local.dash[i] = (float)(dash[i] * k); in createDiagonal() 665 int k; in clip() 667 k = -dX1 + (dX2 < 0 ? 0 : dX1 > 0 ? (dX2 << 1) : -(dX2 << 1)); in clip() 669 k = dX1 + (dX2 > 0 ? 0 : dX1 > 0 ? (dX2 << 1) : -(dX2 << 1)); in clip() 672 k += dX1 > 0 == dX2 > 0 ? -1 : 1; in clip() 673 return ((dX1 << 1) * cX + k) / (dX2 << 1); in clip()
|