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

/packages/apps/Camera/src/com/android/camera/
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 DCameraSettings.java243 float step = mParameters.getExposureCompensationStep();
246 int maxValue = (int) FloatMath.floor(max * step);
247 int minValue = (int) FloatMath.ceil(min * step);
254 entryValues[maxValue - i] = Integer.toString(Math.round(i / step));
H A DMosaicPreviewRenderer.java226 MosaicRenderer.step();
H A DPhotoModule.java815 float step = mParameters.getExposureCompensationStep();
816 value = (int) Math.round(value * 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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputLogicTestsReorderingMyanmar.java212 for (final Pair<int[], String> step : test) {
214 final int[] input = step.first;
215 final String expectedResult = step.second;
221 assertEquals("Myanmar reordering test " + testNumber + ", step " + stepNumber,
H A DInputPointersTests.java79 final int limit = 1000, step = 100;
80 for (int i = 0; i < limit; i += step) {
88 for (int i = 0; i < limit; i += step) {
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DZoomControl.java147 protected void setZoomStep(int step) { argument
148 mStep = step;
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtilsTests.java76 for (final String step : decodeSpec.mDecoderSpec) {
77 assertEquals("Wrong decode spec", BinaryDictOffdeviceUtils.COMPRESSION, 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/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtils.java69 for (final String step : mDecoderSpec) {
71 s.append(step);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
H A DSetupWizardActivity.java64 private static final String STATE_STEP = "step";
335 // Probably the setup wizard has been invoked from "Recent" menu. The setup step number
493 public void addStep(final SetupStep step) { argument
494 mGroup.add(step);
498 for (final SetupStep step : mGroup) {
499 step.setEnabled(step.mStepNo == enableStepNo, isStepActionAlreadyDone);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
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/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.java528 * @param step Expsoure compensation step value.
530 public void setExposureCompensationParameters(int min, int max, float step) { argument
533 mExposureCompensationStep = step;
536 setVisible(mExposureN2, (Math.round(min * step) <= -2));
537 setVisible(mExposureN1, (Math.round(min * step) <= -1));
538 setVisible(mExposureP1, (Math.round(max * step) >= 1));
539 setVisible(mExposureP2, (Math.round(max * step) >= 2));
553 * @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;

Completed in 1121 milliseconds