Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 91) sorted by relevance

1234

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.cpp36 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/
DBinaryDictDecoderUtils.java335 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/
DBlend.cpp1196 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 …]
DDelaunay.cpp590 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/
DAndroid.bp118 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/
DEchoingTextWatcher.java75 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/
Dres_stats.cpp55 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/
Ddocument.h1192 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/
DStopWatch.java65 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/
DNinePatchTexture.java303 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/
DFocusManager.java333 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/
DStopWatch.java74 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/
Ditoatest.cpp78 T i = 1, last; in Verify() local
86 last = i; in Verify()
88 } while (last < i); in Verify()
Dvaluetest.cpp866 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/
DEventLogArray.java64 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/
DHistogramView.java113 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/
DSplineMath.java32 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/
DPositionController.java1077 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/
DCaptionWindowLayout.java677 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/
DAppOpsState.java472 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/
DAppOpsState.java473 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/
DBluetoothMapConvoListingElement.java154 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/
Dkeylines.csv7 # * 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/
DTestDocumentsAdapter.java55 int last = startPosition + itemCount; in TestDocumentsAdapter()
56 for (int i = startPosition; i < last; i++) { in TestDocumentsAdapter()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbreg.cpp658 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()

1234