Searched defs:stepCount (Results 1 - 9 of 9) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DTouchUtils.java168 public static void dragViewToTop(Instrumentation inst, View v, int stepCount) { argument
179 drag(inst, x, x, fromY, toY, stepCount);
265 float toY, int stepCount) {
272 float yStep = (toY - fromY) / stepCount;
273 float xStep = (toX - fromX) / stepCount;
278 for (int i = 0; i < stepCount; ++i) {
264 drag(Instrumentation inst, float fromX, float toX, float fromY, float toY, int stepCount) argument
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java203 * @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 DScanTestUtil.java72 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/libaudioclient/
H A DAudioTrackShared.cpp341 size_t stepCount = buffer->mFrameCount; local
342 if (stepCount == 0 || mIsShutdown) {
349 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount),
351 "!(stepCount:%zu <= mUnreleased:%zu <= mFrameCount:%zu), BufferSizeInFrames:%u",
352 __func__, stepCount, mUnreleased, mFrameCount, getBufferSizeInFrames());
353 mUnreleased -= stepCount;
358 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear);
361 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront);
761 size_t stepCount = buffer->mFrameCount; local
762 if (stepCount
[all...]
H A DAudioRecord.cpp899 size_t stepCount = audioBuffer->size / mFrameSize; local
900 if (stepCount == 0) {
905 buffer.mFrameCount = stepCount;
H A DAudioTrack.cpp1795 size_t stepCount = audioBuffer->size / mFrameSize; local
1796 if (stepCount == 0) {
1801 buffer.mFrameCount = stepCount;
1805 mReleased += stepCount;
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiScanner.java212 * exponentially as per formula: actual_period(N) = period * (2 ^ (N/stepCount))
220 public int stepCount; field in class:WifiScanner.ScanSettings
240 dest.writeInt(stepCount);
273 settings.stepCount = in.readInt();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java2381 int stepCount) throws Throwable {
2388 float yStep = (toY - fromY) / stepCount;
2389 float xStep = (toX - fromX) / stepCount;
2394 for (int i = 0; i < stepCount; ++i) {
2380 drag(ViewGroup view, float fromX, float toX, float fromY, float toY, int stepCount) argument
/frameworks/av/services/audioflinger/
H A DThreads.cpp7102 size_t stepCount = buffer->frameCount; local
7103 if (stepCount == 0) {
7106 ALOG_ASSERT(stepCount <= mRsmpInUnrel);
7107 mRsmpInUnrel -= stepCount;
7108 mRsmpInFront += stepCount;

Completed in 336 milliseconds