Lines Matching refs:DisplayOption

213         DisplayOption defaultDisplayOption = invDistWeightedInterpolate(  in InvariantDeviceProfile()
221 DisplayOption myDisplayOption = invDistWeightedInterpolate( in InvariantDeviceProfile()
227 DisplayOption result = new DisplayOption(defaultDisplayOption.grid) in InvariantDeviceProfile()
288 ArrayList<DisplayOption> allOptions = in initGrid()
291 DisplayOption displayOption = in initGrid()
297 private void initGrid(Context context, Info displayInfo, DisplayOption displayOption, in initGrid()
413 private static ArrayList<DisplayOption> getPredefinedDeviceProfiles(Context context, in getPredefinedDeviceProfiles()
415 ArrayList<DisplayOption> profiles = new ArrayList<>(); in getPredefinedDeviceProfiles()
434 profiles.add(new DisplayOption(gridOption, context, in getPredefinedDeviceProfiles()
445 ArrayList<DisplayOption> filteredProfiles = new ArrayList<>(); in getPredefinedDeviceProfiles()
447 for (DisplayOption option : profiles) { in getPredefinedDeviceProfiles()
456 for (DisplayOption option : profiles) { in getPredefinedDeviceProfiles()
535 private static DisplayOption invDistWeightedInterpolate( in invDistWeightedInterpolate()
536 Info displayInfo, ArrayList<DisplayOption> points, @DeviceType int deviceType) { in invDistWeightedInterpolate()
564 DisplayOption closestPoint = points.get(0); in invDistWeightedInterpolate()
572 DisplayOption out = new DisplayOption(closestOption); in invDistWeightedInterpolate()
574 DisplayOption p = points.get(i); in invDistWeightedInterpolate()
577 out.add(new DisplayOption().add(p).multiply(w)); in invDistWeightedInterpolate()
746 static final class DisplayOption { class
763 DisplayOption(GridOption grid, Context context, AttributeSet attrs) { in DisplayOption() method in InvariantDeviceProfile.DisplayOption
870 DisplayOption() { in DisplayOption() method in InvariantDeviceProfile.DisplayOption
874 DisplayOption(GridOption grid) { in DisplayOption() method in InvariantDeviceProfile.DisplayOption
887 private DisplayOption multiply(float w) { in multiply()
903 private DisplayOption add(DisplayOption p) { in add()