Lines Matching refs:DisplayOption

200         DisplayOption defaultDisplayOption = invDistWeightedInterpolate(  in InvariantDeviceProfile()
205 DisplayOption myDisplayOption = invDistWeightedInterpolate( in InvariantDeviceProfile()
208 DisplayOption result = new DisplayOption(defaultDisplayOption.grid) in InvariantDeviceProfile()
235 ArrayList<DisplayOption> allOptions = getPredefinedDeviceProfiles(context, gridName); in initGrid()
237 DisplayOption displayOption = invDistWeightedInterpolate(displayInfo, allOptions); in initGrid()
243 Context context, DefaultDisplay.Info displayInfo, DisplayOption displayOption) { in initGrid()
378 static ArrayList<DisplayOption> getPredefinedDeviceProfiles(Context context, String gridName) { in getPredefinedDeviceProfiles()
379 ArrayList<DisplayOption> profiles = new ArrayList<>(); in getPredefinedDeviceProfiles()
395 profiles.add(new DisplayOption( in getPredefinedDeviceProfiles()
405 ArrayList<DisplayOption> filteredProfiles = new ArrayList<>(); in getPredefinedDeviceProfiles()
407 for (DisplayOption option : profiles) { in getPredefinedDeviceProfiles()
415 for (DisplayOption option : profiles) { in getPredefinedDeviceProfiles()
468 static DisplayOption invDistWeightedInterpolate( in invDistWeightedInterpolate()
469 DefaultDisplay.Info displayInfo, ArrayList<DisplayOption> points) { in invDistWeightedInterpolate()
487 DisplayOption p = points.get(0); in invDistWeightedInterpolate()
492 DisplayOption out = new DisplayOption(closestOption); in invDistWeightedInterpolate()
497 out.add(new DisplayOption().add(p).multiply(w)); in invDistWeightedInterpolate()
503 static DisplayOption invDistWeightedInterpolate(float width, float height, in invDistWeightedInterpolate()
504 ArrayList<DisplayOption> points) { in invDistWeightedInterpolate()
507 DisplayOption p = points.get(0); in invDistWeightedInterpolate()
512 DisplayOption out = new DisplayOption(); in invDistWeightedInterpolate()
517 out.add(new DisplayOption().add(p).multiply(w)); in invDistWeightedInterpolate()
619 private static final class DisplayOption { class in InvariantDeviceProfile
632 DisplayOption(GridOption grid, Context context, AttributeSet attrs) { in DisplayOption() method in InvariantDeviceProfile.DisplayOption
655 DisplayOption() { in DisplayOption() method in InvariantDeviceProfile.DisplayOption
659 DisplayOption(GridOption grid) { in DisplayOption() method in InvariantDeviceProfile.DisplayOption
666 private DisplayOption multiply(float w) { in multiply()
675 private DisplayOption add(DisplayOption p) { in add()