Home
last modified time | relevance | path

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

12345678910>>...77

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java16 package com.android.launcher3.widget;
19 import android.support.v7.widget.RecyclerView;
20 import android.support.v7.widget.RecyclerView.Adapter;
175 WidgetCell widget = (WidgetCell) mLayoutInflater.inflate( in onBindViewHolder() local
179 widget.setOnClickListener(mIconClickListener); in onBindViewHolder()
180 widget.setOnLongClickListener(mIconLongClickListener); in onBindViewHolder()
181 row.addView(widget); in onBindViewHolder()
195 WidgetCell widget = (WidgetCell) row.getChildAt(2*i); in onBindViewHolder() local
196 widget.applyFromCellItem(infoList.get(i), mWidgetPreviewLoader); in onBindViewHolder()
197 widget.ensurePreview(); in onBindViewHolder()
[all …]
DWidgetsBottomSheet.java17 package com.android.launcher3.widget;
32 import android.widget.TextView;
130 WidgetCell widget = addItemCell(widgetCells); in onWidgetsBound() local
131 widget.applyFromCellItem(widgets.get(i), LauncherAppState.getInstance(mLauncher) in onWidgetsBound()
133 widget.ensurePreview(); in onWidgetsBound()
134 widget.setVisibility(View.VISIBLE); in onWidgetsBound()
160 WidgetCell widget = (WidgetCell) LayoutInflater.from(getContext()).inflate( in addItemCell() local
163 widget.setOnClickListener(this); in addItemCell()
164 widget.setOnLongClickListener(this); in addItemCell()
165 widget.setAnimatePreview(false); in addItemCell()
[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/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/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/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/dvr/ui/browse/
DSeriesRecordingDetailsFragment.java24 import android.support.v17.leanback.widget.Action;
25 import android.support.v17.leanback.widget.ArrayObjectAdapter;
26 import android.support.v17.leanback.widget.ClassPresenterSelector;
27 import android.support.v17.leanback.widget.DetailsOverviewRow;
28 import android.support.v17.leanback.widget.DetailsOverviewRowPresenter;
29 import android.support.v17.leanback.widget.HeaderItem;
30 import android.support.v17.leanback.widget.ListRow;
31 import android.support.v17.leanback.widget.OnActionClickedListener;
32 import android.support.v17.leanback.widget.PresenterSelector;
33 import android.support.v17.leanback.widget.SparseArrayObjectAdapter;
DDvrDetailsFragment.java29 import android.support.v17.leanback.widget.ArrayObjectAdapter;
30 import android.support.v17.leanback.widget.ClassPresenterSelector;
31 import android.support.v17.leanback.widget.DetailsOverviewRow;
32 import android.support.v17.leanback.widget.DetailsOverviewRowPresenter;
33 import android.support.v17.leanback.widget.OnActionClickedListener;
34 import android.support.v17.leanback.widget.PresenterSelector;
35 import android.support.v17.leanback.widget.SparseArrayObjectAdapter;
36 import android.support.v17.leanback.widget.VerticalGridView;
38 import android.widget.Toast;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DGuidedActionsAlignUtil.java20 import android.support.v17.leanback.widget.BaseGridView;
21 import android.support.v17.leanback.widget.FacetProvider;
22 import android.support.v17.leanback.widget.GuidanceStylist;
23 import android.support.v17.leanback.widget.GuidedActionsStylist;
24 import android.support.v17.leanback.widget.ItemAlignmentFacet;
25 import android.support.v17.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef;
26 import android.support.v17.leanback.widget.VerticalGridView;
/packages/services/Car/tools/emulator/
Dgui.py46 widget = QWidget()
47 widget.setWindowTitle("VHal Driver")
48 widget.setGeometry(100,100,200,50)
50 widget.setLayout(topLevelLayout)
55 gearTitle = QLabel(widget)
59 gearDisplay = QLabel(widget)
99 widget.show()
/packages/apps/Settings/src/com/android/settings/
DApnPreference.java31 import android.widget.CompoundButton;
32 import android.widget.RadioButton;
33 import android.widget.RelativeLayout;
62 View widget = view.findViewById(R.id.apn_radiobutton); in onBindViewHolder() local
63 if ((widget != null) && widget instanceof RadioButton) { in onBindViewHolder()
64 RadioButton rb = (RadioButton) widget; in onBindViewHolder()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java31 import android.widget.BaseExpandableListAdapter;
32 import android.widget.CheckBox;
33 import android.widget.CompoundButton.OnCheckedChangeListener;
34 import android.widget.ExpandableListView;
35 import android.widget.ExpandableListView.OnGroupExpandListener;
36 import android.widget.ImageView;
37 import android.widget.TextView;
38 import android.widget.Toast;
39 import android.widget.CompoundButton;
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetProviderInfo.java55 public LauncherAppWidgetProviderInfo(Context context, CustomAppWidget widget) { in LauncherAppWidgetProviderInfo() argument
58 provider = new ComponentName(context, widget.getClass().getName()); in LauncherAppWidgetProviderInfo()
59 icon = widget.getIcon(); in LauncherAppWidgetProviderInfo()
60 label = widget.getLabel(); in LauncherAppWidgetProviderInfo()
61 previewImage = widget.getPreviewImage(); in LauncherAppWidgetProviderInfo()
62 initialLayout = widget.getWidgetLayout(); in LauncherAppWidgetProviderInfo()
63 resizeMode = widget.getResizeMode(); in LauncherAppWidgetProviderInfo()
/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/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DNotificationListenerActivity.java31 import android.support.v7.widget.LinearLayoutManager;
32 import android.support.v7.widget.RecyclerView;
33 import android.support.v7.widget.RecyclerView.ViewHolder;
34 import android.support.v7.widget.helper.ItemTouchHelper;
35 import android.support.v7.widget.helper.ItemTouchHelper.SimpleCallback;
40 import android.widget.BaseAdapter;
41 import android.widget.Button;
42 import android.widget.FrameLayout;
43 import android.widget.TextView;
/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;
/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.SeekBar;
56 import android.widget.SeekBar.OnSeekBarChangeListener;
[all …]
/packages/apps/Contacts/src/com/android/contacts/widget/
DSelectPhoneAccountDialogFragment.java17 package com.android.contacts.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/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/Dialer/java/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java17 package com.android.contacts.common.widget;
36 import android.widget.ArrayAdapter;
37 import android.widget.CheckBox;
38 import android.widget.CompoundButton;
39 import android.widget.ImageView;
40 import android.widget.LinearLayout;
41 import android.widget.ListAdapter;
42 import android.widget.TextView;
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java28 import android.support.design.widget.Snackbar;
29 import android.support.v7.widget.LinearLayoutManager;
30 import android.support.v7.widget.RecyclerView;
34 import android.widget.Button;
35 import android.widget.ImageView;
36 import android.widget.TextView;
48 import com.android.deskclock.widget.EmptyViewController;
49 import com.android.deskclock.widget.toast.SnackbarManager;
50 import com.android.deskclock.widget.toast.ToastManager;
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java50 import android.widget.AdapterView;
51 import android.widget.BaseAdapter;
52 import android.widget.Filter;
53 import android.widget.Filterable;
54 import android.widget.ImageView;
55 import android.widget.LinearLayout;
56 import android.widget.ListView;
57 import android.widget.SearchView;
58 import android.widget.Switch;
59 import android.widget.TextView;
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestRttActivity.java29 import android.widget.AdapterView;
30 import android.widget.ArrayAdapter;
31 import android.widget.Button;
32 import android.widget.EditText;
33 import android.widget.Spinner;
34 import android.widget.TextView;
35 import android.widget.Toast;
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java25 import android.support.design.widget.TabLayout;
26 import android.support.design.widget.TabLayout.TabLayoutOnPageChangeListener;
27 import android.support.design.widget.TabLayout.ViewPagerOnTabSelectedListener;
38 import android.widget.LinearLayout;
39 import android.widget.TextView;
40 import android.widget.Toolbar;
41 import android.widget.ViewFlipper;
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java30 import android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter;
31 import android.support.v17.leanback.widget.Action;
32 import android.support.v17.leanback.widget.ArrayObjectAdapter;
33 import android.support.v17.leanback.widget.PlaybackControlsRow;
34 import android.support.v17.leanback.widget.PlaybackControlsRow.ClosedCaptioningAction;
35 import android.support.v17.leanback.widget.PlaybackControlsRow.MultiAction;
36 import android.support.v17.leanback.widget.PlaybackControlsRowPresenter;
37 import android.support.v17.leanback.widget.RowPresenter;

12345678910>>...77