Home
last modified time | relevance | path

Searched refs:b0 (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java247 - mMoments[getIndex(cube.r1, cube.g1, cube.b0)] in variance()
249 + mMoments[getIndex(cube.r1, cube.g0, cube.b0)] in variance()
251 + mMoments[getIndex(cube.r0, cube.g1, cube.b0)] in variance()
253 - mMoments[getIndex(cube.r0, cube.g0, cube.b0)]; in variance()
272 maximize(one, Direction.BLUE, one.b0 + 1, one.b1, wholeR, wholeG, wholeB, wholeW); in cut()
297 two.b0 = one.b0; in cut()
303 two.b0 = one.b0; in cut()
309 two.b0 = one.b1; in cut()
315 one.vol = (one.r1 - one.r0) * (one.g1 - one.g0) * (one.b1 - one.b0); in cut()
316 two.vol = (two.r1 - two.r0) * (two.g1 - two.g0) * (two.b1 - two.b0); in cut()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DByteStream.java134 int b0 = getUnsignedByte(); in unpackUsbShort() local
136 return (b1 << 8) | b0; in unpackUsbShort()
152 int b0 = getUnsignedByte(); in unpackUsbTriple() local
155 return (b2 << 16) | (b1 << 8) | b0; in unpackUsbTriple()
168 int b0 = getUnsignedByte(); in unpackUsbInt() local
172 return (b3 << 24) | (b2 << 16) | (b1 << 8) | b0; in unpackUsbInt()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java723 private int unsignedBytesToInt(byte b0, byte b1) { in unsignedBytesToInt() argument
724 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)); in unsignedBytesToInt()
730 private int unsignedBytesToInt(byte b0, byte b1, byte b2, byte b3) { in unsignedBytesToInt() argument
731 return (unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8)) in unsignedBytesToInt()
738 private float bytesToFloat(byte b0, byte b1) { in bytesToFloat() argument
739 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
748 private float bytesToFloat(byte b0, byte b1, byte b2, byte b3) { in bytesToFloat() argument
749 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat()
/frameworks/base/libs/androidfw/tests/data/out_of_order_types/
Dedited_resources.arsc.txt12 000000b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
28 000001b0: 7374 0000 0202 1000 1400 0000 0100 0000 st..............
/frameworks/base/core/java/android/net/
DSntpClient.java251 byte b0 = buffer[offset]; in read32()
257 int i0 = ((b0 & 0x80) == 0x80 ? (b0 & 0x7F) + 0x80 : b0); in read32()
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp156 const audio_coef_t b0 = mCoefs[0]; in process_normal_mono() local
164 acc = mul_coef_sample(b0, x0); in process_normal_mono()
203 const audio_coef_t b0 = mCoefs[0]; in process_normal_multi() local
217 acc = mul_coef_sample(b0, x0); in process_normal_multi()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java169 int b0, b1, b2, b3; in unpackInt() local
171 b0 = ((int) buf[offset]) & 0xFF; // mask against sign extension in unpackInt()
175 return (b0 << 24) | (b1 << 16) | (b2 << 8) | b3; in unpackInt()
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem104 bc:a5:b0:ca:1e:ca:2d:c1:48:68:e1:28:3c:e8:12:
126 b1:a9:70:ad:18:ab:57:89:56:b0:cf:4c:3a:15:44:
132 58:d1:85:99:49:3b:a0:f7:b0:88:85:0c:2e:35:d2:
195 33:4c:ed:15:9f:07:b0:ec:a4:4b:77:32:e1:59:b8:a2:92:18:
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java287 boolean[] b0 = new boolean[]{true}; in testArrays()
290 boolean[] br = mRemote.booleanArray(b0, b1, b2); in testArrays()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java405 DropBoxManager.Entry b0 = dropbox.getNextEntry("DropBoxTest.B", before); in testGetNextEntry() local
406 assertTrue(null == dropbox.getNextEntry("DropBoxTest.B", b0.getTimeMillis())); in testGetNextEntry()
418 assertEquals("DropBoxTest.B", b0.getTag()); in testGetNextEntry()
419 assertEquals("B0", b0.getText(80)); in testGetNextEntry()
430 b0.close(); in testGetNextEntry()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java227 int b0 = Color.blue(c0); in testSetPixelsWithNonOpaqueAlpha() local
229 int bb = computePrePostMul(a0, b0); in testSetPixelsWithNonOpaqueAlpha()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h38 enum class RefreshRateConfigEvent : unsigned { None = 0b0, Changed = 0b1 };
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageBuilder.java769 param ? (byte) 0b1 : 0b0 in buildCommandWithBooleanParam()