Home | History | Annotate | Download | only in alarmclock

Lines Matching defs:options

40     public static float getScaleRatio(Context context, Bundle options, int id) {
41 if (options == null) {
47 options = widgetManager.getAppWidgetOptions(id);
49 if (options != null) {
50 int minWidth = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH);
59 int minHeight = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT);
62 ratio = Math.min(ratio, getHeightScaleRatio(context, options, id));
70 private static float getHeightScaleRatio(Context context, Bundle options, int id) {
71 if (options == null) {
77 options = widgetManager.getAppWidgetOptions(id);
79 if (options != null) {
80 int minHeight = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT);
108 Bundle options = widgetManager.getAppWidgetOptions(id);
109 if (options == null) {
118 int height = options.getInt(whichHeight);