/frameworks/native/opengl/libagl/ |
D | matrix.h | 141 GLfixed a2, GLfixed b2, in mla3a() argument 157 "%r"(a2), "r"(b2), in mla3a() 178 …: [a0] "r" (a0),[b0] "r" (b0),[a1] "r" (a1),[b1] "r" (b1),[a2] "r" (a2),[b2] "r" (b2),[c] "r" (c) in mla3a() 187 int64_t(a2)*b2)>>16) + c; in mla3a() 197 GLfixed a2, int32_t b2, in mla3a16() argument 212 "r"(a2), "r"(b2), in mla3a16() 226 accum += int64_t(a2)*int16_t(b2) >> 16; in mla3a16() 265 int16_t b2 = xxb2 & 0xffff; in mla3a16_btb() 268 accum += int64_t(a2)*int16_t(b2) >> 16; in mla3a16_btb() 306 int16_t b2 = (b2xx >> 16) & 0xffff; in mla3a16_btt() [all …]
|
D | dxt.cpp | 103 int b2 = (x >> 8) & 0xff; in swap() local 106 return (uint32_t)((b3 << 24) | (b2 << 16) | (b1 << 8) | b0); in swap() 251 int r2, g2, b2, r3, g3, b3, a3; in decodeDXT1() local 261 b2 = avg23(b0, b1); in decodeDXT1() 270 b2 = (b0 + b1) >> 1; in decodeDXT1() 276 (b2 << 1) | 0x1; in decodeDXT1() 280 c[2] = (r2 << 11) | (g2 << 5) | b2; in decodeDXT1() 375 int b2 = avg23(b0, b1); in decodeDXT3() local 383 c[2] = rgb565SepTo888(r2, g2, b2); in decodeDXT3() 532 int b2 = avg23(b0, b1); in decodeDXT5() local [all …]
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | Base64.java | 75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64() 99 b2 = base64Alphabet[base64Data[dataIndex + 1]]; in decodeBase64() 106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 108 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64() 112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64() 119 (byte) (((b2 & 0xf) << 4) | ((b3 >> 2) & 0xf)); in decodeBase64()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 60 Bundle b2 = new Bundle(); in testToKey() local 61 b2.putBoolean("b2", true); in testToKey() 115 b2, in testToKey() 142 Bundle b2 = new Bundle(); in testCompareTo() local 143 b2.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in testCompareTo() 145 "authority1", b2, -1, soonFlex, mUnimportantLong, mUnimportantLong, true); in testCompareTo()
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 309 float b2 = EARTH_SEMI_MINOR_AXIS_KM * EARTH_SEMI_MINOR_AXIS_KM; in computeGeocentricCoordinates() local 315 (float) Math.sqrt(a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates() 317 mGcLatitudeRad = (float) Math.atan(tlat * (latRad * altitudeKm + b2) in computeGeocentricCoordinates() 324 b2 * slat * slat) in computeGeocentricCoordinates() 325 + (a2 * a2 * clat * clat + b2 * b2 * slat * slat) in computeGeocentricCoordinates() 326 / (a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates()
|
/frameworks/base/core/java/android/content/ |
D | PeriodicSync.java | 136 public static boolean syncExtrasEquals(Bundle b1, Bundle b2) { in syncExtrasEquals() argument 137 if (b1.size() != b2.size()) { in syncExtrasEquals() 144 if (!b2.containsKey(key)) { in syncExtrasEquals() 147 if (!b1.get(key).equals(b2.get(key))) { in syncExtrasEquals()
|
/frameworks/base/core/java/android/net/ |
D | SntpClient.java | 167 byte b2 = buffer[offset+2]; in read32() 173 int i2 = ((b2 & 0x80) == 0x80 ? (b2 & 0x7F) + 0x80 : b2); in read32()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 171 signed b2 = (tmp2 + u_b) / 256; in convertCbYCrY() local 183 | (kAdjustedClip[b2] >> 3); in convertCbYCrY() 259 signed b2 = (tmp2 + u_b) / 256; in convertYUV420Planar() local 271 | (kAdjustedClip[b2] >> 3); in convertYUV420Planar() 332 signed b2 = (tmp2 + u_b) / 256; in convertQCOMYUV420SemiPlanar() local 342 ((kAdjustedClip[b2] >> 3) << 11) in convertQCOMYUV420SemiPlanar() 406 signed b2 = (tmp2 + u_b) / 256; in convertYUV420SemiPlanar() local 416 ((kAdjustedClip[b2] >> 3) << 11) in convertYUV420SemiPlanar() 476 signed b2 = (tmp2 + u_b) / 256; in convertTIYUV420PackedSemiPlanar() local 488 | (kAdjustedClip[b2] >> 3); in convertTIYUV420PackedSemiPlanar()
|
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/ |
D | BasicNfcEeTest.java | 111 private static void assertByteArrayEquals(byte[] b1, byte[] b2) { in assertByteArrayEquals() argument 112 assertEquals(b1.length, b2.length); in assertByteArrayEquals() 114 assertEquals(b1[i], b2[i]); in assertByteArrayEquals()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 373 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform() local 375 Canvas c = new Canvas(b2); in transform() 396 return b2; in transform() 436 Bitmap b2 = Bitmap.createBitmap( in transform() local 443 if (b2 != b1) { in transform() 449 return b2; in transform()
|
/frameworks/native/opengl/libs/ETC1/ |
D | etc1.cpp | 203 int r1, r2, g1, g2, b1, b2; in etc1_decode_block() local 214 b2 = convertDiff(bBase, high >> 8); in etc1_decode_block() 222 b2 = convert4To8(high >> 8); in etc1_decode_block() 230 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); in etc1_decode_block() 379 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks in etc_encodeBaseColors() local 402 b2 = convert5To8(b51 + db); in etc_encodeBaseColors() 420 b2 = convert4To8(b42); in etc_encodeBaseColors() 429 pBaseColors[5] = b2; in etc_encodeBaseColors()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 158 const audio_coef_t b2 = mCoefs[2]; in process_normal_mono() local 166 acc = mac_coef_sample(b2, x2, acc); in process_normal_mono() 205 const audio_coef_t b2 = mCoefs[2]; in process_normal_multi() local 219 acc = mac_coef_sample(b2, x2, acc); in process_normal_multi()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCharacteristic.java | 650 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { in unsignedBytesToInt() argument 652 + (unsignedByteToInt(b2) << 16) + (unsignedByteToInt(b3) << 24); in unsignedBytesToInt() 668 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { in bytesToFloat() argument 671 + (unsignedByteToInt(b2) << 16), 24); in bytesToFloat()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 290 boolean[] b2 = new boolean[]{true, false, true}; in testArrays() 291 boolean[] br = mRemote.booleanArray(b0, b1, b2); in testArrays() 299 assertTrue(b2[0]); in testArrays() 300 assertFalse(b2[1]); in testArrays() 301 assertTrue(b2[2]); in testArrays()
|
D | PerformanceCollectorTest.java | 477 private void assertEqualsBundle(Bundle b1, Bundle b2) { in assertEqualsBundle() argument 478 assertEquals(b1.keySet(), b2.keySet()); in assertEqualsBundle() 480 assertEquals(b1.get(key), b2.get(key)); in assertEqualsBundle()
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
D | SampleRSActivity.java | 148 Bitmap b2 = Bitmap.createBitmap(b.getWidth(), b.getHeight(), b.getConfig()); in loadBitmap() local 149 Canvas c = new Canvas(b2); in loadBitmap() 152 return b2; in loadBitmap()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | NativeCrashListener.java | 171 int b0, b1, b2, b3; in unpackInt() local 175 b2 = ((int) buf[offset+2]) & 0xFF; in unpackInt() 177 return (b0 << 24) | (b1 << 16) | (b2 << 8) | b3; in unpackInt()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | IpPrefixTest.java | 61 byte[] b2 = {1, 2, 3, 4, 5}; in testConstructor() 62 p = new IpPrefix(b2, 29); in testConstructor()
|
D | UriTest.java | 128 Uri b2 = Uri.parse("foo:b"); in testCompareTo() local 132 assertEquals(0, b.compareTo(b2)); in testCompareTo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AssetAtlasService.java | 159 public int compare(Bitmap b1, Bitmap b2) { in AssetAtlasService() 160 if (b1.getWidth() == b2.getWidth()) { in AssetAtlasService() 161 return b2.getHeight() - b1.getHeight(); in AssetAtlasService() 163 return b2.getWidth() - b1.getWidth(); in AssetAtlasService()
|
D | AlarmManagerService.java | 369 public int compare(Batch b1, Batch b2) { in compare() argument 371 long when2 = b2.start; in compare()
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | TestBase.java | 91 …public final void createBaseTest(ImageProcessingActivity2 ipact, Bitmap b, Bitmap b2, Bitmap outb)… in createBaseTest() argument
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3180 public static boolean syncExtrasEquals(Bundle b1, Bundle b2, boolean includeSyncSettings) { in syncExtrasEquals() argument 3181 if (b1 == b2) { in syncExtrasEquals() 3185 if (includeSyncSettings && b1.size() != b2.size()) { in syncExtrasEquals() 3188 Bundle bigger = b1.size() > b2.size() ? b1 : b2; in syncExtrasEquals() 3189 Bundle smaller = b1.size() > b2.size() ? b2 : b1; in syncExtrasEquals()
|