Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DAutoDecodeCancel.cpp81 AutoDecoderCancel* curr = gAutoDecoderCancel; in Validate() local
82 SkASSERT(curr); in Validate()
83 SkASSERT(curr->fPrev == NULL); in Validate()
86 while (curr) { in Validate()
89 if (curr->fPrev) { in Validate()
90 SkASSERT(curr->fPrev->fNext == curr); in Validate()
92 if (curr->fNext) { in Validate()
93 SkASSERT(curr->fNext->fPrev == curr); in Validate()
95 curr = curr->fNext; in Validate()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLExtensions.cpp44 char const* curr = (char const*)extensions; in initWithGLStrings() local
45 char const* head = curr; in initWithGLStrings()
47 head = strchr(curr, ' '); in initWithGLStrings()
48 String8 s(curr, head ? head-curr : strlen(curr)); in initWithGLStrings()
52 curr = head+1; in initWithGLStrings()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dsobeloperator.cpp47 const int curr = (i * width + j) * 4; in computeGradient() local
48 const int above = (i > 0) ? curr - 4 * width : curr; in computeGradient()
49 const int below = (i < height - 1) ? curr + 4 * width : curr; in computeGradient()
53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 + in computeGradient()
/frameworks/base/core/java/android/util/
DSpline.java100 float curr = x[i]; in isStrictlyIncreasing() local
101 if (curr <= prev) { in isStrictlyIncreasing()
104 prev = curr; in isStrictlyIncreasing()
115 float curr = x[i]; in isMonotonic() local
116 if (curr < prev) { in isMonotonic()
119 prev = curr; in isMonotonic()
/frameworks/ex/framesequence/jni/
DFrameSequence_webp.cpp57 WebPIterator curr; in constructDependencyChain() local
60 int ok = WebPDemuxGetFrame(mDemux, 1, &curr); in constructDependencyChain()
64 prev = curr; in constructDependencyChain()
65 ok = WebPDemuxGetFrame(mDemux, i + 1, &curr); // Get ith frame. in constructDependencyChain()
68 if ((!curr.has_alpha || curr.blend_method == WEBP_MUX_NO_BLEND) && in constructDependencyChain()
69 isFullFrame(curr, canvasWidth, canvasHeight)) { in constructDependencyChain()
77 WebPDemuxReleaseIterator(&curr); in constructDependencyChain()
/frameworks/native/opengl/libagl/
DTokenizer.cpp112 const run_t* const curr = a + mid; in _indexOrderOf() local
114 if (token < curr->first) c = 1; in _indexOrderOf()
115 else if (token >= curr->first+curr->length) c = -1; in _indexOrderOf()
DTextureObjectManager.cpp222 const GGLSurface* curr = mMipmaps + i; in reallocate() local
223 if (curr->format != surface.format) { in reallocate()
230 if (w != curr->width || h != curr->height) { in reallocate()
234 prev = curr; in reallocate()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dconceal.cpp138 void CopyVopMB(Vop *curr, uint8 *prevFrame, int mbnum, int width_Y, int height) in CopyVopMB() argument
154 y1 = curr->yChan + lumstart; in CopyVopMB()
155 u1 = curr->uChan + chrstart; in CopyVopMB()
156 v1 = curr->vChan + chrstart; in CopyVopMB()
Dmp4dec_lib.h310 void CopyVopMB(Vop *curr, uint8 *prev, int mbnum, int width, int height);
/frameworks/av/media/libmedia/
DMetadata.cpp141 size_t curr = mData->dataPosition(); in checkKey() local
146 size_t left = curr - mBegin; in checkKey()
162 mData->setDataPosition(curr); in checkKey()
/frameworks/native/opengl/libs/EGL/
DLoader.cpp217 __eglMustCastToProperFunctionPointerType* curr, in init_api() argument
266 *curr++ = f; in init_api()
397 __eglMustCastToProperFunctionPointerType* curr = in load_driver() local
411 *curr++ = f; in load_driver()
DLoader.h70 __eglMustCastToProperFunctionPointerType* curr,
/frameworks/base/libs/hwui/utils/
DSortedListImpl.cpp60 const void* const curr = reinterpret_cast<const char *> (a) + (mid * s); in _indexOrderOf() local
61 const int c = do_compare(curr, item); in _indexOrderOf()
/frameworks/base/core/java/android/view/
DViewRootImpl.java3576 QueuedInputEvent curr = mQueueHead; in forward() local
3577 if (curr == null) { in forward()
3588 while (curr != null && curr != q) { in forward()
3589 if (!blocked && deviceId == curr.mEvent.getDeviceId()) { in forward()
3592 prev = curr; in forward()
3593 curr = curr.mNext; in forward()
3600 if (curr == null) { in forward()
3607 if (curr != null) { in forward()
3608 curr = curr.mNext; in forward()
3614 while (curr != null) { in forward()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1243 const KeyedVector< wp<IBinder>, DisplayDeviceState>& curr(mCurrentState.displays); in handleTransactionLocked() local
1245 if (!curr.isIdenticalTo(draw)) { in handleTransactionLocked()
1247 const size_t cc = curr.size(); in handleTransactionLocked()
1255 const ssize_t j = curr.indexOfKey(draw.keyAt(i)); in handleTransactionLocked()
1275 const DisplayDeviceState& state(curr[j]); in handleTransactionLocked()
1276 const wp<IBinder>& display(curr.keyAt(j)); in handleTransactionLocked()
1314 if (draw.indexOfKey(curr.keyAt(i)) < 0) { in handleTransactionLocked()
1315 const DisplayDeviceState& state(curr[i]); in handleTransactionLocked()
1352 const wp<IBinder>& display(curr.keyAt(i)); in handleTransactionLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java15805 BroadcastFilter curr = null;
15810 if (curr == null) {
15811 curr = registeredReceivers.get(ir);
15813 if (curr.getPriority() >= curt.priority) {
15815 receivers.add(it, curr);
15817 curr = null;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java4658 private void performBootDexOpt(PackageParser.Package pkg, int curr, int total) { in performBootDexOpt() argument
4660 Log.i(TAG, "Optimizing app " + curr + " of " + total + ": " + pkg.packageName); in performBootDexOpt()
4666 curr, total), true); in performBootDexOpt()