Lines Matching refs:options
32 public static float getScaleRatio(Context context, Bundle options, int id, int cityCount) { in getScaleRatio() argument
33 if (options == null) { in getScaleRatio()
39 options = widgetManager.getAppWidgetOptions(id); in getScaleRatio()
41 if (options != null) { in getScaleRatio()
42 int minWidth = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH); in getScaleRatio()
50 ratio = Math.min(ratio, getHeightScaleRatio(context, options, id)); in getScaleRatio()
70 private static float getHeightScaleRatio(Context context, Bundle options, int id) { in getHeightScaleRatio() argument
71 if (options == null) { in getHeightScaleRatio()
77 options = widgetManager.getAppWidgetOptions(id); in getHeightScaleRatio()
79 if (options != null) { in getHeightScaleRatio()
80 int minHeight = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT); in getHeightScaleRatio()