Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 537) 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/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java325 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress()
326 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress()
327 Slog.w(TAG, "Unmatched address[expected:" + current.mLogicalAddress + ", actual:" + in handleReportPhysicalAddress()
333 current.mPhysicalAddress = HdmiUtils.twoBytesToInt(params); in handleReportPhysicalAddress()
334 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress()
335 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress()
336 current.mDisplayName = HdmiUtils.getDefaultDeviceName(current.mDeviceType); in handleReportPhysicalAddress()
340 tv().updateCecSwitchInfo(current.mLogicalAddress, current.mDeviceType, in handleReportPhysicalAddress()
341 current.mPhysicalAddress); in handleReportPhysicalAddress()
355 DeviceInfo current = mDevices.get(mProcessedDeviceCount);
[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); in process()
91 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, true, in process()
/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/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/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/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()
162 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork() local
165 size_t frameCount = current->mFrameCount; in onWork()
[all …]
DFastMixer.cpp139 const FastMixerState * const current = (const FastMixerState *) mCurrent; in updateMixerTrack() local
140 const FastTrack * const fastTrack = &current->mFastTracks[index]; in updateMixerTrack()
209 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onStateChange() local
212 const size_t frameCount = current->mFrameCount; in onStateChange()
224 if (current->mOutputSinkGen != mOutputSinkGen) { in onStateChange()
225 mOutputSink = current->mOutputSink; in onStateChange()
226 mOutputSinkGen = current->mOutputSinkGen; in onStateChange()
227 mSinkChannelMask = current->mSinkChannelMask; in onStateChange()
295 mFastTracksGen = current->mFastTracksGen - 1; in onStateChange()
306 const unsigned currentTrackMask = current->mTrackMask; in onStateChange()
[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/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/base/services/core/jni/
Dcom_android_server_am_AppCompactor.cpp47 struct dirent* current; in com_android_server_am_AppCompactor_compactSystem() local
48 while ((current = readdir(proc.get()))) { in com_android_server_am_AppCompactor_compactSystem()
49 if (current->d_type != DT_DIR) { in com_android_server_am_AppCompactor_compactSystem()
55 if (atoi(current->d_name) == getpid()) { in com_android_server_am_AppCompactor_compactSystem()
59 std::string status_name = StringPrintf("/proc/%s/status", current->d_name); in com_android_server_am_AppCompactor_compactSystem()
72 std::string reclaim_path = StringPrintf("/proc/%s/reclaim", current->d_name); in com_android_server_am_AppCompactor_compactSystem()
/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/native/opengl/libagl/
Dvertex.cpp36 c->current.color.r = 0x10000; in ogles_init_vertex()
37 c->current.color.g = 0x10000; in ogles_init_vertex()
38 c->current.color.b = 0x10000; in ogles_init_vertex()
39 c->current.color.a = 0x10000; in ogles_init_vertex()
190 c->current.color.r = gglFloatToFixed(r); in glColor4f()
191 c->currentColorClamped.r = gglClampx(c->current.color.r); in glColor4f()
192 c->current.color.g = gglFloatToFixed(g); in glColor4f()
193 c->currentColorClamped.g = gglClampx(c->current.color.g); in glColor4f()
194 c->current.color.b = gglFloatToFixed(b); in glColor4f()
195 c->currentColorClamped.b = gglClampx(c->current.color.b); in glColor4f()
[all …]
/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/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/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/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/av/media/libmedia/include/media/
DLinearMap.h312 size_t current = previousPosition(i); in findU() local
316 diff = v - vArray[current]; in findU()
324 return uArray[current] + diff * extrapolation; in findU()
331 int32_t uStep = uArray[previous] - uArray[current]; // non-negative in findU()
332 int32_t vStep = vArray[previous] - vArray[current]; // positive in findU()
334 uArray[current] in findU()
335 : ((int64_t)diff * uStep + (vStep >> 1)) / vStep + uArray[current]; in findU()
344 previous = current; in findU()
/frameworks/base/
DStubLibraries.bp22 // and comparing them against the last API signature in api/*-current.txt files
109 current: {
110 api_file: "api/current.txt",
138 current: {
139 api_file: "non-updatable-api/current.txt",
167 current: {
168 api_file: "api/system-current.txt",
196 current: {
197 api_file: "non-updatable-api/system-current.txt",
211 current: {
[all …]

12345678910>>...22