Home
last modified time | relevance | path

Searched refs:mIndex (Results 1 – 8 of 8) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DWaveDataRingBuffer.java79 private volatile int mIndex = 0; // between 0 and mWaveRecord.length - 1 field in WaveDataRingBuffer.WaveDeck
102 mIndex = 0; in writeWaveData()
103 } else if (mWaveRecord.length - mIndex > length) { in writeWaveData()
105 System.arraycopy(data, srcPos, mWaveRecord, mIndex, length); in writeWaveData()
106 mIndex += length; in writeWaveData()
113 int availBuff = mWaveRecord.length - mIndex; in writeWaveData()
115 System.arraycopy(data, srcPos, mWaveRecord, mIndex, availBuff); in writeWaveData()
118 mIndex = length - availBuff; in writeWaveData()
134 System.arraycopy(mWaveRecord, 0, outputBuffer, 0, mIndex); in getWaveRecord()
135 Arrays.fill(outputBuffer, mIndex+1, outputBuffer.length-1, 0); in getWaveRecord()
[all …]
DBufferCallbackTimes.java35 private int mIndex; field in BufferCallbackTimes
38 mIndex = 0; in BufferCallbackTimes()
57 mIndex = mTimeStamps.length; in BufferCallbackTimes()
66 if (mIndex == mTimeStamps.length) { in recordCallbackTime()
70 mTimeStamps[mIndex] = timeStamp; in recordCallbackTime()
71 mCallbackDurations[mIndex] = callbackLength; in recordCallbackTime()
72 mIndex++; in recordCallbackTime()
94 return mIndex; in getNumLateOrEarlyCallbacks()
108 return mIteratorIndex < mIndex; in iterator()
136 out.putInt("mIndex", mIndex); in writeToParcel()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiScannerFacade.java91 public int mIndex; field in WifiScannerFacade.WifiActionListener
96 this.mIndex = idx; in WifiActionListener()
104 Log.d("onSuccess " + mEventType + " " + mIndex); in onSuccess()
106 mResults.putInt("Index", mIndex); in onSuccess()
108 mEventFacade.postEvent(mEventType + mIndex + "onSuccess", mResults.clone()); in onSuccess()
114 Log.d("onFailure " + mEventType + " " + mIndex); in onFailure()
116 mResults.putInt("Index", mIndex); in onFailure()
119 mEventFacade.postEvent(mEventType + mIndex + "onFailure", mResults.clone()); in onFailure()
124 Log.d("reportResult " + mEventType + " " + mIndex); in reportResult()
125 mResults.putInt("Index", mIndex); in reportResult()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattServerFacade.java933 private final int mIndex; field in GattServerFacade.BtGattServerCallback
939 mIndex = idx; in BtGattServerCallback()
944 Log.d("gatt_server change onServiceAdded " + mEventType + " " + mIndex); in onServiceAdded()
947 mEventFacade.postEvent(mEventType + mIndex + "onServiceAdded", mResults.clone()); in onServiceAdded()
954 Log.d("gatt_server change onCharacteristicReadRequest " + mEventType + " " + mIndex); in onCharacteristicReadRequest()
962 mEventType + mIndex + "onCharacteristicReadRequest", mResults.clone()); in onCharacteristicReadRequest()
970 Log.d("gatt_server change onCharacteristicWriteRequest " + mEventType + " " + mIndex); in onCharacteristicWriteRequest()
982 mEventType + mIndex + "onCharacteristicWriteRequest", mResults.clone()); in onCharacteristicWriteRequest()
990 Log.d("gatt_server change onDescriptorReadRequest " + mEventType + " " + mIndex); in onDescriptorReadRequest()
998 mEventType + mIndex + "onDescriptorReadRequest", mResults.clone()); in onDescriptorReadRequest()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DStringPoolRef.java11 private int mIndex; field in StringPoolRef
15 this.mIndex = index; in StringPoolRef()
19 return mPool.stringAt(mIndex); in string()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockRealMatrix.java958 int mIndex = 0; in setRowMatrix() local
963 final int available = mBlock.length - mIndex; in setRowMatrix()
965 System.arraycopy(mBlock, mIndex, block, iRow * jWidth, available); in setRowMatrix()
968 mIndex = jWidth - available; in setRowMatrix()
970 System.arraycopy(mBlock, mIndex, block, iRow * jWidth, jWidth); in setRowMatrix()
971 mIndex += jWidth; in setRowMatrix()
1048 int mIndex = 0; in setColumnMatrix() local
1054 if (mIndex >= mBlock.length) { in setColumnMatrix()
1056 mIndex = 0; in setColumnMatrix()
1058 block[i * jWidth + jColumn] = mBlock[mIndex++]; in setColumnMatrix()
DBlockFieldMatrix.java932 int mIndex = 0; in setRowMatrix() local
937 final int available = mBlock.length - mIndex; in setRowMatrix()
939 System.arraycopy(mBlock, mIndex, block, iRow * jWidth, available); in setRowMatrix()
942 mIndex = jWidth - available; in setRowMatrix()
944 System.arraycopy(mBlock, mIndex, block, iRow * jWidth, jWidth); in setRowMatrix()
945 mIndex += jWidth; in setRowMatrix()
1022 int mIndex = 0; in setColumnMatrix() local
1028 if (mIndex >= mBlock.length) { in setColumnMatrix()
1030 mIndex = 0; in setColumnMatrix()
1032 block[i * jWidth + jColumn] = mBlock[mIndex++]; in setColumnMatrix()
/external/replicaisland/src/com/replica/replicaisland/
DGameObjectFactory.java155 private final int mIndex; field in GameObjectFactory.GameObjectType
157 this.mIndex = index; in GameObjectType()
161 return mIndex; in index()
170 if (type.mIndex == index) { in indexToType()