/frameworks/base/libs/hwui/utils/ |
H A D | StringUtils.cpp | 24 const char* current = spacedList; local 25 const char* head = current; 27 head = strchr(current, ' '); 28 std::string s(current, head ? head - current : strlen(current)); 32 current = head + 1;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | TransformUtils.java | 41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { argument 45 if (current == null) { 48 current = Frame.create(imageType, pow2Dims).asFrameImage2D(); 49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { 50 current.resize(pow2Dims); 52 return current; 55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { argument 56 if (current == null) { 59 current = Frame.create(imageType, dimensions).asFrameImage2D(); 60 } else if (!Arrays.equals(dimensions, current [all...] |
H A D | FrameManager.java | 263 public static FrameManager current() { method in class:FrameManager 264 GraphRunner runner = GraphRunner.current(); 466 if (!mRunner.isRunning() || GraphRunner.current() != mRunner) {
|
H A D | MffContext.java | 86 public int current = STATE_RUNNING; field in class:MffContext.State 104 /** The current context state. */ 167 if (mState.current == State.STATE_RUNNING) { 172 mState.current = State.STATE_PAUSED; 184 if (mState.current == State.STATE_PAUSED) { 187 mState.current = State.STATE_RUNNING; 198 if (mState.current != State.STATE_DESTROYED) { 209 mState.current = State.STATE_DESTROYED;
|
/frameworks/base/sax/java/android/sax/ |
H A D | RootElement.java | 101 Element current = null; field in class:RootElement.Handler 123 + " within text element named " + current + ".", 127 // If we're one level below the current element. 128 if (depth == current.depth + 1) { 130 Children children = current.children; 155 this.current = e; 180 Element current = this.current; 182 // If we've ended the current element... 183 if (depth == current [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCoreRuntime.h | 55 struct RsLaunchDimensions current; member in struct:RsExpandKernelDriverInfo
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 40 const char *next = value, *current; local 42 current = next; 43 next = strchr(current, ','); 48 while (isspace(*current)) { 49 ++current; 52 char *colon = strchr(current, ':'); 57 long level = strtol(current, &end, 10); 61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) {
|
/frameworks/av/services/audioflinger/ |
H A D | FastCapture.cpp | 89 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; local 92 const size_t frameCount = current->mFrameCount; 98 if (current->mInputSourceGen != mInputSourceGen) { 99 mInputSource = current->mInputSource; 100 mInputSourceGen = current->mInputSourceGen; 117 if (current->mPipeSinkGen != mPipeSinkGen) { 118 mPipeSink = current->mPipeSink; 119 mPipeSinkGen = current->mPipeSinkGen; 161 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; local 164 const size_t frameCount = current [all...] |
H A D | FastMixer.cpp | 138 const FastMixerState * const current = (const FastMixerState *) mCurrent; local 141 const size_t frameCount = current->mFrameCount; 153 if (current->mOutputSinkGen != mOutputSinkGen) { 154 mOutputSink = current->mOutputSink; 155 mOutputSinkGen = current->mOutputSinkGen; 223 mFastTracksGen = current->mFastTracksGen - 1; 230 const unsigned currentTrackMask = current->mTrackMask; 232 if (current->mFastTracksGen != mFastTracksGen) { 241 const FastTrack* fastTrack = ¤t->mFastTracks[i]; 260 const FastTrack* fastTrack = ¤t 333 const FastMixerState * const current = (const FastMixerState *) mCurrent; local [all...] |
H A D | LinearMap.h | 182 // if both current step and previous step are valid (non-negative and 312 size_t current = previousPosition(i); local 316 diff = v - vArray[current]; 324 return uArray[current] + diff * extrapolation; 331 int32_t uStep = uArray[previous] - uArray[current]; // non-negative 332 int32_t vStep = vArray[previous] - vArray[current]; // positive 334 uArray[current] 335 : ((int64_t)diff * uStep + (vStep >> 1)) / vStep + uArray[current]; 337 // u, diff, uStep, vStep, uArray[current]); 344 previous = current; [all...] |
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 40 public int[] following(int current); argument 41 public int[] preceding(int current); argument
|
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.cpp | 38 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; local 39 AnimatorManager& animators = current->mRenderNode->animators(); 41 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, 42 "endAllAnimators failed to remove from current frame list!"); 71 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; local 72 AnimatorManager& animators = current->mRenderNode->animators(); 75 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, 76 "Animate failed to remove from current frame list!");
|
H A D | VertexBuffer.h | 117 TYPE* current = (TYPE*)mBuffer; local 118 TYPE* end = current + vertexCount; 119 mBounds.set(current->x, current->y, current->x, current->y); 120 for (; current < end; current++) { 121 mBounds.expandToCover(current->x, current [all...] |
H A D | AmbientShadow.cpp | 68 inline Vector2 getNormalFromVertices(const Vector3* vertices, int current, int next) { argument 70 Vector2 currentVertex = { vertices[current].x, vertices[current].y };
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenModeConditions.java | 69 final ArraySet<Uri> current = new ArraySet<>(); 70 evaluateRule(config.manualRule, current, processSubscriptions); 72 evaluateRule(automaticRule, current, processSubscriptions); 80 if (!current.contains(id)) { 120 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) { argument 143 if (current != null) { 144 current.add(id);
|
/frameworks/base/services/core/java/com/android/server/updates/ |
H A D | ConfigUpdateInstallReceiver.java | 75 Slog.i(TAG, "Not installing, new version is <= current version"); 128 Slog.i(TAG, "Couldn't find current metadata, assuming first update"); 147 Slog.i(TAG, "Failed to read current content, assuming first update!"); 165 private boolean verifyVersion(int current, int alternative) { argument 166 return (current < alternative); 169 private boolean verifyPreviousHash(String current, String required) { argument 175 return current.equals(required);
|
/frameworks/base/tools/aapt2/java/ |
H A D | ClassDefinition.h | 132 for (auto current = begin; current != end; ++current) { 133 if (std::distance(begin, current) % kAttribsPerLine == 0) { 137 *out << *current; variable 138 if (std::distance(current, end) > 1) {
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 36 StringPiece::const_iterator current; local 38 current = std::find(start, end, sep); 39 parts.emplace_back(str.substr(start, current).toString()); 44 start = current + 1; 45 } while (current != end); 315 const char16_t* current = start; local 316 while (current != end) { 318 switch (*current) { 344 current++; 345 Maybe<char16_t> c = parseUnicodeCodepoint(¤t, en [all...] |
H A D | Util.h | 274 const Char* current = start; local 275 while (current != end) { 276 if (*current == mSeparator) { 277 mToken.assign(start, current - start); 280 ++current;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 59 Category* current = m_pFile; local 60 while (current != NULL) { 61 Category* tmp = current; 62 current = current->next; 68 Category* current = m_pRegular; local 72 while (current != NULL) { 73 if (current->type == pTarget) { 74 current->end++; 77 if (!current 109 Category* current = m_pFile; local [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | WordBreaker.cpp | 55 ssize_t WordBreaker::current() const { function in class:android::WordBreaker 134 // scan forward from current ICU position for email address or URL
|
/frameworks/rs/ |
H A D | rsList.h | 33 current = const_cast<T*>(first); 55 last = current; 56 *current++ = value; 58 if ((void*)current >= (void*)¤tBuffer->next) { 62 current = ¤tBuffer->data.typed; 107 iterator end() const { return iterator(this, currentBuffer, current); } 109 bool empty() const { return current == first; } 118 T* current; member in class:android::renderscript::List
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | PathParser.java | 212 // current number, and endPosition is the character after the current 317 float[] current = new float[6]; 320 addCommand(path, current, previousCommand, node[i].type, node[i].params); 326 * The current PathDataNode will be interpolated between the 342 private static void addCommand(Path path, float[] current, argument 346 float currentX = current[0]; 347 float currentY = current[1]; 348 float ctrlPointX = current[2]; 349 float ctrlPointY = current[ [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PermissionsState.java | 569 private static int[] appendInts(int[] current, int[] added) { argument 570 if (current != null && added != null) { 572 current = ArrayUtils.appendInt(current, guid); 575 return current;
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 35 const char16_t* current = start; local 36 while (current != end) { 37 if (outType->size() == 0 && *current == u'/') { 39 outType->assign(start, current - start); 40 start = current + 1; 41 } else if (outPackage->size() == 0 && *current == u':') { 43 outPackage->assign(start, current - start); 44 start = current + 1; 46 current++;
|