Searched refs:lastOffset (Results 1 – 2 of 2) sorted by relevance
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorDirectReportTest.java | 1010 int lastOffset = 0; in checkAtomicCounterUpdate() local 1017 if (!readSharedMemory(memType, false/*secondary*/, lastOffset, SENSORS_EVENT_SIZE) in checkAtomicCounterUpdate() 1027 if (lastArray[i] != mBuffer[lastOffset + i]) { in checkAtomicCounterUpdate() 1035 System.arraycopy(mBuffer, lastOffset, currentArray, 0, SENSORS_EVENT_SIZE); in checkAtomicCounterUpdate() 1046 memType, false/*secondary*/, lastOffset, SENSORS_EVENT_SIZE)) { in checkAtomicCounterUpdate() 1050 System.arraycopy(mBuffer, lastOffset, delayedRead, 0, SENSORS_EVENT_SIZE); in checkAtomicCounterUpdate() 1056 lastOffset, lastOffset, i, i, atomicCounter, atomicCounter, in checkAtomicCounterUpdate() 1072 lastOffset = offset; in checkAtomicCounterUpdate() 1073 System.arraycopy(mBuffer, lastOffset, lastArray, 0, SENSORS_EVENT_SIZE); in checkAtomicCounterUpdate()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 3702 final int lastOffset = text.length() - 1; in testGetOffsetForPositionSingleLineLtr() local 3712 assertEquals(lastOffset, mTextView.getOffsetForPosition(x, y)); in testGetOffsetForPositionSingleLineLtr() 3716 assertEquals(lastOffset + 1, mTextView.getOffsetForPosition(x, y)); in testGetOffsetForPositionSingleLineLtr()
|