/frameworks/base/sax/java/android/sax/ |
D | Children.java | 34 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 …]
|
D | RootElement.java | 101 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/ |
D | SymbolCategory.cpp | 60 Category* current = m_pFile; in ~SymbolCategory() local 61 while (NULL != current) { in ~SymbolCategory() 62 Category* tmp = current; in ~SymbolCategory() 63 current = current->next; in ~SymbolCategory() 70 Category* current = m_pRegular; in add() local 74 while (NULL != current) { in add() 75 if (current->type == pTarget) { in add() 76 current->end++; in add() 80 if (!current->empty()) { in add() 81 std::swap(m_OutputSymbols[current->begin], in add() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | TransformUtils.java | 41 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 …]
|
D | Filter.java | 41 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/av/services/audioflinger/ |
D | FastCapture.cpp | 41 current = &initial; in FastCapture() 66 preIdle = *(const FastCaptureState *)current; in onIdle() 67 current = &preIdle; in onIdle() 89 const FastCaptureState * const current = (const FastCaptureState *) this->current; in onStateChange() local 92 const size_t frameCount = current->mFrameCount; in onStateChange() 98 if (current->mInputSourceGen != inputSourceGen) { in onStateChange() 99 inputSource = current->mInputSource; in onStateChange() 100 inputSourceGen = current->mInputSourceGen; in onStateChange() 115 if (current->mPipeSinkGen != pipeSinkGen) { in onStateChange() 116 pipeSink = current->mPipeSink; in onStateChange() [all …]
|
D | FastThread.cpp | 38 previous(NULL), current(NULL), in FastThread() 105 next = current; in threadLoop() 109 if (next != current) { in threadLoop() 125 if (!(current->mCommand & FastThreadState::IDLE)) { in threadLoop() 134 previous = current; in threadLoop() 136 current = next; in threadLoop() 154 if (current->mColdGen != coldGen) { in threadLoop() 155 int32_t *coldFutexAddr = current->mColdFutexAddr; in threadLoop() 172 coldGen = current->mColdGen; in threadLoop() 192 if (current != previous) { in threadLoop() [all …]
|
D | FastMixer.cpp | 72 current = &initial; in FastMixer() 113 preIdle = *(const FastMixerState *)current; in onIdle() 114 current = &preIdle; in onIdle() 138 const FastMixerState * const current = (const FastMixerState *) this->current; in onStateChange() local 141 const size_t frameCount = current->mFrameCount; in onStateChange() 149 if (current->mOutputSinkGen != outputSinkGen) { in onStateChange() 150 outputSink = current->mOutputSink; in onStateChange() 151 outputSinkGen = current->mOutputSinkGen; in onStateChange() 213 fastTracksGen = current->mFastTracksGen - 1; in onStateChange() 220 const unsigned currentTrackMask = current->mTrackMask; in onStateChange() [all …]
|
/frameworks/base/libs/hwui/ |
D | PathTessellator.cpp | 213 const Vertex* current = &(perimeter[0]); in getStrokeVerticesFromPerimeter() local 214 Vector2 lastNormal = {current->y - last->y, last->x - current->x}; in getStrokeVerticesFromPerimeter() 218 Vector2 nextNormal = {next->y - current->y, current->x - next->x}; in getStrokeVerticesFromPerimeter() 225 current->x + totalOffset.x, in getStrokeVerticesFromPerimeter() 226 current->y + totalOffset.y); in getStrokeVerticesFromPerimeter() 229 current->x - totalOffset.x, in getStrokeVerticesFromPerimeter() 230 current->y - totalOffset.y); in getStrokeVerticesFromPerimeter() 232 last = current; in getStrokeVerticesFromPerimeter() 233 current = next; in getStrokeVerticesFromPerimeter() 310 const Vertex* current = &(vertices[1]); in getStrokeVerticesFromUnclosedVertices() local [all …]
|
D | VertexBuffer.h | 118 TYPE* current = (TYPE*)mBuffer; variable 119 TYPE* end = current + vertexCount; 120 mBounds.set(current->x, current->y, current->x, current->y); 121 for (; current < end; current++) { 122 mBounds.expandToCoverVertex(current->x, current->y);
|
D | Extensions.cpp | 114 const char* current = extensions; in findExtensions() local 115 const char* head = current; in findExtensions() 118 head = strchr(current, ' '); in findExtensions() 119 String8 s(current, head ? head - current : strlen(current)); in findExtensions() 124 current = head + 1; in findExtensions()
|
D | AnimationContext.cpp | 38 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in destroy() local 39 AnimatorManager& animators = current->mRenderNode->animators(); in destroy() 41 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in destroy() 71 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in runRemainingAnimations() local 72 AnimatorManager& animators = current->mRenderNode->animators(); in runRemainingAnimations() 75 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in runRemainingAnimations()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonEvent.java | 204 int current = 0; in unescapeArgs() local 209 if (rawEvent.charAt(current) == '\"') { in unescapeArgs() 211 current++; in unescapeArgs() 213 while (current < length) { in unescapeArgs() 216 wordEnd = current; in unescapeArgs() 225 String word = rawEvent.substring(current, wordEnd); in unescapeArgs() 226 current += word.length(); in unescapeArgs() 230 current++; // skip the trailing quote in unescapeArgs() 240 int nextSpace = rawEvent.indexOf(' ', current); in unescapeArgs() 241 int nextQuote = rawEvent.indexOf(" \"", current); in unescapeArgs() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DeviceDiscoveryAction.java | 249 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress() 250 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress() 251 Slog.w(TAG, "Unmatched address[expected:" + current.mLogicalAddress + ", actual:" + in handleReportPhysicalAddress() 257 current.mPhysicalAddress = HdmiUtils.twoBytesToInt(params); in handleReportPhysicalAddress() 258 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress() 259 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress() 261 tv().updateCecSwitchInfo(current.mLogicalAddress, current.mDeviceType, in handleReportPhysicalAddress() 262 current.mPhysicalAddress); in handleReportPhysicalAddress() 275 DeviceInfo current = mDevices.get(mProcessedDeviceCount); 276 if (current.mLogicalAddress != cmd.getSource()) { [all …]
|
D | ActiveSourceHandler.java | 79 ActiveSource current = tv.getActiveSource(); in process() local 80 if (current.logicalAddress == getSourceAddress()) { in process() 82 current.logicalAddress, current.physicalAddress); in process() 84 tv.updateActiveSource(current); in process() 87 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, true, in process()
|
/frameworks/native/libs/ui/tests/ |
D | Region_test.cpp | 34 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/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 37 const char *next = value, *current; in GetDebugLevelFromString() local 40 current = next; in GetDebugLevelFromString() 41 next = strchr(current, ','); in GetDebugLevelFromString() 46 while (isspace(*current)) { in GetDebugLevelFromString() 47 ++current; in GetDebugLevelFromString() 50 char *colon = strchr(current, ':'); in GetDebugLevelFromString() 55 unsigned long level = strtoul(current, &end, 10); in GetDebugLevelFromString() 59 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) { in GetDebugLevelFromString()
|
/frameworks/native/opengl/libagl/ |
D | vertex.cpp | 36 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/base/core/java/android/net/http/ |
D | AndroidHttpClientConnection.java | 302 CharArrayBuffer current = new CharArrayBuffer(64); in parseResponseHeader() local 304 if (inbuffer.readLine(current) == -1) { in parseResponseHeader() 310 current, new ParserCursor(0, current.length())); in parseResponseHeader() 319 if (current == null) { in parseResponseHeader() 320 current = new CharArrayBuffer(64); in parseResponseHeader() 323 current.clear(); in parseResponseHeader() 325 int l = inbuffer.readLine(current); in parseResponseHeader() 326 if (l == -1 || current.length() < 1) { in parseResponseHeader() 333 char first = current.charAt(0); in parseResponseHeader() 338 int length = current.length(); in parseResponseHeader() [all …]
|
D | CharArrayBuffers.java | 71 char current = chars[i]; in setLowercaseIndexOf() local 72 if (current == ch) { in setLowercaseIndexOf() 74 } else if (current >= 'A' && current <= 'Z'){ in setLowercaseIndexOf() 76 current += uppercaseAddon; in setLowercaseIndexOf() 77 chars[i] = current; in setLowercaseIndexOf()
|
/frameworks/native/libs/gui/ |
D | BufferQueueCore.cpp | 86 Fifo::const_iterator current(mQueue.begin()); in dump() local 87 while (current != mQueue.end()) { in dump() 90 current->mSlot, current->mGraphicBuffer.get(), in dump() 91 current->mCrop.left, current->mCrop.top, current->mCrop.right, in dump() 92 current->mCrop.bottom, current->mTransform, current->mTimestamp, in dump() 93 BufferItem::scalingModeName(current->mScalingMode)); in dump() 94 ++current; in dump()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | render.rs | 130 SgRenderable *current = (SgRenderable*)gFrontToBack[i]; 131 draw(current); 135 SgRenderable *current = (SgRenderable*)gBackToFront[i]; 136 draw(current); 161 SgRenderable *current = (SgRenderable*)rsGetElementAt(*drawAlloc, 0); 162 if (current->isVisible) { 163 sortToBucket(current); 230 SgRenderable *current = (SgRenderable*)gFrontToBack[i]; 231 bool isPicked = intersect(current, pnt, vec); 233 current->cullType = CULL_ALWAYS; [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 254 MotionEventHolder current = mEventQueue; in processBatchedEvents() local 255 while (current.next != null) { in processBatchedEvents() 256 current = current.next; in processBatchedEvents() 259 if (current == null) { in processBatchedEvents() 263 if (current.event.getEventTimeNano() >= frameNanos) { in processBatchedEvents() 265 current.next = null; in processBatchedEvents() 268 handleMotionEvent(current.event, current.policyFlags); in processBatchedEvents() 269 MotionEventHolder prior = current; in processBatchedEvents() 270 current = current.previous; in processBatchedEvents()
|
/frameworks/opt/photoviewer/ |
D | Android.mk | 22 appcompat_res_dirs := appcompat/res res ../../../prebuilts/sdk/current/support/v7/appcompat/res 30 LOCAL_SDK_VERSION := current 51 LOCAL_SDK_VERSION := current 72 LOCAL_SDK_VERSION := current 88 LOCAL_SDK_VERSION := current
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 75 RECT current; in operator() local 78 int inside = spanner.next(current.top, current.bottom); in operator() 82 int inside = spannerInner.next(current.left, current.right); in operator() 84 if (current.left < current.right && in operator() 85 current.top < current.bottom) { in operator() 86 rasterizer(current); in operator()
|