/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsListAdapter.java | 16 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 …]
|
D | WidgetsBottomSheet.java | 17 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/ |
D | ApnPreference.java | 26 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/ |
D | AppsCustomizePagedView.java | 53 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/ |
D | ProgramGuideSearchFragment.java | 25 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/ |
D | TabsAdapter.java | 26 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/ |
D | SeriesRecordingDetailsFragment.java | 24 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;
|
D | DvrDetailsFragment.java | 29 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/ |
D | GuidedActionsAlignUtil.java | 20 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/ |
D | gui.py | 46 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/ |
D | ApnPreference.java | 31 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/ |
D | BluetoothMapSettingsAdapter.java | 31 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/ |
D | LauncherAppWidgetProviderInfo.java | 55 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/ |
D | RecurrencePickerDialog.java | 40 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/ |
D | NotificationListenerActivity.java | 31 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/ |
D | DebugMmsConfigFragment.java | 25 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/ |
D | ActivityMusic.java | 47 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/ |
D | SelectPhoneAccountDialogFragment.java | 17 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/ |
D | BlockedNumbersActivity.java | 44 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/ |
D | SelectPhoneAccountDialogFragment.java | 17 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/ |
D | AlarmClockFragment.java | 28 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/ |
D | PrintServiceSettingsFragment.java | 50 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/ |
D | TestRttActivity.java | 29 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/ |
D | ViewInfoActivity.java | 25 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/ |
D | DvrPlaybackControlHelper.java | 30 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;
|