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

/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java197 * @param stepCount How many move steps to include in the drag
205 int stepCount) {
206 dragViewToBottom(test, test.getActivity(), v, stepCount);
215 * @param stepCount How many move steps to include in the drag
218 int stepCount) {
231 drag(test, x, x, fromY, toY, stepCount);
435 * @param stepCount How many move steps to include in the drag
442 public static void dragViewToTop(ActivityInstrumentationTestCase test, View v, int stepCount) { argument
443 dragViewToTop((InstrumentationTestCase) test, v, stepCount);
461 * @param stepCount Ho
204 dragViewToBottom(ActivityInstrumentationTestCase test, View v, int stepCount) argument
217 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, int stepCount) argument
463 dragViewToTop(InstrumentationTestCase test, View v, int stepCount) argument
736 drag(ActivityInstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument
751 drag(InstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp691 size_t stepCount = audioBuffer->size / mFrameSize; local
692 if (stepCount == 0) {
697 buffer.mFrameCount = stepCount;
H A DAudioTrackShared.cpp285 size_t stepCount = buffer->mFrameCount; local
286 if (stepCount == 0 || mIsShutdown) {
293 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount));
294 mUnreleased -= stepCount;
299 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear);
302 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront);
640 size_t stepCount = buffer->mFrameCount; local
641 if (stepCount == 0 || mIsShutdown) {
648 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount));
649 mUnreleased -= stepCount;
[all...]
H A DAudioTrack.cpp1369 size_t stepCount = audioBuffer->size / mFrameSizeAF; local
1370 if (stepCount == 0) {
1375 buffer.mFrameCount = stepCount;
1379 mReleased += stepCount;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java693 int stepCount) throws Throwable {
700 float yStep = (toY - fromY) / stepCount;
701 float xStep = (toX - fromX) / stepCount;
706 for (int i = 0; i < stepCount; ++i) {
692 drag(ViewGroup view, float fromX, float toX, float fromY, float toY, int stepCount) argument
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java6972 private static int addLevelSteps(long[] steps, int stepCount, long lastStepTime, argument
6985 stepCount += numStepLevels;
6986 if (stepCount > steps.length) {
6987 stepCount = steps.length;
6990 return stepCount;

Completed in 440 milliseconds