HomeSort by relevance Sort by last modified time
    Searched refs:stepCount (Results 1 - 25 of 45) sorted by null

1 2

  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
AwTestTouchUtils.java 35 float toY, int stepCount, long downTime) {
38 float yStep = (toY - fromY) / stepCount;
39 float xStep = (toX - fromX) / stepCount;
40 for (int i = 0; i < stepCount; ++i) {
61 * @param stepCount The total number of motion events that should be generated during the drag.
65 final int fromY, final int toY, final int stepCount,
71 dragTo(view, fromX, toX, fromY, toY, stepCount, downTime);
  /external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
TestTouchUtils.java 148 * @param stepCount The total number of motion events that should be generated during the drag.
152 float toY, int stepCount, long downTime) {
155 float yStep = (toY - fromY) / stepCount;
156 float xStep = (toX - fromX) / stepCount;
157 for (int i = 0; i < stepCount; ++i) {
187 * @param stepCount The total number of motion events that should be generated during the drag.
190 int fromX, int toX, int fromY, int toY, int stepCount) {
195 stepCount, downTime);
TouchCommon.java 49 * @param stepCount
54 float toY, int stepCount, long downTime) {
57 float yStep = (toY - fromY) / stepCount;
58 float xStep = (toX - fromX) / stepCount;
59 for (int i = 0; i < stepCount; ++i) {
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 64 int stepCount = mRecipe.recipeSteps.size();
66 for (int i = 0; i < stepCount; ++i) {
71 getResources().getString(R.string.step_count), i + 1, stepCount));
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 64 int stepCount = mRecipe.recipeSteps.size();
66 for (int i = 0; i < stepCount; ++i) {
71 getResources().getString(R.string.step_count), i + 1, stepCount));
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
RecipeService.java 64 int stepCount = mRecipe.recipeSteps.size();
66 for (int i = 0; i < stepCount; ++i) {
71 getResources().getString(R.string.step_count), i + 1, stepCount));
  /frameworks/av/media/libmedia/
AudioTrackShared.cpp 285 size_t stepCount = buffer->mFrameCount;
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;
641 if (stepCount == 0 || mIsShutdown) {
648 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount));
649 mUnreleased -= stepCount;
    [all...]
AudioRecord.cpp 691 size_t stepCount = audioBuffer->size / mFrameSize;
692 if (stepCount == 0) {
697 buffer.mFrameCount = stepCount;
    [all...]
AudioTrack.cpp     [all...]
  /frameworks/base/test-runner/src/android/test/
TouchUtils.java 197 * @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) {
443 dragViewToTop((InstrumentationTestCase) test, v, stepCount);
461 * @param stepCount How many move steps to include in the dra
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceScript.java 502 int stepCount = Integer.parseInt(args[4]);
509 if (stepCount > 0) {
510 float xStep = (xEnd - xStart) / stepCount;
511 float yStep = (yEnd - yStart) / stepCount;
518 for (int i = 0; i < stepCount; ++i) {
547 int stepCount = Integer.parseInt(args[8]);
557 if (stepCount > 0) {
558 float pt1xStep = (pt1xEnd - pt1xStart) / stepCount;
559 float pt1yStep = (pt1yEnd - pt1yStart) / stepCount;
561 float pt2xStep = (pt2xEnd - pt2xStart) / stepCount;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/xml/
XPathPath.cpp 175 unsigned stepCount = m_steps.size();
176 if (stepCount) {
178 optimizeStepPair(m_steps[stepCount - 1], step, dropSecondStep);
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
RedundentExprEliminator.java 612 int stepCount = countSteps(lpi);
625 head = new MultistepExprHolder(firstOccuranceOwner, stepCount, null);
629 tail.m_next = new MultistepExprHolder(owner2, stepCount, null);
644 head = new MultistepExprHolder(firstOccuranceOwner, stepCount, null);
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/axes/
WalkerFactory.java 562 int stepCount = 0;
576 stepCount++;
577 if(stepCount > 3)
604 if(1 != stepCount)
614 if(3 == stepCount)
619 if(1 != stepCount)
670 int stepCount = 0;
675 stepCount++;
720 if (2 == stepCount && BIT_ROOT == analysisResult)
770 analysisResult |= (stepCount & BITS_COUNT)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/compiler/
Compiler.java 814 * @param stepCount The number of steps to expect.
822 int opPos, int stepCount, StepPattern ancestorPattern)
841 // boolean isSimple = ((OpCodes.ENDOP == nextStepType) && (stepCount == 0));
932 StepPattern relativePathPattern = stepPattern(endStep, stepCount + 1,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
InlineTextBox.cpp 730 unsigned stepCount = static_cast<unsigned>(length / step);
733 // ended. We need to subtract (stepCount - 1) pixels when calculating the
735 float uncoveredLength = length - (stepCount * step - (stepCount - 1));
736 float adjustment = uncoveredLength / stepCount;
    [all...]
  /external/deqp/framework/common/
tcuTexLookupVerifier.cpp 151 const Vec4 stepCount = d / prec.colorThreshold;
152 const Vec4 minStep = 1.0f / (stepCount + 1.0f);
169 const Vec4 stepCount = maxD / prec.colorThreshold;
170 const Vec4 minStep = 1.0f / (stepCount + 1.0f);
180 const Vec4 stepCount = 1.0f / prec.colorThreshold;
181 const Vec4 minStep = 1.0f / (stepCount + 1.0f);
191 const Vec4 stepCount = 2.0f / prec.colorThreshold;
192 const Vec4 minStep = 1.0f / (stepCount + 1.0f);
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
RecyclerViewLayoutTest.java 693 int stepCount) throws Throwable {
700 float yStep = (toY - fromY) / stepCount;
701 float xStep = (toX - fromX) / stepCount;
706 for (int i = 0; i < stepCount; ++i) {
    [all...]
  /hardware/invensense/65xx/libsensors_iio/
MPLSensor.cpp     [all...]
  /frameworks/av/services/audioflinger/
Threads.cpp     [all...]
  /hardware/invensense/6515/libsensors_iio/
MPLSensor.cpp     [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java     [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/11/
android.jar 

Completed in 1959 milliseconds

1 2