Home
last modified time | relevance | path

Searched refs:mCurrent (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/libmedia/
DStringArray.cpp32 : mMax(0), mCurrent(0), mArray(NULL) in StringArray()
37 for (int i = 0; i < mCurrent; i++) in ~StringArray()
46 if (mCurrent >= mMax) { in push_back()
58 memcpy(tmp, mArray, mCurrent * sizeof(char*)); in push_back()
64 mArray[mCurrent] = new char[len+1]; in push_back()
65 memcpy(mArray[mCurrent], str, len+1); in push_back()
66 mCurrent++; in push_back()
75 if (idx < 0 || idx >= mCurrent) in erase()
78 if (idx < mCurrent-1) { in erase()
80 (mCurrent-1 - idx) * sizeof(char*)); in erase()
[all …]
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DOMAParser.java20 private XMLNode mCurrent; field in OMAParser
24 mCurrent = null; in OMAParser()
40 XMLNode parent = mCurrent; in startElement()
42 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement()
45 mRoot = mCurrent; in startElement()
47 parent.addChild(mCurrent); in startElement()
52 if (!qName.equals(mCurrent.getTag())) in endElement()
54 mCurrent); in endElement()
57 mCurrent.close(); in endElement()
62 mCurrent = mCurrent.getParent(); in endElement()
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DXMLParser.java57 private XMLNode mCurrent = null; field in XMLParser
66 mCurrent = null; in parse()
80 XMLNode parent = mCurrent; in startElement()
82 mCurrent = new XMLNode(parent, qName); in startElement()
85 mRoot = mCurrent; in startElement()
89 parent.addChild(mCurrent); in startElement()
95 if (!qName.equals(mCurrent.getTag())) { in endElement()
97 mCurrent); in endElement()
100 mCurrent.close(); in endElement()
101 mCurrent = mCurrent.getParent(); in endElement()
[all …]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DXMLParser.java25 private XMLNode mCurrent; field in XMLParser
41 XMLNode parent = mCurrent; in startElement()
43 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement()
47 mRoot = mCurrent; in startElement()
49 parent.addChild(mCurrent); in startElement()
54 if (!qName.equals(mCurrent.getTag())) in endElement()
56 mCurrent); in endElement()
59 mCurrent.close(); in endElement()
64 mCurrent = mCurrent.getParent(); in endElement()
69 mCurrent.addText(ch, start, length); in characters()
DOSUFlowManager.java32 private OSUFlow mCurrent; field in OSUFlowManager
295 if (mCurrent != null && mCurrent.createdNetwork() in run()
296 && (mQueue.isEmpty() || mCurrent.deleteNetwork(mQueue.getLast()))) { in run()
297 mPlatformAdapter.deleteNetwork(mCurrent.getWifiNetworkId()); in run()
300 mCurrent = null; in run()
315 mCurrent = mQueue.removeLast(); in run()
316 mCurrent.setLaunchTime(); in run()
318 Log.d(OSUManager.TAG, "Starting " + mCurrent); in run()
319 mCurrent.run(); in run()
320 Log.d(OSUManager.TAG, "Exiting " + mCurrent); in run()
[all …]
/frameworks/minikin/libs/minikin/
DWordBreaker.cpp49 mCurrent = 0; in setText()
59 return mCurrent; in current()
112 result = mBreakIterator->following(mCurrent); in iteratorNext()
210 mLast = mCurrent; in next()
214 mCurrent = findNextBreakInEmailOrUrl(); in next()
216 mCurrent = (ssize_t) iteratorNext(); in next()
218 return mCurrent; in next()
226 while (result < mCurrent) { in wordStart()
229 U16_NEXT(mText, ix, mCurrent, c); in wordStart()
245 ssize_t result = mCurrent; in wordEnd()
[all …]
/frameworks/av/services/audioflinger/
DFastThread.cpp42 mPrevious(NULL), mCurrent(NULL), in FastThread()
118 next = mCurrent; in threadLoop()
122 if (next != mCurrent) { in threadLoop()
139 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop()
148 mPrevious = mCurrent; in threadLoop()
150 mCurrent = next; in threadLoop()
169 if (mCurrent->mColdGen != mColdGen) { in threadLoop()
170 int32_t *coldFutexAddr = mCurrent->mColdFutexAddr; in threadLoop()
188 mColdGen = mCurrent->mColdGen; in threadLoop()
208 if (mCurrent != mPrevious) { in threadLoop()
[all …]
DFastCapture.cpp41 mCurrent = &sInitial; in FastCapture()
66 mPreIdle = *(const FastCaptureState *)mCurrent; in onIdle()
67 mCurrent = &mPreIdle; in onIdle()
89 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange()
161 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork()
DStateQueue.cpp44 mAck(NULL), mCurrent(NULL), in StateQueue()
64 if (next != mCurrent) { in poll()
66 mCurrent = next; in poll()
DFastMixer.cpp73 mCurrent = &sInitial; in FastMixer()
116 mPreIdle = *(const FastMixerState *)mCurrent; in onIdle()
117 mCurrent = &mPreIdle; in onIdle()
143 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onStateChange()
340 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onWork()
DStateQueue.h195 const T* mCurrent; // most recent value returned by poll() variable
DFastThread.h53 const FastThreadState* mCurrent; variable
/frameworks/native/services/surfaceflinger/
DLayerRejecter.cpp36 mCurrent(current), in LayerRejecter()
72 mCurrent.active = mFront.active; in reject()
73 mCurrent.modified = true; in reject()
82 mCurrent.crop = mFront.requestedCrop; in reject()
87 mCurrent.finalCrop = mFront.requestedFinalCrop; in reject()
130 mCurrent.activeTransparentRegion = mFront.activeTransparentRegion; in reject()
DLayerRejecter.h38 Layer::State &mCurrent; variable
/frameworks/support/app-toolkit/common/src/main/java/android/arch/core/internal/
DSafeIterableMap.java302 private Entry<K, V> mCurrent; field in SafeIterableMap.IteratorWithAdditions
307 if (entry == mCurrent) { in supportRemove()
308 mCurrent = mCurrent.mPrevious; in supportRemove()
309 mBeforeStart = mCurrent == null; in supportRemove()
318 return mCurrent != null && mCurrent.mNext != null; in hasNext()
325 mCurrent = mStart; in next()
327 mCurrent = mCurrent != null ? mCurrent.mNext : null; in next()
329 return mCurrent; in next()
/frameworks/av/include/media/
DStringArray.h59 inline int size(void) const { return mCurrent; } in size()
66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry()
77 int mCurrent; variable
/frameworks/av/media/libmedia/include/media/
DStringArray.h59 inline int size(void) const { return mCurrent; } in size()
66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry()
77 int mCurrent; variable
/frameworks/rs/driver/
DrsdShaderCache.h59 int32_t vtxUniformSlot(uint32_t a) const {return mCurrent->vtxUniforms[a].slot;} in vtxUniformSlot()
60 uint32_t vtxUniformSize(uint32_t a) const {return mCurrent->vtxUniforms[a].arraySize;} in vtxUniformSize()
61 int32_t fragUniformSlot(uint32_t a) const {return mCurrent->fragUniforms[a].slot;} in fragUniformSlot()
62 uint32_t fragUniformSize(uint32_t a) const {return mCurrent->fragUniforms[a].arraySize;} in fragUniformSize()
144 ProgramEntry *mCurrent; variable
DrsdShaderCache.cpp75 UniformData *data = mCurrent->vtxUniforms; in hasArrayUniforms()
81 data = mCurrent->fragUniforms; in hasArrayUniforms()
128 mCurrent = mEntries[ct]; in link()
139 mCurrent = e; in link()
237 for (uint32_t ct=0; ct < mCurrent->vtxAttrCount; ct++) { in vtxAttribSlot()
238 if (attrName == mCurrent->vtxAttrs[ct].name) { in vtxAttribSlot()
239 return mCurrent->vtxAttrs[ct].slot; in vtxAttribSlot()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirGen.h54 mCurrent = cos(wstart);
57 mCurrent = sin(wstart);
63 mCurrent = expNow; in SineGen()
68 return mCurrent; in value()
71 double tmp = mCurrent; in advance()
72 mCurrent = mCurrent*mTwoCos - mPrevious; in advance()
76 double tmp = mCurrent; in valueAdvance()
77 mCurrent = mCurrent*mTwoCos - mPrevious; in valueAdvance()
83 double mCurrent; // current value of sine/cosine
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java60 private int mCurrent = STOPPED; field in GraphRunner.State
63 mCurrent = newState; in setState()
67 return ((mCurrent & state) == state); in check()
71 if ((mCurrent & state) != state) { in addState()
72 mCurrent |= state; in addState()
79 boolean result = (mCurrent & state) == state; in removeState()
80 mCurrent &= (~state); in removeState()
85 return mCurrent; in current()
DCameraStreamer.java736 private AtomicInteger mCurrent = new AtomicInteger(STATE_STOPPED); field in CameraStreamer.State
739 return mCurrent.get(); in current()
743 mCurrent.set(newState); in set()
/frameworks/minikin/include/minikin/
DWordBreaker.h67 ssize_t mCurrent; variable
/frameworks/compile/slang/
Dslang_rs_object_ref_count.h54 clang::Stmt *mCurrent; // The statement currently being analyzed variable
89 void setCurrentStmt(clang::Stmt *S) { mCurrent = S; } in setCurrentStmt()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java4224 private float mCurrent; field in AccessibilityNodeInfo.RangeInfo
4234 return obtain(other.mType, other.mMin, other.mMax, other.mCurrent); in obtain()
4256 info.mCurrent = current; in obtain()
4274 mCurrent = current; in RangeInfo()
4314 return mCurrent; in getCurrent()
4329 mCurrent = 0; in clear()

12