Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 546) sorted by relevance

12345678910>>...22

/frameworks/base/sax/java/android/sax/
DChildren.java34 Child current = children[index]; in getOrCreate() local
35 if (current == null) { in getOrCreate()
37 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate()
38 children[index] = current; in getOrCreate()
39 return current; in getOrCreate()
44 if (current.hash == hash in getOrCreate()
45 && current.uri.compareTo(uri) == 0 in getOrCreate()
46 && current.localName.compareTo(localName) == 0) { in getOrCreate()
48 return current; in getOrCreate()
51 previous = current; in getOrCreate()
[all …]
DRootElement.java101 Element current = null; field in RootElement.Handler
123 + " within text element named " + current + ".", in startElement()
128 if (depth == current.depth + 1) { in startElement()
130 Children children = current.children; in startElement()
155 this.current = e; in start()
180 Element current = this.current; in endElement() local
183 if (depth == current.depth) { in endElement()
184 current.checkRequiredChildren(locator); in endElement()
187 if (current.endElementListener != null) { in endElement()
188 current.endElementListener.end(); in endElement()
[all …]
/frameworks/compile/mclinker/lib/MC/
DSymbolCategory.cpp59 Category* current = m_pFile; in ~SymbolCategory() local
60 while (current != NULL) { in ~SymbolCategory()
61 Category* tmp = current; in ~SymbolCategory()
62 current = current->next; in ~SymbolCategory()
68 Category* current = m_pRegular; in add() local
72 while (current != NULL) { in add()
73 if (current->type == pTarget) { in add()
74 current->end++; in add()
77 if (!current->empty()) { in add()
78 std::swap(m_OutputSymbols[current->begin], in add()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DTransformUtils.java41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { in makeMipMappedFrame() argument
45 if (current == null) { in makeMipMappedFrame()
48 current = Frame.create(imageType, pow2Dims).asFrameImage2D(); in makeMipMappedFrame()
49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeMipMappedFrame()
50 current.resize(pow2Dims); in makeMipMappedFrame()
52 return current; in makeMipMappedFrame()
55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { in makeTempFrame() argument
56 if (current == null) { in makeTempFrame()
59 current = Frame.create(imageType, dimensions).asFrameImage2D(); in makeTempFrame()
60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeTempFrame()
[all …]
DFilter.java41 public int current = STATE_UNPREPARED; field in Filter.State
44 return current == state; in check()
443 if (mState.current == State.STATE_OPEN) { in performPreparation()
592 if (mState.current == State.STATE_UNPREPARED) { in execute()
594 mState.current = State.STATE_PREPARED; in execute()
596 if (mState.current == State.STATE_PREPARED) { in execute()
599 mState.current = State.STATE_OPEN; in execute()
601 if (mState.current == State.STATE_OPEN) { in execute()
614 if (mState.current == State.STATE_OPEN) { in performClose()
617 mState.current = State.STATE_CLOSED; in performClose()
[all …]
/frameworks/base/libs/hwui/utils/
DStringUtils.cpp24 const char* current = spacedList; in split() local
25 const char* head = current; in split()
27 head = strchr(current, ' '); in split()
28 std::string s(current, head ? head - current : strlen(current)); in split()
32 current = head + 1; in split()
/frameworks/av/services/audioflinger/
DFastCapture.cpp90 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange() local
93 const size_t frameCount = current->mFrameCount; in onStateChange()
99 if (current->mInputSourceGen != mInputSourceGen) { in onStateChange()
100 mInputSource = current->mInputSource; in onStateChange()
101 mInputSourceGen = current->mInputSourceGen; in onStateChange()
118 if (current->mPipeSinkGen != mPipeSinkGen) { in onStateChange()
119 mPipeSink = current->mPipeSink; in onStateChange()
120 mPipeSinkGen = current->mPipeSinkGen; in onStateChange()
157 dumpState->mSilenced = current->mSilenceCapture; in onStateChange()
162 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork() local
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java326 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress()
327 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress()
328 Slog.w(TAG, "Unmatched address[expected:" + current.mLogicalAddress + ", actual:" + in handleReportPhysicalAddress()
334 current.mPhysicalAddress = HdmiUtils.twoBytesToInt(params); in handleReportPhysicalAddress()
335 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress()
336 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress()
338 current.mDisplayName = ""; in handleReportPhysicalAddress()
342 localDevice().mService.getHdmiCecNetwork().updateCecSwitchInfo(current.mLogicalAddress, in handleReportPhysicalAddress()
343 current.mDeviceType, in handleReportPhysicalAddress()
344 current.mPhysicalAddress); in handleReportPhysicalAddress()
[all …]
DActiveSourceHandler.java83 ActiveSource current = tv.getActiveSource(); in process() local
84 if (current.logicalAddress == getSourceAddress()) { in process()
86 current.logicalAddress, current.physicalAddress); in process()
88 tv.updateActiveSource(current, "ActiveSourceHandler"); in process()
91 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, true, in process()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java211 int current = 0; in unescapeArgs() local
216 if (rawEvent.charAt(current) == '\"') { in unescapeArgs()
218 current++; in unescapeArgs()
220 while (current < length) { in unescapeArgs()
223 wordEnd = current; in unescapeArgs()
232 String word = rawEvent.substring(current, wordEnd); in unescapeArgs()
233 current += word.length(); in unescapeArgs()
237 current++; // skip the trailing quote in unescapeArgs()
247 int nextSpace = rawEvent.indexOf(' ', current); in unescapeArgs()
248 int nextQuote = rawEvent.indexOf(" \"", current); in unescapeArgs()
[all …]
/frameworks/av/media/codec2/docs/
Ddoxyfilter.sh4 global in_comment, current, indent, hold
5 in_comment, current, indent, hold = False, None, '', []
15 global current, hold
16 if current == '//':
29 global current, indent, hold
30 if t != current or ind not in (indent, indent + ' '):
32 current, indent = t, ind
36 global current, indent
41 current, indent = None, None
/frameworks/native/libs/ui/tests/
DRegion_test.cpp34 for (const Rect* current = r.begin(); current < r.end(); current++) { in verifyNoTJunctions() local
35 for (const Rect* other = current - 1; other >= r.begin(); other--) { in verifyNoTJunctions()
36 if (other->bottom < current->top) break; in verifyNoTJunctions()
37 if (other->bottom != current->top) continue; in verifyNoTJunctions()
38 checkVertTJunction(current, other); in verifyNoTJunctions()
40 for (const Rect* other = current + 1; other < r.end(); other++) { in verifyNoTJunctions()
41 if (other->top > current->bottom) break; in verifyNoTJunctions()
42 if (other->top != current->bottom) continue; in verifyNoTJunctions()
43 checkVertTJunction(current, other); in verifyNoTJunctions()
/frameworks/base/libs/hwui/
DVertexBuffer.h116 TYPE* current = (TYPE*)mBuffer; variable
117 TYPE* end = current + vertexCount;
118 mBounds.set(current->x, current->y, current->x, current->y);
119 for (; current < end; current++) {
120 mBounds.expandToCover(current->x, current->y);
DAnimationContext.cpp36 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in destroy() local
37 AnimatorManager& animators = current->mRenderNode->animators(); in destroy()
39 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in destroy()
69 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in runRemainingAnimations() local
70 AnimatorManager& animators = current->mRenderNode->animators(); in runRemainingAnimations()
73 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in runRemainingAnimations()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp377 r = sliceInt(&info->current.z, r, mtls->start.z, mtls->end.z); in SelectOuterSlice()
378 r = sliceInt(&info->current.lod, r, mtls->start.lod, mtls->end.lod); in SelectOuterSlice()
379 r = sliceInt(&info->current.face, r, mtls->start.face, mtls->end.face); in SelectOuterSlice()
380 r = sliceInt(&info->current.array[0], r, mtls->start.array[0], mtls->end.array[0]); in SelectOuterSlice()
381 r = sliceInt(&info->current.array[1], r, mtls->start.array[1], mtls->end.array[1]); in SelectOuterSlice()
382 r = sliceInt(&info->current.array[2], r, mtls->start.array[2], mtls->end.array[2]); in SelectOuterSlice()
383 r = sliceInt(&info->current.array[3], r, mtls->start.array[3], mtls->end.array[3]); in SelectOuterSlice()
388 return sliceInt(&info->current.z, sliceNum, mtls->start.z, mtls->end.z) == 0; in SelectZSlice()
404 for (fep.current.y = mtls->start.y; fep.current.y < mtls->end.y; in walk_general_foreach()
405 fep.current.y++) { in walk_general_foreach()
[all …]
/frameworks/base/libs/androidfw/
DResourceUtils.cpp32 const char* current = start; in ExtractResourceName() local
33 while (current != end) { in ExtractResourceName()
34 if (out_type->size() == 0 && *current == '/') { in ExtractResourceName()
36 out_type->assign(start, current - start); in ExtractResourceName()
37 start = current + 1; in ExtractResourceName()
38 } else if (out_package->size() == 0 && *current == ':') { in ExtractResourceName()
40 out_package->assign(start, current - start); in ExtractResourceName()
41 start = current + 1; in ExtractResourceName()
43 current++; in ExtractResourceName()
/frameworks/rs/
DrsList.h33 current = const_cast<T*>(first); in List()
55 last = current; in push_back()
56 *current++ = value; in push_back()
58 if ((void*)current >= (void*)&currentBuffer->next) { in push_back()
62 current = &currentBuffer->data.typed; in push_back()
107 iterator end() const { return iterator(this, currentBuffer, current); } in end()
109 bool empty() const { return current == first; } in empty()
118 T* current;
/frameworks/av/tools/
Dmainline_hook_project.sh29 current=`git branch -vv | grep -P "^\*[^\[]+\[goog/"|sed -e 's/^.*\[//' | sed -e 's/\].*$//'|sed -e…
30 if [ "${current}" = "" ] ; then
31 current=unknown
36 if [ "${current}" != "${MAINLINE_BRANCH}" ] ; then
39 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
Dmainline_hook_partial.sh56 current=`git branch -vv | grep -P "^\*[^\[]+\[goog/"|sed -e 's/^.*\[//' | sed -e 's/\].*$//'|sed -e…
57 if [ "${current}" = "" ] ; then
58 current=unknown
156 if [ "${current}" != "${MAINLINE_BRANCH}" ] ; then
160 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
195 If you are sure you want to proceed uploading to branch ${RED}${current}${NORMAL},
/frameworks/base/api/
DAndroid.bp68 name: "current-api-xml",
70 srcs: [":frameworks-base-api-current.txt"],
71 out: ["current.api"],
77 name: "frameworks-base-api-current.txt",
95 ":non-updatable-current.txt",
97 out: ["current.txt"],
104 dest: "current.txt",
119 name: "frameworks-base-api-current-compat",
123 ":frameworks-base-api-current.txt",
130 "$(location :frameworks-base-api-current.txt) " +
[all …]
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp40 const char *next = value, *current; in GetLevelFromSettingsString() local
42 current = next; in GetLevelFromSettingsString()
43 next = strchr(current, ','); in GetLevelFromSettingsString()
48 while (isspace(*current)) { in GetLevelFromSettingsString()
49 ++current; in GetLevelFromSettingsString()
52 const char *colon = strchr(current, ':'); in GetLevelFromSettingsString()
57 long level = strtol(current, &end, 10); in GetLevelFromSettingsString()
61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) { in GetLevelFromSettingsString()
/frameworks/base/tools/bit/
Daapt.cpp177 Element* current = NULL; in inspect_apk() local
207 current = element; in inspect_apk()
210 while (element->depth <= current->depth && current->parent != NULL) { in inspect_apk()
211 current = current->parent; in inspect_apk()
213 element->parent = current; in inspect_apk()
214 current->children.push_back(element); in inspect_apk()
215 current = element; in inspect_apk()
218 if (current != NULL) { in inspect_apk()
229 current->attributes.push_back(attr); in inspect_apk()
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaSampleReaderNDK.cpp74 cursor.previous = cursor.current; in advanceTrack_l()
75 cursor.current = cursor.next; in advanceTrack_l()
81 if (cursor.current.isSet && cursor.current.index == mExtractorSampleIndex) { in advanceTrack_l()
96 if (mTrackCursors[mExtractorTrackIndex].current.isSet && in advanceExtractor_l()
97 mTrackCursors[mExtractorTrackIndex].current.index == mExtractorSampleIndex) { in advanceExtractor_l()
117 if (!cursor.current.isSet) { in advanceExtractor_l()
118 cursor.current.set(mExtractorSampleIndex, AMediaExtractor_getSampleTime(mExtractor)); in advanceExtractor_l()
119 } else if (!cursor.next.isSet && mExtractorSampleIndex > cursor.current.index) { in advanceExtractor_l()
177 return moveToSample_l(mTrackCursors[trackIndex].current, trackIndex); in moveToTrack_l()
204 mTrackCursors[mExtractorTrackIndex].current.set(mExtractorSampleIndex, in primeExtractorForTrack_l()
[all …]
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp39 EXPECT_EQ(0, breaker.current()); in TEST()
44 EXPECT_EQ(6, breaker.current()); in TEST()
49 EXPECT_EQ(11, breaker.current()); in TEST()
56 EXPECT_EQ(0, breaker.current()); in TEST()
73 EXPECT_EQ(0, breaker.current()); in TEST()
84 EXPECT_EQ(0, breaker.current()); in TEST()
99 EXPECT_EQ(0, breaker.current()); in TEST()
120 EXPECT_EQ(0, breaker.current()); in TEST()
144 EXPECT_EQ(0, breaker.current()); in TEST()
168 EXPECT_EQ(0, breaker.current()); in TEST()
[all …]
/frameworks/base/core/api/
DAndroid.bp28 name: "non-updatable-current.txt",
29 srcs: ["current.txt"],
40 name: "non-updatable-system-current.txt",
41 srcs: ["system-current.txt"],
52 name: "non-updatable-module-lib-current.txt",
53 srcs: ["module-lib-current.txt"],

12345678910>>...22