Home
last modified time | relevance | path

Searched refs:stepCount (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeService.java64 int stepCount = mRecipe.recipeSteps.size(); in createNotification() local
66 for (int i = 0; i < stepCount; ++i) { in createNotification()
71 getResources().getString(R.string.step_count), i + 1, stepCount)); in createNotification() local
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java502 int stepCount = Integer.parseInt(args[4]); in handleEvent() local
509 if (stepCount > 0) { in handleEvent()
510 float xStep = (xEnd - xStart) / stepCount; in handleEvent()
511 float yStep = (yEnd - yStart) / stepCount; in handleEvent()
518 for (int i = 0; i < stepCount; ++i) { in handleEvent()
547 int stepCount = Integer.parseInt(args[8]); in handleEvent() local
557 if (stepCount > 0) { in handleEvent()
558 float pt1xStep = (pt1xEnd - pt1xStart) / stepCount; in handleEvent()
559 float pt1yStep = (pt1yEnd - pt1yStart) / stepCount; in handleEvent()
561 float pt2xStep = (pt2xEnd - pt2xStart) / stepCount; in handleEvent()
[all …]