Home
last modified time | relevance | path

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

/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/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtilsMatchers.java258 float curr = item.get(i);
260 if ((curr < from) || (curr > to)) {
261 mFailedDescription = "Value #" + i + ":" + curr + " should be between " +
290 float curr = item.get(i);
293 if (curr > next) {
295 ":" + curr + " and #" + (i + 1) + ":" + next;
324 float curr = item.get(i);
327 if (curr < next) {
329 ":" + curr + " and #" + (i + 1) + ":" + next;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelAnalyzer.java92 ModelClass curr = modelClass1; in findCommonParentOf() local
93 while (curr != null && !curr.isAssignableFrom(modelClass2)) { in findCommonParentOf()
94 curr = curr.getSuperclass(); in findCommonParentOf()
96 if (curr == null) { in findCommonParentOf()
109 Preconditions.checkNotNull(curr, in findCommonParentOf()
111 return curr; in findCommonParentOf()
/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/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dconceal.cpp139 void CopyVopMB(Vop *curr, uint8 *prevFrame, int mbnum, int width_Y, int height) in CopyVopMB() argument
141 if (curr == NULL || prevFrame == NULL) { in CopyVopMB()
159 y1 = curr->yChan + lumstart; in CopyVopMB()
160 u1 = curr->uChan + chrstart; in CopyVopMB()
161 v1 = curr->vChan + chrstart; in CopyVopMB()
Dmp4dec_lib.h310 void CopyVopMB(Vop *curr, uint8 *prev, int mbnum, int width, int height);
/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/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/support/v4/tests/java/android/support/v4/testutils/
DTestUtilsMatchers.java258 int curr = item.get(i);
260 if (curr != expectedValues[i]) {
261 mFailedDescription = "At #" + i + " got " + curr + " but should be " +
/frameworks/native/opengl/libs/EGL/
DLoader.cpp253 __eglMustCastToProperFunctionPointerType* curr, in init_api() argument
302 *curr++ = f; in init_api()
441 __eglMustCastToProperFunctionPointerType* curr = in load_driver() local
455 *curr++ = f; in load_driver()
DLoader.h70 __eglMustCastToProperFunctionPointerType* curr,
/frameworks/base/core/java/android/view/
DViewRootImpl.java3993 QueuedInputEvent curr = mQueueHead; in forward() local
3994 if (curr == null) { in forward()
4005 while (curr != null && curr != q) { in forward()
4006 if (!blocked && deviceId == curr.mEvent.getDeviceId()) { in forward()
4009 prev = curr; in forward()
4010 curr = curr.mNext; in forward()
4017 if (curr == null) { in forward()
4024 if (curr != null) { in forward()
4025 curr = curr.mNext; in forward()
4031 while (curr != null) { in forward()
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1376 const KeyedVector< wp<IBinder>, DisplayDeviceState>& curr(mCurrentState.displays); in handleTransactionLocked() local
1378 if (!curr.isIdenticalTo(draw)) { in handleTransactionLocked()
1380 const size_t cc = curr.size(); in handleTransactionLocked()
1388 const ssize_t j = curr.indexOfKey(draw.keyAt(i)); in handleTransactionLocked()
1408 const DisplayDeviceState& state(curr[j]); in handleTransactionLocked()
1409 const wp<IBinder>& display(curr.keyAt(j)); in handleTransactionLocked()
1449 if (draw.indexOfKey(curr.keyAt(i)) < 0) { in handleTransactionLocked()
1450 const DisplayDeviceState& state(curr[i]); in handleTransactionLocked()
1514 const wp<IBinder>& display(curr.keyAt(i)); in handleTransactionLocked()
DSurfaceFlinger_hwc1.cpp1389 const KeyedVector< wp<IBinder>, DisplayDeviceState>& curr(mCurrentState.displays); in handleTransactionLocked() local
1391 if (!curr.isIdenticalTo(draw)) { in handleTransactionLocked()
1393 const size_t cc = curr.size(); in handleTransactionLocked()
1401 const ssize_t j = curr.indexOfKey(draw.keyAt(i)); in handleTransactionLocked()
1421 const DisplayDeviceState& state(curr[j]); in handleTransactionLocked()
1422 const wp<IBinder>& display(curr.keyAt(j)); in handleTransactionLocked()
1462 if (draw.indexOfKey(curr.keyAt(i)) < 0) { in handleTransactionLocked()
1463 const DisplayDeviceState& state(curr[i]); in handleTransactionLocked()
1515 const wp<IBinder>& display(curr.keyAt(i)); in handleTransactionLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java18139 BroadcastFilter curr = null; in broadcastIntentLocked() local
18144 if (curr == null) { in broadcastIntentLocked()
18145 curr = registeredReceivers.get(ir); in broadcastIntentLocked()
18147 if (curr.getPriority() >= curt.priority) { in broadcastIntentLocked()
18149 receivers.add(it, curr); in broadcastIntentLocked()
18151 curr = null; in broadcastIntentLocked()