Home | History | Annotate | Download | only in views

Lines Matching defs:origin

56     float origin;
69 this.origin = x;
75 * Returns x normalized to the range 0 to 1 such that 0 = min, 0.5 = origin and 1 = max
77 * @param x is an absolute value in the same domain as origin
80 if (x < origin) {
81 return 0.5f + 0.5f * (x - origin) / -relativeMin;
83 return 0.5f + 0.5f * (x - origin) / relativeMax;
89 * absolute value about the given {@param origin}.