Home
last modified time | relevance | path

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

12345678910>>...64

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java16 package com.android.launcher3.widget;
23 import android.support.v7.widget.RecyclerView;
24 import android.support.v7.widget.RecyclerView.Adapter;
30 import android.widget.LinearLayout;
112 WidgetCell widget = (WidgetCell) mLayoutInflater.inflate( in onBindViewHolder() local
116 widget.setOnClickListener(mIconClickListener); in onBindViewHolder()
117 widget.setOnLongClickListener(mIconLongClickListener); in onBindViewHolder()
118 LayoutParams lp = widget.getLayoutParams(); in onBindViewHolder()
119 lp.height = widget.cellSize; in onBindViewHolder()
120 lp.width = widget.cellSize; in onBindViewHolder()
[all …]
DWidgetsRowViewHolder.java16 package com.android.launcher3.widget;
18 import android.support.v7.widget.RecyclerView.ViewHolder;
21 import android.widget.ImageView;
22 import android.widget.TextView;
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java35 import android.widget.RemoteViews;
95 RemoteViews widget = new RemoteViews(context.getPackageName(), in onReceive() local
98 WidgetUtils.setTimeFormat(context, widget, false /* showAmPm */, in onReceive()
100 WidgetUtils.setClockSize(context, widget, ratio); in onReceive()
101 refreshAlarm(context, widget, ratio); in onReceive()
102 appWidgetManager.partiallyUpdateAppWidget(appWidgetId, widget); in onReceive()
161 RemoteViews widget = new RemoteViews(context.getPackageName(), R.layout.digital_appwidget); in updateClock() local
171 widget.setOnClickPendingIntent(R.id.digital_appwidget, pendingIntent); in updateClock()
175 refreshDate(context, widget, ratio); in updateClock()
176 refreshAlarm(context, widget, ratio); in updateClock()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnPreference.java26 import android.widget.CompoundButton;
27 import android.widget.RadioButton;
28 import android.widget.RelativeLayout;
29 import android.widget.TextView;
66 View widget = view.findViewById(R.id.apn_radiobutton); in getView() local
67 if ((widget != null) && widget instanceof RadioButton) { in getView()
68 RadioButton rb = (RadioButton) widget; in getView()
96 final View widget = (View) buttonView.getParent(); in setApnRadioButtonContentDescription() local
97 final TextView tv = (TextView) widget.findViewById(android.R.id.title); in setApnRadioButtonContentDescription()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DTabsAdapter.java26 import android.widget.TabHost;
27 import android.widget.TabWidget;
134 TabWidget widget = mTabHost.getTabWidget(); in onPageSelected() local
135 int oldFocusability = widget.getDescendantFocusability(); in onPageSelected()
136 widget.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS); in onPageSelected()
138 widget.setDescendantFocusability(oldFocusability); in onPageSelected()
141 View tab = widget.getChildTabViewAt(position); in onPageSelected()
143 widget.requestRectangleOnScreen(mTempRect, false); in onPageSelected()
/packages/apps/TV/src/com/android/tv/search/
DProgramGuideSearchFragment.java25 import android.support.v17.leanback.widget.ArrayObjectAdapter;
26 import android.support.v17.leanback.widget.HeaderItem;
27 import android.support.v17.leanback.widget.ImageCardView;
28 import android.support.v17.leanback.widget.ListRow;
29 import android.support.v17.leanback.widget.ListRowPresenter;
30 import android.support.v17.leanback.widget.ObjectAdapter;
31 import android.support.v17.leanback.widget.OnItemViewClickedListener;
32 import android.support.v17.leanback.widget.Presenter;
33 import android.support.v17.leanback.widget.Row;
34 import android.support.v17.leanback.widget.RowPresenter;
[all …]
/packages/apps/Settings/src/com/android/settings/
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 onBindViewHolder() local
60 if ((widget != null) && widget instanceof RadioButton) { in onBindViewHolder()
61 RadioButton rb = (RadioButton) widget; in onBindViewHolder()
DDateTimeSettingsSetupWizard.java35 import android.widget.AdapterView;
36 import android.widget.AdapterView.OnItemClickListener;
37 import android.widget.Button;
38 import android.widget.CompoundButton;
39 import android.widget.CompoundButton.OnCheckedChangeListener;
40 import android.widget.DatePicker;
41 import android.widget.ListPopupWindow;
42 import android.widget.SimpleAdapter;
43 import android.widget.TimePicker;
DDisplay.java28 import android.widget.ArrayAdapter;
29 import android.widget.Button;
30 import android.widget.Spinner;
31 import android.widget.TextView;
109 public void onItemSelected(android.widget.AdapterView av, View v,
122 public void onNothingSelected(android.widget.AdapterView av) {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetProviderInfo.java50 public LauncherAppWidgetProviderInfo(Context context, CustomAppWidget widget) { in LauncherAppWidgetProviderInfo() argument
53 provider = new ComponentName(context, widget.getClass().getName()); in LauncherAppWidgetProviderInfo()
54 icon = widget.getIcon(); in LauncherAppWidgetProviderInfo()
55 label = widget.getLabel(); in LauncherAppWidgetProviderInfo()
56 previewImage = widget.getPreviewImage(); in LauncherAppWidgetProviderInfo()
57 initialLayout = widget.getWidgetLayout(); in LauncherAppWidgetProviderInfo()
58 resizeMode = widget.getResizeMode(); in LauncherAppWidgetProviderInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.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/Launcher3/tests/src/com/android/launcher3/
DQuickAddWidgetTest.java64 UiObject2 widget = getVisibleWidgetByName(name); in getWidgetByName() local
65 if (widget != null) { in getWidgetByName()
66 return widget; in getWidgetByName()
75 for (UiObject2 widget : visibleWidgets) { in getVisibleWidgetByName()
76 if (widget.hasObject(By.text(name))) { in getVisibleWidgetByName()
77 return widget; in getVisibleWidgetByName()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugMmsConfigFragment.java25 import android.widget.AdapterView;
26 import android.widget.AdapterView.OnItemSelectedListener;
27 import android.widget.ArrayAdapter;
28 import android.widget.BaseAdapter;
29 import android.widget.ListView;
30 import android.widget.Spinner;
31 import android.widget.TextView;
DDebugMmsConfigItemView.java27 import android.widget.CompoundButton;
28 import android.widget.CompoundButton.OnCheckedChangeListener;
29 import android.widget.EditText;
30 import android.widget.LinearLayout;
31 import android.widget.Switch;
32 import android.widget.TextView;
/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/services/Car/car-support-lib/src/android/support/car/ui/
DCarListItemViewHolder.java18 import android.support.v7.widget.RecyclerView;
21 import android.widget.CheckBox;
22 import android.widget.FrameLayout;
23 import android.widget.ImageView;
24 import android.widget.TextView;
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java17 package com.android.contacts.common.widget;
35 import android.widget.ArrayAdapter;
36 import android.widget.CheckBox;
37 import android.widget.CompoundButton;
38 import android.widget.ImageView;
39 import android.widget.LinearLayout;
40 import android.widget.ListAdapter;
41 import android.widget.TextView;
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrBrowseFragment.java22 import android.support.v17.leanback.widget.ArrayObjectAdapter;
23 import android.support.v17.leanback.widget.ClassPresenterSelector;
24 import android.support.v17.leanback.widget.HeaderItem;
25 import android.support.v17.leanback.widget.ListRow;
26 import android.support.v17.leanback.widget.ListRowPresenter;
27 import android.support.v17.leanback.widget.ObjectAdapter;
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/
DLinearLayoutWithSnackbarBehavior.java17 package com.android.deskclock.widget.toast;
20 import android.support.design.widget.CoordinatorLayout;
21 import android.support.design.widget.Snackbar;
24 import android.widget.LinearLayout;
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersActivity.java44 import android.widget.Button;
45 import android.widget.EditText;
46 import android.widget.LinearLayout;
47 import android.widget.ListView;
48 import android.widget.ProgressBar;
49 import android.widget.RelativeLayout;
50 import android.widget.TextView;
51 import android.widget.Toast;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DSettingsToast.java17 package com.android.tv.settings.widget;
25 import android.widget.ImageView;
26 import android.widget.TextView;
27 import android.widget.Toast;
30 import com.android.tv.settings.widget.BitmapDownloader.BitmapCallback;
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleDaysSelection.java22 import android.widget.CheckBox;
23 import android.widget.CompoundButton;
24 import android.widget.CompoundButton.OnCheckedChangeListener;
25 import android.widget.LinearLayout;
26 import android.widget.ScrollView;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMaterialSearchSuggestionsList.java29 import android.widget.AdapterView;
30 import android.widget.BaseAdapter;
31 import android.widget.ImageView;
32 import android.widget.LinearLayout;
33 import android.widget.ListView;
34 import android.widget.TextView;
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleScreenMagnificationPreferenceFragment.java36 import android.widget.ImageView;
37 import android.widget.MediaController;
38 import android.widget.RelativeLayout.LayoutParams;
39 import android.widget.VideoView;
42 import com.android.settings.widget.ToggleSwitch;
43 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/job/
DJobSchedulerFragment.java31 import android.widget.Button;
32 import android.widget.CheckBox;
33 import android.widget.EditText;
34 import android.widget.RadioGroup;
35 import android.widget.TextView;
36 import android.widget.Toast;

12345678910>>...64