/frameworks/support/compat/java/android/support/v4/os/ |
H A D | LocaleListHelper.java | 342 for (int idx = 0; idx < mList.length; idx++) { 343 final int score = matchScore(supportedLocale, mList[idx]); 345 return idx; 365 final int idx = findFirstMatchIndex(EN_LATN); 366 if (idx == 0) { // We have a match on the first locale, which is good enough 368 } else if (idx < bestIndex) { 369 bestIndex = idx; 376 final int idx [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 1157 final int idx = (int) (x - mLastMotionX[mActivePointerId]); 1160 dragTo(mCapturedView.getLeft() + idx, mCapturedView.getTop() + idy, idx, idy);
|
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
H A D | BaseViewPagerTest.java | 243 public View getButton(int page, int idx) { argument 244 return mButtons.get(page)[idx];
|
/frameworks/support/fragment/java/android/support/v4/app/ |
H A D | LoaderManager.java | 718 int idx = mLoaders.indexOfKey(id); 719 if (idx >= 0) { 720 LoaderInfo info = mLoaders.valueAt(idx); 721 mLoaders.removeAt(idx); 724 idx = mInactiveLoaders.indexOfKey(id); 725 if (idx >= 0) { 726 LoaderInfo info = mInactiveLoaders.valueAt(idx); 727 mInactiveLoaders.removeAt(idx);
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_reduce.java | 91 for (int idx = 0; idx < input.length; ++idx) 92 rslt += input[idx]; 128 for (int idx = 0; idx < input.length; ++idx) { 129 if (input[idx] < minVal) { 130 minVal = input[idx]; 131 minIdx = idx; [all...] |
H A D | UT_reduce_backward.java | 91 for (int idx = 0; idx < input.length; ++idx) 92 rslt += input[idx]; 128 for (int idx = 0; idx < input.length; ++idx) { 129 if (input[idx] < minVal) { 130 minVal = input[idx]; 131 minIdx = idx; [all...] |
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
H A D | UT_reduce.java | 282 for (int idx = 0; idx < input.length; ++idx) 283 result += input[idx]; 463 for (int idx = 1; idx < input.length; ++idx) { 464 final float val = input[idx]; 533 for (int idx = 0; idx < inpu [all...] |
H A D | UT_reduce_backward.java | 107 for (int idx = 0; idx < input.length; ++idx) 108 rslt += input[idx]; 144 for (int idx = 0; idx < input.length; ++idx) { 145 if (input[idx] < minVal) { 146 minVal = input[idx]; 147 minIdx = idx; [all...] |
/frameworks/rs/cpp/ |
H A D | rsDispatch.h | 120 typedef RsMesh (*MeshCreateFnPtr) (RsContext rsc, RsAllocation * vtx, size_t vtx_length, RsAllocation * idx, size_t idx_length, uint32_t * primType, size_t primType_length);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 104 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); local 106 //ALOGV("RS helperThread starting %p idx=%i", dc, idx); 108 dc->mWorkers.mLaunchSignals[idx].init(); 109 dc->mWorkers.mNativeThreadId[idx] = gettid(); 121 cpuset.bits[idx / 64] |= 1ULL << (idx % 64); 122 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx], 128 dc->mWorkers.mLaunchSignals[idx].wait(); 130 // idx 391 walk_general_foreach(void *usr, uint32_t idx) argument 418 walk_2d_foreach(void *usr, uint32_t idx) argument 443 walk_1d_foreach(void *usr, uint32_t idx) argument 533 walk_1d_reduce(void *usr, uint32_t idx) argument 572 walk_2d_reduce(void *usr, uint32_t idx) argument 611 walk_3d_reduce(void *usr, uint32_t idx) argument [all...] |
H A D | rsCpuCore.h | 55 typedef void (*WorkerCallback_t)(void *usr, uint32_t idx);
|
H A D | rsCpuExecutable.cpp | 760 for (size_t idx = 0; idx < pragmaCount; ++idx) { 761 delete [] pragmaKeys[idx]; 766 for (size_t idx = 0; idx < pragmaCount; ++idx) { 767 delete [] pragmaValues[idx];
|
H A D | rsCpuIntrinsicBLAS.cpp | 192 static void walk_2d_sgemm(void *usr, uint32_t idx) { argument 203 static void walk_2d_dgemm(void *usr, uint32_t idx) { argument 214 static void walk_2d_cgemm(void *usr, uint32_t idx) { argument 225 static void walk_2d_zgemm(void *usr, uint32_t idx) { argument
|
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 65 void RsdVertexArray::logAttrib(uint32_t idx, uint32_t slot) const { argument 66 if (idx == 0) { 70 idx, slot, 71 mAttribs[idx].name.c_str(), 72 mAttribs[idx].buffer, 73 mAttribs[idx].ptr, 74 mAttribs[idx].size, 75 mAttribs[idx].type, 76 mAttribs[idx].stride, 77 mAttribs[idx] [all...] |
H A D | rsdVertexArray.h | 55 void logAttrib(uint32_t idx, uint32_t slot) const;
|
/frameworks/rs/ |
H A D | rs.h | 27 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext, uint32_t idx, RsFile);
|
H A D | rsApiStubs.cpp | 847 RsAllocation * idx, size_t idx_length, 850 return RS_DISPATCH(ctxWrapper, MeshCreate, vtx, vtx_length, idx, idx_length, primType, primType_length); 846 rsMeshCreate(RsContext ctxWrapper, RsAllocation * vtx, size_t vtx_length, RsAllocation * idx, size_t idx_length, uint32_t * primType, size_t primType_length) argument
|
H A D | rsApiStubs.h | 143 extern "C" RsMesh rsMeshCreate (RsContext rsc, RsAllocation * vtx, size_t vtx_length, RsAllocation * idx, size_t idx_length, uint32_t * primType, size_t primType_length);
|
H A D | rsDevice.cpp | 35 for (size_t idx=0; idx < mContexts.size(); idx++) { 36 if (mContexts[idx] == rsc) { 37 mContexts.erase(mContexts.begin() + idx);
|
H A D | rsElement.h | 89 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();} 90 const char * getFieldName(uint32_t idx) const {return mFields[idx].name;} 91 uint32_t getFieldArraySize(uint32_t idx) const {return mFields[idx].arraySize;}
|
H A D | rsGrallocConsumer.cpp | 87 media_status_t GrallocConsumer::lockNextBuffer(uint32_t idx) { argument 90 if (idx >= mNumAlloc) { 91 ALOGE("Invalid buffer index: %d", idx); 95 if (mAcquiredBuffer[idx].mImg != nullptr) { 96 ret = unlockBuffer(idx); 102 ret = AImageReader_acquireNextImage(mImgReader, &(mAcquiredBuffer[idx].mImg)); 103 if (ret != AMEDIA_OK || mAcquiredBuffer[idx].mImg == nullptr) { 105 __FUNCTION__, mImgReader, ret, mAcquiredBuffer[idx].mImg); 109 AImage *img = mAcquiredBuffer[idx].mImg; 156 mAcquiredBuffer[idx] 231 unlockBuffer(uint32_t idx) argument 258 releaseIdx(uint32_t idx) argument [all...] |
H A D | rsGrallocConsumer.h | 44 media_status_t lockNextBuffer(uint32_t idx = 0); 45 media_status_t unlockBuffer(uint32_t idx = 0); 47 bool releaseIdx(uint32_t idx); 54 media_status_t releaseAcquiredBufferLocked(uint32_t idx);
|
H A D | rsMesh.cpp | 268 RsAllocation * idx, size_t idxCount, 279 sm->setPrimitive((Allocation*)idx[i], (RsPrimitive)primType[i], i); 266 rsi_MeshCreate(Context *rsc, RsAllocation * vtx, size_t vtxCount, RsAllocation * idx, size_t idxCount, uint32_t * primType, size_t primTypeCount) argument
|
H A D | rsMesh.h | 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { argument 73 mIndexBuffers[index].set(idx); 74 mHal.state.indexBuffers[index] = idx;
|
H A D | rsType.h | 79 uint32_t getArray(uint32_t idx) const { 80 if (idx < mHal.state.arrayCount) { 81 return mHal.state.arrays[idx];
|