/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/services/core/java/com/android/server/updates/ |
H A D | SmartSelectionInstallReceiver.java | 30 protected boolean verifyVersion(int current, int alternative) { argument
|
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 protected 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/libs/androidfw/ |
H A D | ResourceUtils.cpp | 29 const char* current = start; local 30 while (current != end) { 31 if (out_type->size() == 0 && *current == '/') { 33 out_type->assign(start, current - start); 34 start = current + 1; 35 } else if (out_package->size() == 0 && *current == ':') { 37 out_package->assign(start, current - start); 38 start = current + 1; 40 current++;
|
/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...] |
/frameworks/native/services/surfaceflinger/ |
H A D | LayerRejecter.cpp | 28 Layer::State& current, 35 mCurrent(current), 61 // current and drawing states. Drawing state is only accessed 65 // We also need to update the current state so that 67 // this stale current state during the next transaction 123 // We also need to update the current state so that 125 // this stale current state during the next transaction 27 LayerRejecter(Layer::State& front, Layer::State& current, bool& recomputeVisibleRegions, bool stickySet, const char* name, int32_t overrideScalingMode, bool& freezePositionUpdates) argument
|
/frameworks/base/core/java/android/text/ |
H A D | CharSequenceCharacterIterator.java | 44 return current(); 57 public char current() { method in class:CharSequenceCharacterIterator 83 return current();
|
/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 const 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...] |
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 39 public int[] following(int current); argument 40 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); 82 if (!current.contains(id)) { 123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) { argument 146 if (current != null) { 147 current.add(id);
|
/frameworks/base/tools/aapt2/java/ |
H A D | ClassDefinition.h | 124 for (auto current = begin; current != end; ++current) { 125 if (std::distance(begin, current) % kAttribsPerLine == 0) { 129 *out << *current; variable 130 if (std::distance(current, end) > 1) {
|
/frameworks/av/include/media/ |
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/av/media/libmedia/include/media/ |
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/tools/bit/ |
H A D | aapt.cpp | 176 Element* current = NULL; local 206 current = element; 209 while (element->depth <= current->depth && current->parent != NULL) { 210 current = current->parent; 212 element->parent = current; 213 current->children.push_back(element); 214 current = element; 217 if (current ! [all...] |
/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 | 58 ssize_t WordBreaker::current() const { function in class:minikin::WordBreaker 142 // 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/base/services/core/java/com/android/server/pm/ |
H A D | PermissionsState.java | 600 private static int[] appendInts(int[] current, int[] added) { argument 601 if (current != null && added != null) { 603 current = ArrayUtils.appendInt(current, guid); 606 return current;
|