Searched refs:step (Results 1 - 23 of 23) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dsimdtest.cpp44 for (int step = 1; step < 32; step++) {
48 for (size_t i = 0; i < 1024; i += step)
60 i += step;
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicRenderer.java70 public static native void step(); method in class:MosaicRenderer
75 * update its texture and warping transformation. Any calls to step()
H A DMosaicRendererSurfaceViewRenderer.java44 MosaicRenderer.step();
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DPerNameExecutorTest.java49 assertRanNever("step 0", a1, a2, a3, b1);
50 step(); // run a1, b1
51 assertRanOnce("step 1", a1, b1);
52 assertRanNever("step 1", a2, a3);
53 step(); // run a2
54 assertRanOnce("step 2", a1, b1, a2);
55 assertRanNever("step 2", a3);
56 step(); // run a3
57 assertRanOnce("step 3", a1, b1, a2, a3);
58 step(); // shoul
109 private void step() { method in class:PerNameExecutorTest
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DCacheProcessing.java56 public boolean equals(CacheStep step) { argument
57 if (representations.size() != step.representations.size()) {
62 FilterRepresentation r2 = step.representations.get(i);
72 CacheStep step = new CacheStep();
75 if (step.canMergeWith(representation)) {
76 step.add(representation.copy());
78 steps.add(step);
79 step = new CacheStep();
80 step.add(representation.copy());
83 steps.add(step);
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DExif.java123 int step = 1;
126 step = -1;
132 offset += step;
H A DCameraSettings.java203 float step = mParameters.getExposureCompensationStep();
206 int maxValue = (int) Math.floor(max * step);
207 int minValue = (int) Math.ceil(min * step);
211 entryValues[maxValue - i] = Integer.toString(Math.round(i / step));
H A DCamera.java640 float step = mParameters.getExposureCompensationStep();
641 mFormatterArgs[0] = value * step;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DBytesBufferPool.java46 int step = Math.min(READ_STEP, capacity - length);
47 int rc = fis.read(data, length, step);
/packages/services/Car/tools/io_analysis/
H A Dcheck_verity.py87 step = match.group(2)
91 if step == "map":
100 elif step == "end_io":
103 elif step == "finish_io":
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsFastScrollHelper.java152 int step = (int) (ySign * Math.ceil((float) Math.abs(deltaY) / numFrames));
155 mFastScrollFrames[i] = (int) (ySign * Math.min(Math.abs(step), Math.abs(deltaY)));
156 deltaY -= step;
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtils.java78 private String getStepDescription(final int step) { argument
79 switch (step) {
91 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) {
93 s.append(getStepDescription(step));
110 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) {
111 switch (step) {
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControl.java147 protected void setZoomStep(int step) { argument
148 mStep = step;
/packages/experimental/DreamTheater/src/com/android/dreamtheater/
H A DBouncyDroid.java102 public void step(float dt) { method in class:BouncyDroid.BouncyView.World.Body
121 public void step(float dt) { method in class:BouncyDroid.BouncyView.World
123 b.step(dt);
295 mWorld.step(dt / 1000f); // dt is in sec
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupWizardActivity.java68 private static final String STATE_STEP = "step";
344 // Probably the setup wizard has been invoked from "Recent" menu. The setup step number
502 public void addStep(final SetupStep step) { argument
503 mGroup.add(step);
507 for (final SetupStep step : mGroup) {
508 step.setEnabled(step.mStepNo == enableStepNo, isStepActionAlreadyDone);
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DUnifiedReal.java1098 * Compute n * (n - step) * (n - 2 * step) * etc. This can be used to compute factorial a bit
1101 private static BigInteger genFactorial(long n, long step) { argument
1102 if (n > 4 * step) {
1103 BigInteger prod1 = genFactorial(n, 2 * step);
1107 BigInteger prod2 = genFactorial(n - step, 2 * step);
1117 for (long i = n - step; i > 1; i -= step) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
H A DInputPointersTests.java77 final int limit = 1000, step = 100;
78 for (int i = 0; i < limit; i += step) {
86 for (int i = 0; i < limit; i += step) {
H A DResizableIntArrayTests.java67 final int limit = DEFAULT_CAPACITY * 10, step = DEFAULT_CAPACITY * 2;
68 for (int i = 0; i < limit; i += step) {
73 for (int i = 0; i < limit; i += step) {
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DFakeUid.java281 public long getTimeAtCpuSpeed(int cluster, int step, int which) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterDraw.java204 float step = s2 / 8;
205 for (float i = 0; i < len; i += step) {
/packages/apps/Camera2/src/com/android/camera/
H A DButtonManager.java598 * @param step Expsoure compensation step value.
600 public void setExposureCompensationParameters(int min, int max, float step) { argument
603 mExposureCompensationStep = step;
606 setVisible(mExposureN2, (Math.round(min * step) <= -2));
607 setVisible(mExposureN1, (Math.round(min * step) <= -1));
608 setVisible(mExposureP1, (Math.round(max * step) >= 1));
609 setVisible(mExposureP2, (Math.round(max * step) >= 2));
623 * @return The exposure compensation step value.
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageStraighten.java281 float step = Math.max(viewWidth, viewHeight) / NBLINES;
284 p = i * step;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
H A DRadioTestFragment.java411 mRadioTuner.step(RadioTuner.DIRECTION_UP, false);
425 mRadioTuner.step(RadioTuner.DIRECTION_DOWN, false);

Completed in 584 milliseconds