Home
last modified time | relevance | path

Searched refs:arrayNum (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DAllocationAdapter.java213 public void setArray(int arrayNum, int arrayVal) { in setArray() argument
214 if (mAdaptedAllocation.getType().getArray(arrayNum) == 0) { in setArray()
217 if (mAdaptedAllocation.getType().getArray(arrayNum) <= arrayVal) { in setArray()
220 if (mWindow.getArray(arrayNum) == mAdaptedAllocation.getType().getArray(arrayNum)) { in setArray()
223 … if ((mWindow.getArray(arrayNum) + arrayVal) >= mAdaptedAllocation.getType().getArray(arrayNum)) { in setArray()
227 mSelectedArray[arrayNum] = arrayVal; in setArray()
DType.java159 public int getArray(int arrayNum) { in getArray() argument
160 if ((arrayNum < 0) || (arrayNum >= mMaxArrays)) { in getArray()
164 if (mArrays == null || arrayNum >= mArrays.length) { in getArray()
169 return mArrays[arrayNum]; in getArray()