Home
last modified time | relevance | path

Searched refs:mBase (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/core/java/android/content/
DContextWrapper.java78 Context mBase; field in ContextWrapper
96 mBase = base; in ContextWrapper()
107 if (mBase != null) { in attachBaseContext()
110 mBase = base; in attachBaseContext()
117 return mBase; in getBaseContext()
122 return mBase.getAssets(); in getAssets()
127 return mBase.getResources(); in getResources()
132 return mBase.getPackageManager(); in getPackageManager()
137 return mBase.getContentResolver(); in getContentResolver()
142 return mBase.getMainLooper(); in getMainLooper()
[all …]
/frameworks/av/media/codec2/sfplugin/
DOmx2IGraphicBufferSource.cpp42 sp<OmxGraphicBufferSource> mBase; member
43 OmxGbs2IOmxBs(sp<OmxGraphicBufferSource> const& base) : mBase{base} {} in OmxGbs2IOmxBs()
45 return mBase->onOmxExecuting(); in onOmxExecuting()
48 return mBase->onOmxIdle(); in onOmxIdle()
51 return mBase->onOmxLoaded(); in onOmxLoaded()
54 return mBase->onInputBufferAdded(bufferId); in onInputBufferAdded()
59 return mBase->onInputBufferEmptied(bufferId, fenceParcel.get()); in onInputBufferEmptied()
64 sp<IOMXNode> mBase; member
65 OmxNodeWrapper(sp<IOMXNode> const& base) : mBase{base} {} in OmxNodeWrapper()
70 return mBase->emptyBuffer(bufferId, buffer, flags, timestamp, fenceFd); in emptyBuffer()
[all …]
/frameworks/av/media/libmedia/omx/1.0/
DWGraphicBufferSource.cpp30 sp<TGraphicBufferSource> const& base) : mBase(base) { in LWGraphicBufferSource()
36 return toBinderStatus(mBase->configure( in configure()
43 return toBinderStatus(mBase->setSuspend(suspend, timeUs)); in setSuspend()
48 return toBinderStatus(mBase->setRepeatPreviousFrameDelayUs(repeatAfterUs)); in setRepeatPreviousFrameDelayUs()
52 return toBinderStatus(mBase->setMaxFps(maxFps)); in setMaxFps()
57 return toBinderStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
62 return toBinderStatus(mBase->setStartTimeUs(startTimeUs)); in setStartTimeUs()
67 return toBinderStatus(mBase->setStopTimeUs(stopTimeUs)); in setStopTimeUs()
72 return toBinderStatus(mBase->getStopTimeOffsetUs( in getStopTimeOffsetUs()
80 return toBinderStatus(mBase->setColorAspects( in setColorAspects()
[all …]
DWOmxBufferSource.cpp31 mBase(base) { in LWOmxBufferSource()
35 return toBinderStatus(mBase->onOmxExecuting()); in onOmxExecuting()
39 return toBinderStatus(mBase->onOmxIdle()); in onOmxIdle()
43 return toBinderStatus(mBase->onOmxLoaded()); in onOmxLoaded()
48 return toBinderStatus(mBase->onInputBufferAdded( in onInputBufferAdded()
62 mBase->onInputBufferEmptied( in onInputBufferEmptied()
71 mBase(base) { in TWOmxBufferSource()
75 mBase->onOmxExecuting(); in onOmxExecuting()
80 mBase->onOmxIdle(); in onOmxIdle()
85 mBase->onOmxLoaded(); in onOmxLoaded()
[all …]
DWOmxNode.cpp34 return toStatusT(mBase->freeNode()); in freeNode()
39 return toStatusT(mBase->sendCommand( in sendCommand()
47 status_t transStatus = toStatusT(mBase->getParameter( in getParameter()
64 return toStatusT(mBase->setParameter( in setParameter()
72 status_t transStatus = toStatusT(mBase->getConfig( in getConfig()
89 return toStatusT(mBase->setConfig(toRawIndexType(index), tParams)); in setConfig()
94 return toStatusT(mBase->setPortMode(port_index, toHardwarePortMode(mode))); in setPortMode()
100 return toStatusT(mBase->prepareForAdaptivePlayback( in prepareForAdaptivePlayback()
108 status_t transStatus = toStatusT(mBase->configureVideoTunnelMode( in configureVideoTunnelMode()
124 status_t transStatus = toStatusT(mBase->getGraphicBufferUsage( in getGraphicBufferUsage()
[all …]
DWOmxObserver.cpp36 LWOmxObserver::LWOmxObserver(sp<IOmxObserver> const& base) : mBase(base) { in LWOmxObserver()
48 auto transResult = mBase->onMessages(tMessages); in onMessages()
59 TWOmxObserver::TWOmxObserver(sp<IOMXObserver> const& base) : mBase(base) { in TWOmxObserver()
68 mBase->onMessages(lMessages); in onMessages()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxBufferSource.cpp31 mBase(base) { in LWOmxBufferSource()
35 return toBinderStatus(mBase->onOmxExecuting()); in onOmxExecuting()
39 return toBinderStatus(mBase->onOmxIdle()); in onOmxIdle()
43 return toBinderStatus(mBase->onOmxLoaded()); in onOmxLoaded()
48 return toBinderStatus(mBase->onInputBufferAdded( in onInputBufferAdded()
62 mBase->onInputBufferEmptied( in onInputBufferEmptied()
71 mBase(base) { in TWOmxBufferSource()
75 mBase->onOmxExecuting(); in onOmxExecuting()
80 mBase->onOmxIdle(); in onOmxIdle()
85 mBase->onOmxLoaded(); in onOmxLoaded()
[all …]
DWOmxNode.cpp33 LWOmxNode::LWOmxNode(sp<IOmxNode> const& base) : mBase(base) { in LWOmxNode()
37 return toStatusT(mBase->freeNode()); in freeNode()
42 return toStatusT(mBase->sendCommand( in sendCommand()
50 status_t transStatus = toStatusT(mBase->getParameter( in getParameter()
67 return toStatusT(mBase->setParameter( in setParameter()
75 status_t transStatus = toStatusT(mBase->getConfig( in getConfig()
92 return toStatusT(mBase->setConfig(toRawIndexType(index), tParams)); in setConfig()
97 return toStatusT(mBase->setPortMode(port_index, toHardwarePortMode(mode))); in setPortMode()
103 return toStatusT(mBase->prepareForAdaptivePlayback( in prepareForAdaptivePlayback()
111 status_t transStatus = toStatusT(mBase->configureVideoTunnelMode( in configureVideoTunnelMode()
[all …]
DWGraphicBufferSource.cpp124 mBase(base), in TWGraphicBufferSource()
205 return toStatus(mBase->configure( in configure()
216 return toStatus(mBase->setSuspend(suspend, timeUs)); in setSuspend()
221 return toStatus(mBase->setRepeatPreviousFrameDelayUs(repeatAfterUs)); in setRepeatPreviousFrameDelayUs()
225 return toStatus(mBase->setMaxFps(maxFps)); in setMaxFps()
230 return toStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
234 return toStatus(mBase->setStartTimeUs(startTimeUs)); in setStartTimeUs()
238 return toStatus(mBase->setStopTimeUs(stopTimeUs)); in setStopTimeUs()
245 status = mBase->getStopTimeOffsetUs(&stopTimeOffsetUs); in getStopTimeOffsetUs()
252 return toStatus(mBase->setColorAspects(toCompactColorAspects(aspects))); in setColorAspects()
[all …]
DWOmxObserver.cpp36 LWOmxObserver::LWOmxObserver(sp<IOmxObserver> const& base) : mBase(base) { in LWOmxObserver()
48 auto transResult = mBase->onMessages(tMessages); in onMessages()
59 TWOmxObserver::TWOmxObserver(sp<IOMXObserver> const& base) : mBase(base) { in TWOmxObserver()
68 mBase->onMessages(lMessages); in onMessages()
/frameworks/native/libs/gui/bufferqueue/1.0/
DWProducerListener.cpp24 mBase(base) { in TWProducerListener()
28 mBase->onBufferReleased(); in onBufferReleased()
33 return mBase->needsReleaseNotify(); in needsReleaseNotify()
39 mBase(base) { in LWProducerListener()
43 mBase->onBufferReleased(); in onBufferReleased()
47 return static_cast<bool>(mBase->needsReleaseNotify()); in needsReleaseNotify()
DB2HProducerListener.cpp29 mBase(base) { in B2HProducerListener()
33 mBase->onBufferReleased(); in onBufferReleased()
38 return mBase->needsReleaseNotify(); in needsReleaseNotify()
DH2BProducerListener.cpp38 : mBase(base) {
43 if (!mBase->onBufferReleased().isOk()) { in onBufferReleased()
49 Return<bool> transResult = mBase->needsReleaseNotify(); in needsReleaseNotify()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSystemUIInterpolators.java23 private final float mBase; field in SystemUIInterpolators.LogDecelerateInterpolator
33 mBase = base; in LogDecelerateInterpolator()
41 return 1f - (float) Math.pow(mBase, -t * mTimeScale) + (mDrift * t); in computeLog()
51 private final int mBase; field in SystemUIInterpolators.LogAccelerateInterpolator
60 mBase = base; in LogAccelerateInterpolator()
62 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogAccelerateInterpolator()
71 return 1 - computeLog(1 - t, mBase, mDrift) * mLogScale; in getInterpolation()
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DWGraphicBufferProducer.h68 TWGraphicBufferProducer(sp<BGraphicBufferProducer> const& base) : mBase(base) {} in TWGraphicBufferProducer()
71 status_t status = mBase->requestBuffer(slot, &buf); in requestBuffer()
81 return static_cast<int32_t>(mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount()
86 return static_cast<int32_t>(mBase->setAsyncMode(async)); in setAsyncMode()
96 status_t status = mBase->dequeueBuffer( in dequeueBuffer()
141 return static_cast<int32_t>(mBase->detachBuffer(slot)); in detachBuffer()
147 status_t status = mBase->detachNextBuffer(&outBuffer, &outFence); in detachNextBuffer()
180 status_t status = mBase->attachBuffer(&outSlot, lBuffer); in attachBuffer()
202 status_t status = mBase->queueBuffer( in queueBuffer()
229 return static_cast<int32_t>(mBase->cancelBuffer(static_cast<int>(slot), lFence)); in cancelBuffer()
[all …]
/frameworks/native/libs/binder/
DMemoryHeapBase.cpp59 : mFD(-1), mSize(0), mBase(MAP_FAILED), in MemoryHeapBase()
65 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
81 if (mNeedUnmap) munmap(mBase, mSize); in MemoryHeapBase()
82 mBase = nullptr; in MemoryHeapBase()
100 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
122 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase()
139 mBase = base; in init()
177 mBase = base; in mapfd()
180 mBase = nullptr; // not MAP_FAILED in mapfd()
200 munmap(mBase, mSize); in dispose()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DMultiFingerSwipe.java55 private PointF[] mBase; field in MultiFingerSwipe
83 mBase = new PointF[mTargetFingerCount]; in MultiFingerSwipe()
103 if (mBase[i] == null) { in clear()
104 mBase[i] = new PointF(); in clear()
106 mBase[i].x = Float.NaN; in clear()
107 mBase[i].y = Float.NaN; in clear()
142 if (Float.isNaN(mBase[pointerIndex].x) && Float.isNaN(mBase[pointerIndex].y)) { in onDown()
149 mBase[pointerIndex].x = x; in onDown()
150 mBase[pointerIndex].y = y; in onDown()
188 if (Float.isNaN(mBase[pointerIndex].x) && Float.isNaN(mBase[pointerIndex].y)) { in onPointerDown()
[all …]
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp70 : mBase{base} { in B2HGraphicBufferProducer()
77 mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount()
91 b2h(mBase->requestBuffer( in requestBuffer()
102 bool converted = b2h(mBase->setAsyncMode(async), &hStatus); in setAsyncMode()
115 b2h(mBase->dequeueBuffer( in dequeueBuffer()
138 mBase->detachBuffer(static_cast<int>(slot)), &hStatus); in detachBuffer()
150 b2h(mBase->detachNextBuffer(&bBuffer, &bFence), &hStatus) && in detachNextBuffer()
176 mBase->attachBuffer(&bSlot, bBuffer), &hStatus, in attachBuffer()
223 mBase->queueBuffer(static_cast<int>(slot), bInput, &bOutput), in queueBuffer()
240 mBase->cancelBuffer(static_cast<int>(slot), bFence), in cancelBuffer()
[all …]
DH2BProducerListener.cpp38 : mBase(base) {
43 if (mBase) { in onBufferReleased()
44 Return<void> transResult = mBase->onBuffersReleased(1); in onBufferReleased()
52 return static_cast<bool>(mBase); in needsReleaseNotify()
DH2BGraphicBufferProducer.cpp87 Return<void> transResult = mBase->requestBuffer(slot, in requestBuffer()
113 Return<HStatus> transResult = mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount()
128 Return<HStatus> transResult = mBase->setAsyncMode(async); in setAsyncMode()
152 Return<void> transResult = mBase->dequeueBuffer(input, in dequeueBuffer()
181 Return<HStatus> transResult = mBase->detachBuffer( in detachBuffer()
198 Return<void> transResult = mBase->detachNextBuffer( in detachNextBuffer()
229 Return<void> transResult = mBase->attachBuffer(hBuffer, hGenerationNumber, in attachBuffer()
262 Return<void> transResult = mBase->queueBuffer( in queueBuffer()
289 Return<HStatus> transResult = mBase->cancelBuffer( in cancelBuffer()
305 Return<void> transResult = mBase->query( in query()
[all …]
/frameworks/av/media/module/aidlpersistentsurface/wrapper/
DWAidlGraphicBufferSource.cpp130 mBase(base), in WAidlGraphicBufferSource()
171 return toAidlStatus(mBase->configure( in configure()
182 return toAidlStatus(mBase->setSuspend(suspend, timeUs)); in setSuspend()
187 return toAidlStatus(mBase->setRepeatPreviousFrameDelayUs(repeatAfterUs)); in setRepeatPreviousFrameDelayUs()
191 return toAidlStatus(mBase->setMaxFps(maxFps)); in setMaxFps()
196 return toAidlStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
200 return toAidlStatus(mBase->setStartTimeUs(startTimeUs)); in setStartTimeUs()
204 return toAidlStatus(mBase->setStopTimeUs(stopTimeUs)); in setStopTimeUs()
208 status_t status = mBase->getStopTimeOffsetUs(_aidl_return); in getStopTimeOffsetUs()
214 return toAidlStatus(mBase->setColorAspects(compactFromAidlColorAspects(aspects))); in setColorAspects()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DLogDecelerateInterpolator.java24 private int mBase; field in LogDecelerateInterpolator
29 mBase = base; in LogDecelerateInterpolator()
32 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogDecelerateInterpolator()
41 return computeLog(t, mBase, mDrift) * mLogScale; in getInterpolation()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DCryptoPlugin.cpp62 if (src->mBase == nullptr) { in decrypt()
78 if (dest->mBase == nullptr) { in decrypt()
93 uint8_t* srcPtr = src->mBase + in_args.source.offset + in_args.offset; in decrypt()
94 uint8_t* destPtr = dest->mBase + destBuffer.offset; in decrypt()
223 : mBase(nullptr), in SharedBufferBase()
233 mBase = static_cast<uint8_t*>(addr); in SharedBufferBase()
238 if (mBase && munmap(mBase, mSize)) { in ~SharedBufferBase()
240 mBase, strerror(errno)); in ~SharedBufferBase()
/frameworks/base/core/java/android/widget/
DChronometer.java75 private long mBase; field in Chronometer
129 mBase = SystemClock.elapsedRealtime(); in init()
130 updateText(mBase); in init()
179 mBase = base; in setBase()
188 return mBase; in getBase()
292 long seconds = mCountDown ? mBase - now : now - mBase; in updateText()
392 return formatDuration(mNow - mBase); in getContentDescription()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DUserBadgeDrawable.java152 private final ConstantState mBase; field in UserBadgeDrawable.MyConstantState
159 mBase = base; in MyConstantState()
167 return mBase.getChangingConfigurations(); in getChangingConfigurations()
174 mBase.newDrawable(), mBgColor, mBaseColor, mShouldDrawBackground); in newDrawable()
181 mBase.newDrawable(res), mBgColor, mBaseColor, mShouldDrawBackground); in newDrawable()
188 mBase.newDrawable(res, theme), mBgColor, mBaseColor, mShouldDrawBackground); in newDrawable()

123