Lines Matching refs:options
41 public static float getScaleRatio(Context context, Bundle options, int id) { in getScaleRatio() argument
43 if (options == null) { in getScaleRatio()
44 options = widgetManager.getAppWidgetOptions(id); in getScaleRatio()
46 if (options != null) { in getScaleRatio()
47 int minWidth = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH); in getScaleRatio()
60 public static float getHeightScaleRatio(Context context, Bundle options, int id) { in getHeightScaleRatio() argument
62 if (options == null) { in getHeightScaleRatio()
63 options = widgetManager.getAppWidgetOptions(id); in getHeightScaleRatio()
65 if (options != null) { in getHeightScaleRatio()
66 int minHeight = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT); in getHeightScaleRatio()
82 Bundle options = AppWidgetManager.getInstance(context).getAppWidgetOptions(id); in showList() local
83 if (options == null) { in showList()
87 int minHeight = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT); in showList()