/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 254 String tmp; in customizeViewContent() local 259 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent() 260 mLine1View.setText(tmp); in customizeViewContent() 262 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent() 263 mLine2View.setText(tmp); in customizeViewContent() 265 tmp = getString(R.string.download_line3, in customizeViewContent() 267 mLine3View.setText(tmp); in customizeViewContent() 270 tmp = getString(R.string.download_line5); in customizeViewContent() 272 tmp = getString(R.string.download_succ_line5); in customizeViewContent() 274 mLine5View.setText(tmp); in customizeViewContent() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ColorSpaceMatrix.java | 84 float[] tmp = c.mMatrix; in xRotateMatrix() local 86 tmp[5] = rc; in xRotateMatrix() 87 tmp[6] = rs; in xRotateMatrix() 88 tmp[9] = -rs; in xRotateMatrix() 89 tmp[10] = rc; in xRotateMatrix() 91 multiply(tmp); in xRotateMatrix() 97 float[] tmp = c.mMatrix; in yRotateMatrix() local 99 tmp[0] = rc; in yRotateMatrix() 100 tmp[2] = -rs; in yRotateMatrix() 101 tmp[8] = rs; in yRotateMatrix() [all …]
|
/packages/apps/Gallery2/jni/filters/ |
D | edge.c | 61 float tmp = 0.0f; in JNIFUNCF() local 62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() 63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF() 64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF() 65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF() 67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF() 68 if (fabs(tmp) > fabs(bestx)) { in JNIFUNCF() 69 bestx = tmp; in JNIFUNCF() 75 float tmp = 0.0f; in JNIFUNCF() local [all …]
|
D | kmeans.h | 146 N tmp[pop_size]; in calculateNewCentroids() local 152 tmp[x] = 0; in calculateNewCentroids() 158 add<T, N>(values + x, tmp + best, dimension); in calculateNewCentroids() 167 divide<N, int>(tmp + x, popularities[x / stride], dimension); in calculateNewCentroids() 169 if ((dst + x)[y] != (T) ((tmp + x)[y])) { in calculateNewCentroids() 173 set(dst + x, tmp + x, dimension); in calculateNewCentroids()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageStraighten.java | 206 private void updateCurrentCrop(Matrix m, GeometryHolder h, RectF tmp, int imageWidth, in updateCurrentCrop() argument 208 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop() 209 m.mapRect(tmp); in updateCurrentCrop() 210 float top = tmp.top; in updateCurrentCrop() 211 float bottom = tmp.bottom; in updateCurrentCrop() 212 float left = tmp.left; in updateCurrentCrop() 213 float right = tmp.right; in updateCurrentCrop() 214 m.mapRect(tmp); in updateCurrentCrop() 217 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop() 221 tmp.set(0, 0, imageWidth, imageHeight); in updateCurrentCrop() [all …]
|
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 350 addrinfo tmp = ai; in android_getaddrinfofornetcontext() local 351 if (tmp.ai_family == PF_UNSPEC) { in android_getaddrinfofornetcontext() 352 tmp.ai_family = PF_INET6; in android_getaddrinfofornetcontext() 354 error = get_portmatch(&tmp, servname); in android_getaddrinfofornetcontext() 367 addrinfo tmp = ai; in android_getaddrinfofornetcontext() local 368 if (tmp.ai_family == PF_UNSPEC) tmp.ai_family = ex.e_af; in android_getaddrinfofornetcontext() 369 if (tmp.ai_socktype == ANY && ex.e_socktype != ANY) tmp.ai_socktype = ex.e_socktype; in android_getaddrinfofornetcontext() 370 if (tmp.ai_protocol == ANY && ex.e_protocol != ANY) tmp.ai_protocol = ex.e_protocol; in android_getaddrinfofornetcontext() 372 LOG(DEBUG) << __func__ << ": explore_numeric: ai_family=" << tmp.ai_family in android_getaddrinfofornetcontext() 373 << " ai_socktype=" << tmp.ai_socktype << " ai_protocol=" << tmp.ai_protocol; in android_getaddrinfofornetcontext() [all …]
|
D | DnsStats.cpp | 133 ServerStatsMap tmp; in setServers() local 136 tmp.insert(statsMap->extract(server)); in setServers() 139 statsMap->swap(tmp); in setServers()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 452 Bitmap tmp = Bitmap.createBitmap(ret, 0, 0, ret.getWidth(), in doInBackground() local 454 if (tmp != null) { in doInBackground() 455 ret = tmp; in doInBackground() 526 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in doInBackground() local 528 if (tmp != null) { in doInBackground() 529 Canvas c = new Canvas(tmp); in doInBackground() 531 crop = tmp; in doInBackground() 536 Bitmap tmp = Bitmap.createBitmap(crop, 0, 0, crop.getWidth(), in doInBackground() local 538 if (tmp != null) { in doInBackground() 539 crop = tmp; in doInBackground()
|
/packages/apps/Test/connectivity/sl4n/facades/test/ |
D | test_facade.cpp | 128 rapidjson::Value tmp; in test_string_empty_return_wrapper() local 129 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_empty_return_wrapper() 130 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in test_string_empty_return_wrapper() 156 rapidjson::Value tmp; in test_string_max_return_wrapper() local 157 tmp.SetString(result.c_str(), doc.GetAllocator()); in test_string_max_return_wrapper() 158 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in test_string_max_return_wrapper()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.java | 680 String tmp = "Unknown"; in eventInfoToString() local 684 tmp = "Go to time/event"; in eventInfoToString() 686 tmp = "View event"; in eventInfoToString() 688 tmp = "View details"; in eventInfoToString() 690 tmp = "Refresh events"; in eventInfoToString() 692 tmp = "Gone home"; in eventInfoToString() 694 tmp = "Update title"; in eventInfoToString() 696 builder.append(tmp); in eventInfoToString()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Mosaic.cpp | 244 double tmp[3][3]; in balanceRotations() local 247 memcpy(tmp, frames[i]->trs, sizeof(tmp)); in balanceRotations() 248 mult33d(frames[i]->trs, m, tmp); in balanceRotations()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimListDialogFragment.java | 109 final List<SubscriptionInfo> tmp = new ArrayList<>(currentSubscriptions.size() + 1); in updateDialog() local 110 tmp.add(null); in updateDialog() 111 tmp.addAll(currentSubscriptions); in updateDialog() 112 currentSubscriptions = tmp; in updateDialog()
|
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/ |
D | bt_binder_facade.cpp | 221 rapidjson::Value tmp; in bt_binder_get_local_name_wrapper() local 222 tmp.SetString(name.c_str(), doc.GetAllocator()); in bt_binder_get_local_name_wrapper() 223 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bt_binder_get_local_name_wrapper() 285 rapidjson::Value tmp; in bt_binder_get_local_address_wrapper() local 286 tmp.SetString(address.c_str(), doc.GetAllocator()); in bt_binder_get_local_address_wrapper() 287 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); in bt_binder_get_local_address_wrapper()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | stream_wrapper.cpp | 52 jbyteArray tmp = env->NewByteArray(getBufferSize()); in init() local 53 if (tmp == NULL || env->ExceptionCheck()){ in init() 57 mByteArray = reinterpret_cast<jbyteArray>(env->NewGlobalRef(tmp)); in init()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_nodes_cache.h | 150 DicNodePriorityQueue *tmp = *dest; in moveNodesAndReturnReusableEmptyQueue() local 153 tmp->clearAndResize(srcMaxSize); in moveNodesAndReturnReusableEmptyQueue() 154 return tmp; in moveNodesAndReturnReusableEmptyQueue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/storage/ |
D | SharedDataPreferenceControllerTest.java | 115 final List<BlobInfo> tmp = new ArrayList<>(); in generateBlobList() local 116 tmp.add(new BlobInfo(10, System.currentTimeMillis(), "testing blob 1", 54 * 1024 * 1024, in generateBlobList() 118 return tmp; in generateBlobList()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | InputStreamProvider.java | 210 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in readCroppedBitmap() local 212 if (tmp != null) { in readCroppedBitmap() 213 Canvas c = new Canvas(tmp); in readCroppedBitmap() 217 crop = tmp; in readCroppedBitmap()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | swap.h | 29 T tmp = a; in Swap() local 31 b = tmp; in Swap()
|
D | dtoa.h | 85 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2; in DigitGen() local 86 if (tmp <= delta) { in DigitGen() 88 … GrisuRound(buffer, *len, delta, tmp, static_cast<uint64_t>(kPow10[kappa]) << -one.e, wp_w.f); in DigitGen()
|
D | diyfp.h | 90 uint64_t tmp = (bd >> 32) + (ad & M32) + (bc & M32); 91 tmp += 1U << 31; /// mult_round 92 return DiyFp(ac + (ad >> 32) + (bc >> 32) + (tmp >> 32), e + rhs.e + 64);
|
/packages/apps/Browser2/ |
D | run_startup_time_test.sh | 14 adb push $TMPFILE /data/local/tmp/file.html 37 adb shell rm /data/local/tmp/file.html
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | ChooseLockPinPasswordFragment.java | 357 CharSequence tmp = mPasswordField.getText(); in handlePrimaryButtonClick() local 358 if (tmp != null) { in handlePrimaryButtonClick() 359 Selection.setSelection((Spannable) tmp, 0, tmp.length()); in handlePrimaryButtonClick()
|
/packages/providers/MediaProvider/tools/genfiles/ |
D | genfiles.sh | 47 MKDIRS=/tmp/mkdirs$$ 48 CPFILES=/tmp/cpfiles$$
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPdu.java | 268 int tmp = mData[offset + 2] in cdmaChangeToDeliverPdu() local 271 tmp &= 0x0f; in cdmaChangeToDeliverPdu() 273 tmp |= ((MESSAGE_TYPE_DELIVER << 4) & 0xf0); in cdmaChangeToDeliverPdu() 275 mData[offset + 2] = (byte) tmp; in cdmaChangeToDeliverPdu()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageViewTouchBase.java | 387 Matrix tmp = new Matrix(mSuppMatrix); in zoomOut() local 388 tmp.postScale(1F / rate, 1F / rate, cx, cy); in zoomOut() 390 if (getScale(tmp) < 1F) { in zoomOut()
|