Home
last modified time | relevance | path

Searched refs:b1 (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.h99 double b0,b1; in db_MultiplyPoly1_1() local
101 b0=b[0];b1=b[1]; in db_MultiplyPoly1_1()
104 d[1]=a0*b1+a1*b0; in db_MultiplyPoly1_1()
105 d[2]= a1*b1; in db_MultiplyPoly1_1()
111 double b0,b1,b2; in db_MultiplyPoly0_2() local
113 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly0_2()
116 d[1]=a0*b1; in db_MultiplyPoly0_2()
123 double b0,b1,b2; in db_MultiplyPoly1_2() local
125 b0=b[0];b1=b[1];b2=b[2]; in db_MultiplyPoly1_2()
128 d[1]=a0*b1+a1*b0; in db_MultiplyPoly1_2()
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPerNameExecutorTest.java47 MockTask b1 = addTask("b", 1); in testExecute() local
49 assertRanNever("step 0", a1, a2, a3, b1); in testExecute()
51 assertRanOnce("step 1", a1, b1); in testExecute()
54 assertRanOnce("step 2", a1, b1, a2); in testExecute()
57 assertRanOnce("step 3", a1, b1, a2, a3); in testExecute()
59 assertRanOnce("step 4", a1, b1, a2, a3); in testExecute()
65 MockTask b1 = addTask("b", 1); in testCancelPendingTasks() local
68 assertRanOnce("step 1", a1, b1); in testCancelPendingTasks()
71 assertRanOnce("step 1, after cancel", a1, b1); in testCancelPendingTasks()
74 assertRanOnce("step 2", a1, b1); in testCancelPendingTasks()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapUtils.java535 byte b1 = input[++in]; in quotedPrintableToUtf8()
537 if (b1 == '\r' && b2 == '\n') { in quotedPrintableToUtf8()
540 if (((b1 >= '0' && b1 <= '9') || (b1 >= 'A' && b1 <= 'F') || (b1 >= 'a' in quotedPrintableToUtf8()
541 && b1 <= 'f')) && ((b2 >= '0' && b2 <= '9') || (b2 >= 'A' && b2 <= 'F') || ( in quotedPrintableToUtf8()
544 Log.v(TAG, "Found hex number: " + String.format("%c%c", b1, b2)); in quotedPrintableToUtf8()
546 if (b1 <= '9') { in quotedPrintableToUtf8()
547 b1 = (byte) (b1 - '0'); in quotedPrintableToUtf8()
548 } else if (b1 <= 'F') { in quotedPrintableToUtf8()
549 b1 = (byte) (b1 - 'A' + 10); in quotedPrintableToUtf8()
550 } else if (b1 <= 'f') { in quotedPrintableToUtf8()
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DApi2Camera.java533 … CaptureRequest.Builder b1 = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in issuePreviewCaptureRequest() local
534 b1.set(CaptureRequest.CONTROL_MODE, CameraMetadata.CONTROL_MODE_USE_SCENE_MODE); in issuePreviewCaptureRequest()
535b1.set(CaptureRequest.CONTROL_SCENE_MODE, CameraMetadata.CONTROL_SCENE_MODE_FACE_PRIORITY); in issuePreviewCaptureRequest()
537 b1.set(CaptureRequest.CONTROL_AF_MODE, CameraMetadata.CONTROL_AF_MODE_AUTO); in issuePreviewCaptureRequest()
539b1.set(CaptureRequest.CONTROL_AF_MODE, CameraMetadata.CONTROL_AF_MODE_CONTINUOUS_PICTURE); in issuePreviewCaptureRequest()
542 b1.set(CaptureRequest.NOISE_REDUCTION_MODE, mCaptureNoiseMode); in issuePreviewCaptureRequest()
543 b1.set(CaptureRequest.EDGE_MODE, mCaptureEdgeMode); in issuePreviewCaptureRequest()
544b1.set(CaptureRequest.STATISTICS_FACE_DETECT_MODE, mCaptureFace ? mCameraInfoCache.bestFaceDetecti… in issuePreviewCaptureRequest()
549 b1.addTarget(mYuv1ImageReader.getSurface()); in issuePreviewCaptureRequest()
554 b1.addTarget(mRawImageReader.getSurface()); in issuePreviewCaptureRequest()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DUtil.java211 Bitmap b1; in transform() local
214 b1 = Bitmap.createBitmap(source, 0, 0, in transform()
217 b1 = source; in transform()
220 if (recycle && b1 != source) { in transform()
224 int dx1 = Math.max(0, b1.getWidth() - targetWidth); in transform()
225 int dy1 = Math.max(0, b1.getHeight() - targetHeight); in transform()
228 b1, in transform()
234 if (b2 != b1) { in transform()
235 if (recycle || b1 != source) { in transform()
236 b1.recycle(); in transform()
/packages/apps/Dialer/java/com/android/dialer/common/backoff/
DExponentialBaseCalculator.java98 double b1 = b0 - fb0 / fpb0; in getBaseImpl() local
99 double b1n = Math.pow(b1, n); in getBaseImpl()
100 double fb1 = f(b1, t, b1n); in getBaseImpl()
104 return b1; in getBaseImpl()
107 b0 = b1; in getBaseImpl()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterGradRepresentation.java160 Band b1 = mBands.get(i); in equals() local
162 if (b1.mask != b2.mask in equals()
163 || b1.brightness != b2.brightness in equals()
164 || b1.contrast != b2.contrast in equals()
165 || b1.saturation != b2.saturation in equals()
166 || b1.xPos1 != b2.xPos1 in equals()
167 || b1.xPos2 != b2.xPos2 in equals()
168 || b1.yPos1 != b2.yPos1 in equals()
169 || b1.yPos2 != b2.yPos2) { in equals()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java127 private void assertBitmapEquals(Bitmap b1, Bitmap b2) { in assertBitmapEquals() argument
128 assertEquals(b1.getWidth(), b2.getWidth()); in assertBitmapEquals()
129 assertEquals(b1.getHeight(), b2.getHeight()); in assertBitmapEquals()
130 for (int x = 0; x < b1.getWidth(); x++) { in assertBitmapEquals()
131 for (int y = 0; y < b1.getHeight(); y++) { in assertBitmapEquals()
132 assertEquals(b1.getPixel(x, y), b2.getPixel(x, y)); in assertBitmapEquals()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DBase64.java75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64()
98 b1 = base64Alphabet[base64Data[dataIndex]]; in decodeBase64()
106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DBase64.java75 byte b1 = 0, b2 = 0, b3 = 0, b4 = 0, marker0 = 0, marker1 = 0; in decodeBase64()
98 b1 = base64Alphabet[base64Data[dataIndex]]; in decodeBase64()
106 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
112 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
117 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java209 Mailbox b1 = ProviderTestUtils.setupMailbox("box1", 1, true, c, Mailbox.TYPE_MAIL); in testGetMailboxForMessageId() local
211 Message m1 = ProviderTestUtils.setupMessage("1", b1.mAccountKey, b1.mId, in testGetMailboxForMessageId()
215 ProviderTestUtils.assertMailboxEqual("x", b1, Mailbox.getMailboxForMessageId(c, m1.mId)); in testGetMailboxForMessageId()
349 Mailbox b1 = ProviderTestUtils.setupMailbox("box1", a1.mId, true, c, Mailbox.TYPE_INBOX); in testMessageCount() local
357 assertEquals(0, getMessageCount(b1.mId)); in testMessageCount()
371 Message m11 = createMessage(c, b1, true, false, Message.FLAG_LOADED_COMPLETE); in testMessageCount()
390 assertEquals(1, getMessageCount(b1.mId)); in testMessageCount()
411 assertEquals(1, getMessageCount(b1.mId)); in testMessageCount()
426 assertEquals(0, getMessageCount(b1.mId)); in testMessageCount()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Ditoa.h187 const uint32_t b1 = v1 / 10000; in u64toa() local
190 const uint32_t d5 = (b1 / 100) << 1; in u64toa()
191 const uint32_t d6 = (b1 % 100) << 1; in u64toa()
261 const uint32_t b1 = v1 / 10000; in u64toa() local
264 const uint32_t d5 = (b1 / 100) << 1; in u64toa()
265 const uint32_t d6 = (b1 % 100) << 1; in u64toa()
Dbiginteger.h262 const uint64_t a0 = a & 0xFFFFFFFF, a1 = a >> 32, b0 = b & 0xFFFFFFFF, b1 = b >> 32; in MulAdd64()
263 uint64_t x0 = a0 * b0, x1 = a0 * b1, x2 = a1 * b0, x3 = a1 * b1; in MulAdd64()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DMimeBoundaryInputStream.java128 int b1 = s.read(); in read() local
131 if (b1 == '\r' && b2 == '\n') { in read()
141 parenteof = b1 == -1; in read()
144 return b1; in read()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dmove1.dot23 b1 [label="{b:number|456}", fillcolor=6]
27 a1 -> b1 [style="dashed", label="Move", dir=back]
46 b1 -> b2 [style=invis]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DGeometry.h108 double b1 = y0 - m1 * x0; in FindTriangleCentroid() local
116 double x = (b2 - b1) / (m1 - m2); in FindTriangleCentroid()
119 dy = y1 - m1 * x + b1; in FindTriangleCentroid()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java140 BitSet b1 = new BitSet(ITEM_COUNT); in testModelIdIsUnique() local
153 b1.set(Integer.parseInt(docId)); in testModelIdIsUnique()
161 assertEquals(ITEM_COUNT, b1.cardinality()); in testModelIdIsUnique()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java106 float b1 = line1[3]; in lineIntersect() local
112 float t1 = a1 - b1; in lineIntersect()
114 float t3 = d1 - b1; in lineIntersect()
123 b0 + u * t0, b1 + u * t1 in lineIntersect()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java495 private static boolean areBundlesEqual(Bundle b1, Bundle b2) {
496 for (String key1 : b1.keySet()) {
497 if (!b1.get(key1).equals(b2.get(key1))) {
503 if (!b2.get(key2).equals(b1.get(key2))) {
DTelecomServiceImplTest.java1040 private static boolean areBundlesEqual(Bundle b1, Bundle b2) { in areBundlesEqual() argument
1041 for (String key1 : b1.keySet()) { in areBundlesEqual()
1042 if (!b1.get(key1).equals(b2.get(key1))) { in areBundlesEqual()
1048 if (!b2.get(key2).equals(b1.get(key2))) { in areBundlesEqual()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java2000 Mailbox b1 = ProviderTestUtils.setupMailbox("box1", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetKeyColumnLong() local
2002 Message m1 = createMessage(c, b1, false, false); in testGetKeyColumnLong()
2006 assertEquals(b1.mId, Message.getKeyColumnLong(c, m1.mId, MessageColumns.MAILBOX_KEY)); in testGetKeyColumnLong()
2014 Mailbox b1 = ProviderTestUtils.setupMailbox("box1", a1.mId, true, c, Mailbox.TYPE_MAIL); in testGetAccountIdForMessageId() local
2016 Message m1 = createMessage(c, b1, false, false); in testGetAccountIdForMessageId()
2101 Mailbox b1 = ProviderTestUtils.setupMailbox("box1", a1.mId, true, c, Mailbox.TYPE_INBOX); in testRecalculateMessageCounts() local
2109 Message m11 = createMessage(c, b1, true, false, Message.FLAG_LOADED_COMPLETE); in testRecalculateMessageCounts()
2128 assertEquals(1, getMessageCount(b1.mId)); in testRecalculateMessageCounts()
2138 assertEquals(-1, getMessageCount(b1.mId)); in testRecalculateMessageCounts()
2149 assertEquals(1, getMessageCount(b1.mId)); in testRecalculateMessageCounts()
DAttachmentProviderTests.java175 Mailbox b1 = ProviderTestUtils.setupMailbox( in testInboxQuery() local
188 Message m11 = createMessage(mMockContext, b1); in testInboxQuery()
189 Message m12 = createMessage(mMockContext, b1); in testInboxQuery()
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
DObd2Connection.java228 FourByteBitSet(byte b0, byte b1, byte b2, byte b3) { in FourByteBitSet() argument
230 mByte1 = b1; in FourByteBitSet()
/packages/apps/DeskClock/src/com/android/deskclock/
DFabContainer.java17 int FAB_IMMEDIATE = 0b1;
/packages/services/Telecomm/src/com/android/server/telecom/
DCallScreeningServiceHelper.java71 public void disallowCall(String s, boolean b, boolean b1, boolean b2, in disallowCall() argument

12