Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 25 of 1310) sorted by relevance

12345678910>>...53

/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java34 import android.widget.RemoteViews;
94 RemoteViews widget = new RemoteViews(context.getPackageName(), in onReceive() local
97 WidgetUtils.setTimeFormat(widget, 0/*no am/pm*/, R.id.the_clock); in onReceive()
98 WidgetUtils.setClockSize(context, widget, ratio); in onReceive()
99 refreshAlarm(context, widget); in onReceive()
100 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widget); in onReceive()
114 RemoteViews widget = new RemoteViews(context.getPackageName(), in onReceive() local
116 refreshAlarm(context, widget); in onReceive()
117 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widget); in onReceive()
158 RemoteViews widget = new RemoteViews(context.getPackageName(), R.layout.digital_appwidget); in updateClock() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAppsCustomizePagedView.java46 import android.widget.GridLayout;
47 import android.widget.ImageView;
48 import android.widget.Toast;
387 AppWidgetProviderInfo widget = (AppWidgetProviderInfo) o; in onPackagesUpdated() local
388 if (!app.shouldShowAppOrWidgetProvider(widget.provider)) { in onPackagesUpdated()
391 if (widget.minWidth > 0 && widget.minHeight > 0) { in onPackagesUpdated()
393 int[] spanXY = Launcher.getSpanForWidget(mLauncher, widget); in onPackagesUpdated()
394 int[] minSpanXY = Launcher.getMinSpanForWidget(mLauncher, widget); in onPackagesUpdated()
399 mWidgets.add(widget); in onPackagesUpdated()
401 Log.e(TAG, "Widget " + widget.provider + " can not fit on this device (" + in onPackagesUpdated()
[all …]
DLauncherBackupHelper.java666 Widget widget = unpackProto(new Widget(), buffer, dataSize); in restoreWidget() local
667 if (DEBUG) Log.d(TAG, "unpacked " + widget.provider); in restoreWidget()
668 if (widget.icon.data != null) { in restoreWidget()
670 .decodeByteArray(widget.icon.data, 0, widget.icon.data.length); in restoreWidget()
674 IconCache.preloadIcon(mContext, ComponentName.unflattenFromString(widget.provider), in restoreWidget()
675 icon, widget.icon.dpi); in restoreWidget()
903 Widget widget = new Widget(); in packWidget() local
904 widget.provider = provider.flattenToShortString(); in packWidget()
905 widget.label = info.label; in packWidget()
906 widget.configure = info.configure != null; in packWidget()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java53 import android.widget.GridLayout;
54 import android.widget.ImageView;
55 import android.widget.Toast;
454 AppWidgetProviderInfo widget = (AppWidgetProviderInfo) o; in onPackagesUpdated() local
455 if (widget.minWidth > 0 && widget.minHeight > 0) { in onPackagesUpdated()
457 int[] spanXY = Launcher.getSpanForWidget(mLauncher, widget); in onPackagesUpdated()
458 int[] minSpanXY = Launcher.getMinSpanForWidget(mLauncher, widget); in onPackagesUpdated()
463 mWidgets.add(widget); in onPackagesUpdated()
465 Log.e(TAG, "Widget " + widget.provider + " can not fit on this device (" + in onPackagesUpdated()
466 widget.minWidth + ", " + widget.minHeight + ")"); in onPackagesUpdated()
[all …]
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettingsSetupWizard.java39 import android.widget.AdapterView;
40 import android.widget.AdapterView.OnItemClickListener;
41 import android.widget.Button;
42 import android.widget.CompoundButton;
43 import android.widget.CompoundButton.OnCheckedChangeListener;
44 import android.widget.DatePicker;
45 import android.widget.LinearLayout;
46 import android.widget.ListPopupWindow;
47 import android.widget.SimpleAdapter;
48 import android.widget.TextView;
[all …]
DTrustedCredentialsSettings.java40 import android.widget.AdapterView;
41 import android.widget.AdapterView.OnItemSelectedListener;
42 import android.widget.ArrayAdapter;
43 import android.widget.BaseAdapter;
44 import android.widget.BaseExpandableListAdapter;
45 import android.widget.Button;
46 import android.widget.ExpandableListView;
47 import android.widget.LinearLayout;
48 import android.widget.ListView;
49 import android.widget.ProgressBar;
[all …]
DApnPreference.java30 import android.widget.CompoundButton;
31 import android.widget.RadioButton;
32 import android.widget.RelativeLayout;
59 View widget = view.findViewById(R.id.apn_radiobutton); in getView() local
60 if ((widget != null) && widget instanceof RadioButton) { in getView()
61 RadioButton rb = (RadioButton) widget; in getView()
DDataUsageSummary.java109 import android.widget.AdapterView;
110 import android.widget.AdapterView.OnItemClickListener;
111 import android.widget.AdapterView.OnItemSelectedListener;
112 import android.widget.ArrayAdapter;
113 import android.widget.BaseAdapter;
114 import android.widget.Button;
115 import android.widget.ImageView;
116 import android.widget.LinearLayout;
117 import android.widget.ListView;
118 import android.widget.NumberPicker;
[all …]
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java40 import android.widget.AdapterView;
41 import android.widget.AdapterView.OnItemSelectedListener;
42 import android.widget.ArrayAdapter;
43 import android.widget.Button;
44 import android.widget.CompoundButton;
45 import android.widget.CompoundButton.OnCheckedChangeListener;
46 import android.widget.EditText;
47 import android.widget.LinearLayout;
48 import android.widget.RadioButton;
49 import android.widget.RadioGroup;
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapEmailSettingsAdapter.java38 import android.widget.BaseExpandableListAdapter;
39 import android.widget.CheckBox;
40 import android.widget.CheckedTextView;
41 import android.widget.CompoundButton.OnCheckedChangeListener;
42 import android.widget.ExpandableListView;
43 import android.widget.ExpandableListView.OnGroupExpandListener;
44 import android.widget.ImageView;
45 import android.widget.TextView;
46 import android.widget.Toast;
47 import android.widget.CompoundButton;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DTabsAdapter.java26 import android.widget.TabHost;
27 import android.widget.TabWidget;
142 TabWidget widget = mTabHost.getTabWidget(); in onPageSelected() local
143 int oldFocusability = widget.getDescendantFocusability(); in onPageSelected()
144 widget.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); in onPageSelected()
146 widget.setDescendantFocusability(oldFocusability); in onPageSelected()
149 View tab = widget.getChildTabViewAt(position); in onPageSelected()
151 widget.requestRectangleOnScreen(mTempRect, false); in onPageSelected()
/packages/apps/Browser/src/com/android/browser/
DNavScreen.java29 import android.widget.BaseAdapter;
30 import android.widget.FrameLayout;
31 import android.widget.ImageButton;
32 import android.widget.ImageView;
33 import android.widget.LinearLayout;
34 import android.widget.PopupMenu;
35 import android.widget.PopupMenu.OnMenuItemClickListener;
36 import android.widget.RelativeLayout;
37 import android.widget.TextView;
DErrorConsoleView.java29 import android.widget.Button;
30 import android.widget.EditText;
31 import android.widget.LinearLayout;
32 import android.widget.ListView;
33 import android.widget.TextView;
34 import android.widget.TwoLineListItem;
233 private static class ErrorConsoleMessageList extends android.widget.BaseAdapter
234 implements android.widget.ListAdapter {
DBrowserHistoryPage.java52 import android.widget.AbsListView;
53 import android.widget.AdapterView;
54 import android.widget.AdapterView.AdapterContextMenuInfo;
55 import android.widget.AdapterView.OnItemClickListener;
56 import android.widget.BaseAdapter;
57 import android.widget.ExpandableListView;
58 import android.widget.ExpandableListView.ExpandableListContextMenuInfo;
59 import android.widget.ExpandableListView.OnChildClickListener;
60 import android.widget.ListView;
61 import android.widget.TextView;
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java17 package com.android.contacts.common.widget;
34 import android.widget.ArrayAdapter;
35 import android.widget.CheckBox;
36 import android.widget.CompoundButton;
37 import android.widget.ImageView;
38 import android.widget.LinearLayout;
39 import android.widget.ListAdapter;
40 import android.widget.TextView;
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitiesActivity.java38 import android.widget.BaseAdapter;
39 import android.widget.CheckBox;
40 import android.widget.CompoundButton;
41 import android.widget.CompoundButton.OnCheckedChangeListener;
42 import android.widget.Filter;
43 import android.widget.Filterable;
44 import android.widget.ListView;
45 import android.widget.SearchView;
46 import android.widget.SearchView.OnQueryTextListener;
47 import android.widget.SectionIndexer;
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java47 import android.widget.AdapterView;
48 import android.widget.AdapterView.OnItemSelectedListener;
49 import android.widget.ArrayAdapter;
50 import android.widget.CompoundButton;
51 import android.widget.CompoundButton.OnCheckedChangeListener;
52 import android.widget.LinearLayout;
53 import android.widget.ListView;
54 import android.widget.RelativeLayout;
55 import android.widget.Spinner;
56 import android.widget.Switch;
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DSettingsToast.java17 package com.android.tv.settings.widget;
19 import com.android.tv.settings.widget.BitmapDownloader;
20 import com.android.tv.settings.widget.BitmapDownloader.BitmapCallback;
21 import com.android.tv.settings.widget.BitmapWorkerOptions;
30 import android.widget.ImageView;
31 import android.widget.TextView;
32 import android.widget.Toast;
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java29 import android.widget.AdapterView;
30 import android.widget.AdapterView.OnItemClickListener;
31 import android.widget.ArrayAdapter;
32 import android.widget.CheckedTextView;
33 import android.widget.ImageView;
34 import android.widget.LinearLayout;
35 import android.widget.ListPopupWindow;
36 import android.widget.ListView;
37 import android.widget.TextView;
DLabeledEditorView.java36 import android.widget.AdapterView;
37 import android.widget.AdapterView.OnItemSelectedListener;
38 import android.widget.ArrayAdapter;
39 import android.widget.Button;
40 import android.widget.EditText;
41 import android.widget.ImageView;
42 import android.widget.LinearLayout;
43 import android.widget.Spinner;
44 import android.widget.TextView;
/packages/apps/Music/src/com/android/music/
DAlbumBrowserActivity.java54 import android.widget.Adapter;
55 import android.widget.AlphabetIndexer;
56 import android.widget.CursorAdapter;
57 import android.widget.ExpandableListView;
58 import android.widget.ImageView;
59 import android.widget.ListAdapter;
60 import android.widget.ListView;
61 import android.widget.SectionIndexer;
62 import android.widget.SimpleCursorAdapter;
63 import android.widget.TextView;
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java38 import android.widget.BaseAdapter;
39 import android.widget.ImageView;
40 import android.widget.TextView;
43 import com.android.tv.settings.widget.BitmapDownloader;
44 import com.android.tv.settings.widget.BitmapDownloader.BitmapCallback;
45 import com.android.tv.settings.widget.BitmapWorkerOptions;
46 import com.android.tv.settings.widget.ScrollAdapter;
47 import com.android.tv.settings.widget.ScrollAdapterBase;
48 import com.android.tv.settings.widget.ScrollAdapterView;
49 import com.android.tv.settings.widget.ScrollAdapterView.OnScrollListener;
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/
DFillCallLogTestActivity.java39 import android.widget.Button;
40 import android.widget.CheckBox;
41 import android.widget.DatePicker;
42 import android.widget.EditText;
43 import android.widget.ProgressBar;
44 import android.widget.RadioButton;
45 import android.widget.TextView;
46 import android.widget.TimePicker;
47 import android.widget.Toast;
/packages/apps/FMRadio/src/com/android/fmradio/
DFmFavoriteActivity.java46 import android.widget.AdapterView;
47 import android.widget.BaseAdapter;
48 import android.widget.ImageView;
49 import android.widget.LinearLayout;
50 import android.widget.ListView;
51 import android.widget.ProgressBar;
52 import android.widget.RelativeLayout;
53 import android.widget.TextView;
54 import android.widget.Toast;
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java53 import android.widget.BaseAdapter;
54 import android.widget.Filter;
55 import android.widget.Filterable;
56 import android.widget.ImageView;
57 import android.widget.ListView;
58 import android.widget.SearchView;
59 import android.widget.Switch;
60 import android.widget.TextView;
71 import com.android.settings.widget.SwitchBar;
72 import com.android.settings.widget.ToggleSwitch;

12345678910>>...53