Subversion Repositories SmartDukaan

Rev

Rev 37431 | Rev 37435 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37431 Rev 37433
Line 258... Line 258...
258
     *
258
     *
259
     * Aim to close about half the gap: the piece travels roughly ASSUMED_RATIO px per
259
     * Aim to close about half the gap: the piece travels roughly ASSUMED_RATIO px per
260
     * slider px, so nudge ~= gap / (2 * ratio), clamped. The real ratio is still derived
260
     * slider px, so nudge ~= gap / (2 * ratio), clamped. The real ratio is still derived
261
     * from the measurement; this only sizes the probe.
261
     * from the measurement; this only sizes the probe.
262
     */
262
     */
-
 
263
    /*
-
 
264
     * REALME's tuning values, deliberately independent of oppo's -- do not sync the two.
-
 
265
     * Realme currently converts ~60% of completed drags against oppo's ~12% on the same
-
 
266
     * widget, so it is the one that must not be disturbed to chase oppo.
-
 
267
     *
-
 
268
     * Left at 1.7 on purpose. Realme's measured ratio over 1,683 production calibrations
-
 
269
     * is 0.70, so this is wrong here too and the probe is smaller than intended -- but it
-
 
270
     * is wrong while converting 60%, and oppo is carrying the corrected value first. If
-
 
271
     * oppo improves, bring 0.70 over here and measure it on its own.
-
 
272
     */
263
    private static final double ASSUMED_RATIO = 1.7;
273
    private static final double ASSUMED_RATIO = 1.7;
264
    private static final int MIN_NUDGE = 10;
274
    private static final int MIN_NUDGE = 10;
265
    private static final int MAX_NUDGE = 60;
275
    private static final int MAX_NUDGE = 60;
266
    private static final double ALIGNED_PX = 2.0;
276
    private static final double ALIGNED_PX = 2.0;
267
 
277