/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument 45 s_top=source+last; in db_LeanPartitionOnPivot() 47 d_top=dest+last; in db_LeanPartitionOnPivot() 62 long last=nr_elements-1; in db_LeanQuickSelect() local 76 for(;last-first>2;) in db_LeanQuickSelect() 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect() 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect() 81 if(first_equal>pos) last=first_equal-1; in db_LeanQuickSelect() 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderUtils.java | 335 PtNodeInfo last = null; in getWordAtPositionWithoutParentAddress() local 346 if (null == last) continue; in getWordAtPositionWithoutParentAddress() 347 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtPositionWithoutParentAddress() 348 dictDecoder.setPosition(last.mChildrenAddress); in getWordAtPositionWithoutParentAddress() 350 groupPos = last.mChildrenAddress + BinaryDictIOUtils.getPtNodeCountSize(i); in getWordAtPositionWithoutParentAddress() 351 last = null; in getWordAtPositionWithoutParentAddress() 354 last = info; in getWordAtPositionWithoutParentAddress() 356 if (0 == i && BinaryDictIOUtils.hasChildrenAddress(last.mChildrenAddress)) { in getWordAtPositionWithoutParentAddress() 357 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtPositionWithoutParentAddress() 358 dictDecoder.setPosition(last.mChildrenAddress); in getWordAtPositionWithoutParentAddress() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 1196 MosaicFrame *last = frames[frames_size-1]; in SelectRelevantFrames() local 1201 double midX = last->width / 2.0; in SelectRelevantFrames() 1202 double midY = last->height / 2.0; in SelectRelevantFrames() 1234 relevant_frames[relevant_frames_size] = last; in SelectRelevantFrames() 1249 MosaicFrame *last = frames[frames_size-1]; in ComputeBlendParameters() local 1252 double lxpos = last->trs[0][2], lypos = last->trs[1][2]; in ComputeBlendParameters() 1257 double midX = last->width / 2.0; in ComputeBlendParameters() 1258 double midY = last->height / 2.0; in ComputeBlendParameters() 1298 if (is360) m_wb.theta = asin(last->trs[1][0]); in ComputeBlendParameters() 1335 z = ProjZ(last->trs, 0.0, midY, 1.0); in ComputeBlendParameters() [all …]
|
D | Delaunay.cpp | 590 int CDelaunay::constructList(EdgePointer last, int width, int height) argument 596 c = (int) ((curr = (EdgePointer) ((last & ~3))) >> 1); 598 for (last -= 4; last >= 0; last -= 4) { 599 src = orig(last); 600 nex = dest(last);
|
/packages/services/Car/car-lib/ |
D | Android.bp | 118 name: "android-car-last-released-api", 122 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt", 124 "last-released-api.txt", 129 name: "android-car-last-released-system-api", 133 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-system-a… 135 "last-released-system-api.txt", 147 api_file: ":android-car-last-released-api", 176 api_file: ":android-car-last-released-system-api",
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | EchoingTextWatcher.java | 75 final String last = s.subSequence(len - 1, len).toString(); in onTextChanged() local 76 final char lastChar = last.charAt(0); in onTextChanged() 78 final String lowerCase = last.toLowerCase(Locale.getDefault()); in onTextChanged() 81 final String upperCase = last.toUpperCase(Locale.getDefault()); in onTextChanged()
|
/packages/modules/DnsResolver/ |
D | res_stats.cpp | 55 time_t last = 0; in android_net_res_stats_aggregate() local 100 last = stats->samples[stats->sample_next - 1].at; in android_net_res_stats_aggregate() 102 last = stats->samples[stats->sample_count - 1].at; in android_net_res_stats_aggregate() 105 *last_sample_time = last; in android_net_res_stats_aggregate()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | document.h | 1192 MemberIterator last(data_.o.members + (data_.o.size - 1)); 1193 if (data_.o.size > 1 && m != last) { 1195 *m = *last; 1227 MemberIterator EraseMember(ConstMemberIterator first, ConstMemberIterator last) { 1232 RAPIDJSON_ASSERT(first <= last); 1233 RAPIDJSON_ASSERT(last <= MemberEnd()); 1236 for (MemberIterator itr = pos; itr != last; ++itr) 1238 std::memmove(&*pos, &*last, (MemberEnd() - last) * sizeof(Member)); 1239 data_.o.size -= (last - first); 1428 ValueIterator Erase(ConstValueIterator first, ConstValueIterator last) { [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | StopWatch.java | 65 long last = start; in stopAndLog() local 70 sb.append((current - last)); in stopAndLog() 72 last = current; in stopAndLog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | NinePatchTexture.java | 303 int last = 0; in stretch() local 305 if ((x[i] - x[last]) < 1f) continue; in stretch() 306 x[++last] = x[i]; in stretch() 307 u[last] = u[i]; in stretch() 309 return last + 1; in stretch()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 333 int last = mScope.layout.findLastVisibleItemPosition(); in findPagedTargetPosition() local 335 int pageSize = last - first + 1; in findPagedTargetPosition() 349 if (current < last) { in findPagedTargetPosition() 351 return last; in findPagedTargetPosition() 612 long last = mLastEvent.getEventTime(); in run() local 614 if ((now - last) > SEARCH_TIMEOUT) { in run()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | StopWatch.java | 74 long last = start; in stopAndLog() local 79 sb.append((current - last)); in stopAndLog() 81 last = current; in stopAndLog()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | itoatest.cpp | 78 T i = 1, last; in Verify() local 86 last = i; in Verify() 88 } while (last < i); in Verify()
|
D | valuetest.cpp | 866 for (unsigned last = first; last <= n; last++) { in TEST() local 871 itr = x.Erase(x.Begin() + first, x.Begin() + last); in TEST() 872 if (last == n) in TEST() 877 size_t removeCount = last - first; in TEST() 1160 for (unsigned last = first; last <= n; last++) { in TEST() local 1165 itr = x.EraseMember(x.MemberBegin() + first, x.MemberBegin() + last); in TEST() 1166 if (last == n) in TEST() 1171 size_t removeCount = last - first; in TEST()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | EventLogArray.java | 64 int last = (nextIndex + logs.length - 1) % logs.length; in addLog() local 66 if (isEntrySame(logs[last], type, event) && isEntrySame(logs[secondLast], type, event)) { in addLog() 67 logs[last].update(type, event, extras, mLogId); in addLog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | HistogramView.java | 113 float last = 0; in drawHistogram() local 125 last = x; in drawHistogram() 128 mHistoPath.lineTo(last, h); in drawHistogram()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | SplineMath.java | 32 int last = curve.length - 1; in calculatetCurve() local 33 curve[last][0] = (float) (points[points.length - 1][0]); in calculatetCurve() 34 curve[last][1] = (float) (points[points.length - 1][1]); in calculatetCurve()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PositionController.java | 1077 int first, last; in moveBox() local 1081 for (last = BOX_MAX; last >= -BOX_MAX; last--) { in moveBox() 1082 if (from.get(last) != Integer.MAX_VALUE) break; in moveBox() 1088 first = last = 0; in moveBox() 1096 for (int i = Math.max(0, first + 1); i < last; i++) { in moveBox() 1112 for (int i = Math.min(-1, last - 1); i > first; i--) { in moveBox() 1139 if (i >= first && i < last) { in moveBox() 1158 for (int i = last + 1; i <= BOX_MAX; i++) { in moveBox()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/ |
D | CaptionWindowLayout.java | 677 int start = 0, last = mBuilder.length() - 1; in updateText() local 678 int end = last; in updateText() 688 if (start == 0 && end == last) { in updateText() 694 if (end < last) { in updateText() 695 trim.delete(end + 1, last + 1); in updateText()
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsState.java | 472 AppOpEntry last = entries.get(entries.size()-1); in addOp() local 473 if (last.getAppEntry() == appEntry) { in addOp() 474 boolean lastExe = last.getTime() != 0; in addOp() 478 + pkgOps.getPackageName() + ": append to " + last); in addOp() 479 last.addOp(opEntry); in addOp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/ |
D | AppOpsState.java | 473 AppOpEntry last = entries.get(entries.size()-1); in addOp() local 474 if (last.getAppEntry() == appEntry) { in addOp() 475 boolean lastExe = last.getTime() != 0; in addOp() 479 + pkgOps.getPackageName() + ": append to " + last); in addOp() 480 last.addOp(opEntry); in addOp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapConvoListingElement.java | 154 public void setLastActivity(long last) { in setLastActivity() argument 156 Log.d(TAG, "setLastActivity: " + last); in setLastActivity() 158 this.mLastActivity = last; in setLastActivity()
|
/packages/apps/Car/libs/specs/ |
D | keylines.csv | 7 # * Don't put a comma after the last value, if there is nothing in the last cell, leave it empty.
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestDocumentsAdapter.java | 55 int last = startPosition + itemCount; in TestDocumentsAdapter() 56 for (int i = startPosition; i < last; i++) { in TestDocumentsAdapter()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
D | dbreg.cpp | 658 int i = 0, last=0; in SetOutlierThreshold() local 661 if ( last > m_cost_histogram[i] ) in SetOutlierThreshold() 663 last = m_cost_histogram[i]; in SetOutlierThreshold() 675 last = m_cost_histogram[i]; in SetOutlierThreshold()
|