/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
H A D | TouchUtils.java | 169 public static void dragViewToTop(Instrumentation inst, View v, int stepCount) { argument 180 drag(inst, x, x, fromY, toY, stepCount); 266 float toY, int stepCount) { 273 float yStep = (toY - fromY) / stepCount; 274 float xStep = (toX - fromX) / stepCount; 279 for (int i = 0; i < stepCount; ++i) { 265 drag(Instrumentation inst, float fromX, float toX, float fromY, float toY, int stepCount) argument
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 203 * @param stepCount How many move steps to include in the drag 211 int stepCount) { 212 dragViewToBottom(test, test.getActivity(), v, stepCount); 221 * @param stepCount How many move steps to include in the drag 224 int stepCount) { 237 drag(test, x, x, fromY, toY, stepCount); 441 * @param stepCount How many move steps to include in the drag 448 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v, int stepCount) { argument 449 dragViewToTop((InstrumentationTestCase) test, v, stepCount); 467 * @param stepCount Ho 210 dragViewToBottom(ActivityInstrumentationTestCase test, View v, int stepCount) argument 223 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, int stepCount) argument 469 dragViewToTop(InstrumentationTestCase test, View v, int stepCount) argument 742 drag(ActivityInstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument 757 drag(InstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ScanTestUtil.java | 72 int stepCount, int batch, int bssidsPerScan, int reportEvents) { 78 request.stepCount = stepCount; 71 createRequest(int band, int period, int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 340 size_t stepCount = buffer->mFrameCount; local 341 if (stepCount == 0 || mIsShutdown) { 348 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); 349 mUnreleased -= stepCount; 354 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); 357 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); 739 size_t stepCount = buffer->mFrameCount; local 740 if (stepCount == 0 || mIsShutdown) { 747 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); 748 mUnreleased -= stepCount; [all...] |
H A D | AudioRecord.cpp | 845 size_t stepCount = audioBuffer->size / mFrameSize; local 846 if (stepCount == 0) { 851 buffer.mFrameCount = stepCount;
|
H A D | AudioTrack.cpp | 1686 size_t stepCount = audioBuffer->size / mFrameSize; local 1687 if (stepCount == 0) { 1692 buffer.mFrameCount = stepCount; 1696 mReleased += stepCount;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiScanner.java | 196 * exponentially as per formula: actual_period(N) = period * (2 ^ (N/stepCount)) 204 public int stepCount; field in class:WifiScanner.ScanSettings 224 dest.writeInt(stepCount); 250 settings.stepCount = in.readInt();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 1962 int stepCount) throws Throwable { 1969 float yStep = (toY - fromY) / stepCount; 1970 float xStep = (toX - fromX) / stepCount; 1975 for (int i = 0; i < stepCount; ++i) { 1961 drag(ViewGroup view, float fromX, float toX, float fromY, float toY, int stepCount) argument
|
/frameworks/av/services/audioflinger/ |
H A D | Threads.cpp | 6733 size_t stepCount = buffer->frameCount; local 6734 if (stepCount == 0) { 6737 ALOG_ASSERT(stepCount <= mRsmpInUnrel); 6738 mRsmpInUnrel -= stepCount; 6739 mRsmpInFront += stepCount;
|