/packages/apps/Launcher3/tests/assets/ReorderAlgorithmUnitTest/ |
D | reorder_algorithm_test_cases | 10 # * [a-z]: Represents a widget and it can be any number or character 12 # area of the widget. 17 # "x y spanX spanY minSpanX minSpanY type<widget/icon/folder> ifSolutionIsPossible<valid/invalid>" 33 …nt to add an item, the format is "x y spanX spanY minSpanX minSpanY type<widget/icon/folder> ifSol… 34 arguments: 1 3 5 4 4 1 widget valid 58 arguments: 3 3 4 6 1 2 widget valid 98 arguments: 2 1 1 5 1 1 widget valid 120 arguments: 1 1 3 6 1 4 widget valid 140 arguments: 2 5 7 1 3 1 widget valid 173 arguments: 1 0 7 1 2 1 widget valid [all …]
|
/packages/apps/TvSettings/ |
D | two-panel-baseline-profile.txt | 1 HPLandroidx/recyclerview/widget/RecyclerView$ViewFlinger;->run()V 29 HSPLandroidx/appcompat/widget/DrawableUtils;->fixDrawable(Landroid/graphics/drawable/Drawable;)V 30 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->checkVectorDrawableSetup(Landroid/content/C… 31 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->createCacheKey(Landroid/util/TypedValue;)J 32 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->createDrawableIfNeeded(Landroid/content/Con… 33 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->get()Landroidx/appcompat/widget/ResourceMan… 34 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->getCachedDrawable(Landroid/content/Context;… 35 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->getDrawable(Landroid/content/Context;IZ)Lan… 36 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->getTintList(Landroid/content/Context;I)Land… 37 HSPLandroidx/appcompat/widget/ResourceManagerInternal;->tintDrawable(Landroid/content/Context;IZLan… [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsListTableViewHolderBinder.java | 16 package com.android.launcher3.widget.picker; 18 import static com.android.launcher3.widget.picker.WidgetsListItemAnimator.CHANGE_DURATION_MS; 19 import static com.android.launcher3.widget.picker.WidgetsListItemAnimator.MOVE_DURATION_MS; 33 import android.widget.TableLayout; 42 import com.android.launcher3.widget.WidgetCell; 43 import com.android.launcher3.widget.WidgetTableRow; 44 import com.android.launcher3.widget.model.WidgetsListContentEntry; 45 import com.android.launcher3.widget.util.WidgetsTableUtils; 121 WidgetCell widget = (WidgetCell) row.getChildAt(j); in bindViewHolder() local 122 widget.clear(); in bindViewHolder() [all …]
|
D | WidgetsRecommendationTableLayout.java | 16 package com.android.launcher3.widget.picker; 20 import static com.android.launcher3.widget.util.WidgetSizes.getWidgetSizePx; 21 import static com.android.launcher3.widget.util.WidgetsTableUtils.WIDGETS_TABLE_ROW_SIZE_COMPARATOR; 30 import android.widget.TableLayout; 38 import com.android.launcher3.widget.WidgetCell; 39 import com.android.launcher3.widget.WidgetTableRow; 40 import com.android.launcher3.widget.picker.util.WidgetPreviewContainerSize; 125 WidgetCell widget = (WidgetCell) LayoutInflater.from( in addItemCell() local 127 widget.addPreviewReadyListener(parent); in addItemCell() 128 widget.setOnClickListener(mWidgetCellOnClickListener); in addItemCell() [all …]
|
D | WidgetsListAdapter.java | 16 package com.android.launcher3.widget.picker; 22 import static com.android.launcher3.widget.BaseWidgetSheet.DEFAULT_MAX_HORIZONTAL_SPANS; 37 import androidx.recyclerview.widget.DiffUtil; 38 import androidx.recyclerview.widget.DiffUtil.DiffResult; 39 import androidx.recyclerview.widget.LinearLayoutManager; 40 import androidx.recyclerview.widget.RecyclerView; 41 import androidx.recyclerview.widget.RecyclerView.Adapter; 42 import androidx.recyclerview.widget.RecyclerView.ViewHolder; 49 import com.android.launcher3.widget.model.WidgetListSpaceEntry; 50 import com.android.launcher3.widget.model.WidgetsListBaseEntry; [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | WidgetPickerActivity.java | 47 import com.android.launcher3.widget.BaseWidgetSheet; 48 import com.android.launcher3.widget.WidgetCell; 49 import com.android.launcher3.widget.model.WidgetsListBaseEntry; 50 import com.android.launcher3.widget.model.WidgetsListHeaderEntry; 51 import com.android.launcher3.widget.picker.WidgetsFullSheet; 234 /*widgetItemFilter=*/ widget -> { 236 isWidgetAcceptable(widget); 272 private WidgetAcceptabilityVerdict isWidgetAcceptable(WidgetItem widget) { 273 final AppWidgetProviderInfo info = widget.widgetInfo; 275 return rejectWidget(widget, "shortcut"); [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsBottomSheet.java | 17 package com.android.launcher3.widget; 32 import android.widget.ScrollView; 33 import android.widget.TableLayout; 34 import android.widget.TextView; 43 import com.android.launcher3.widget.util.WidgetsTableUtils; 143 WidgetCell widget = addItemCell(tableRow); in onWidgetsBound() 144 widget.applyFromCellItem(widgetItem); in onWidgetsBound() 145 if (widget.matchesItem(getLastSelectedWidgetItem())) { in onWidgetsBound() 146 widget.callOnClick(); in onWidgetsBound() 167 WidgetCell widget = (WidgetCell) LayoutInflater.from(getContext()) in addItemCell() local [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | PasswordHelper.java | 19 import static com.android.internal.widget.PasswordValidationError.CONTAINS_INVALID_CHARACTERS; 20 import static com.android.internal.widget.PasswordValidationError.CONTAINS_SEQUENCE; 21 import static com.android.internal.widget.PasswordValidationError.NOT_ENOUGH_DIGITS; 22 import static com.android.internal.widget.PasswordValidationError.NOT_ENOUGH_LETTERS; 23 import static com.android.internal.widget.PasswordValidationError.NOT_ENOUGH_LOWER_CASE; 24 import static com.android.internal.widget.PasswordValidationError.NOT_ENOUGH_NON_DIGITS; 25 import static com.android.internal.widget.PasswordValidationError.NOT_ENOUGH_NON_LETTER; 26 import static com.android.internal.widget.PasswordValidationError.NOT_ENOUGH_SYMBOLS; 27 import static com.android.internal.widget.PasswordValidationError.NOT_ENOUGH_UPPER_CASE; 28 import static com.android.internal.widget.PasswordValidationError.RECENTLY_USED; [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | WidgetsPredictionUpdateTask.java | 33 import com.android.launcher3.widget.PendingAddWidgetInfo; 34 import com.android.launcher3.widget.picker.WidgetRecommendationCategoryProvider; 64 widget -> new ComponentKey(widget.providerName, widget.user)).collect( in execute() 75 WidgetItem widget = allWidgets.get(componentKey); in execute() local 76 if (widget == null) { in execute() 81 if (notOnWorkspace.test(widget)) { in execute() 82 servicePredictedItems.add(widget); in execute()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | EntityHeaderControllerTest.java | 17 package com.android.settings.widget; 37 import android.widget.ImageButton; 38 import android.widget.TextView; 45 import com.android.settingslib.widget.LayoutPreference; 108 …com.android.settingslib.widget.preference.layout.R.layout.settings_entity_header, null /* root */); in testBuildView_constructedWithView_shouldReturnSameView() 119 …com.android.settingslib.widget.preference.layout.R.layout.settings_entity_header, null /* root */); in bindViews_shouldBindAllData() 123 com.android.settingslib.widget.preference.layout.R.id.entity_header_second_summary); in bindViews_shouldBindAllData() 147 …com.android.settingslib.widget.preference.layout.R.layout.settings_entity_header, null /* root */); in bindButton_hasEditClickListener_shouldShowButton() 171 …com.android.settingslib.widget.preference.layout.R.layout.settings_entity_header, null /* root */); in bindButton_noEditClickListener_shouldNotShowButton() 188 …com.android.settingslib.widget.preference.layout.R.layout.settings_entity_header, null /* root */); in bindButton_noAppInfo_shouldNotAttachClickListener() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 34 import com.android.launcher3.widget.PendingAddWidgetInfo; 35 import com.android.launcher3.widget.model.WidgetsListBaseEntry; 36 import com.android.launcher3.widget.model.WidgetsListContentEntry; 37 import com.android.launcher3.widget.picker.WidgetRecommendationCategory; 214 .forEach(widget -> allWidgetItems.put( 215 new ComponentKey(widget.componentName, widget.user), widget))); 232 widget -> new ComponentKey(widget.componentName, widget.user), 257 .filter(widget -> packageUserKey.mUser.equals(widget.user))
|
/packages/apps/TV/src/com/android/tv/search/ |
D | ProgramGuideSearchFragment.java | 25 import androidx.leanback.widget.ArrayObjectAdapter; 26 import androidx.leanback.widget.HeaderItem; 27 import androidx.leanback.widget.ImageCardView; 28 import androidx.leanback.widget.ListRow; 29 import androidx.leanback.widget.ListRowPresenter; 30 import androidx.leanback.widget.ObjectAdapter; 31 import androidx.leanback.widget.OnItemViewClickedListener; 32 import androidx.leanback.widget.Presenter; 33 import androidx.leanback.widget.Row; 34 import androidx.leanback.widget.RowPresenter; [all …]
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AppViewHolder.java | 21 import android.widget.ImageView; 22 import android.widget.TextView; 34 public View widget; field in AppViewHolder 39 … inflater.inflate(com.android.settingslib.widget.preference.app.R.layout.preference_app, null); in createOrRecycle() 49 … convertView.findViewById(com.android.settingslib.widget.preference.app.R.id.appendix); in createOrRecycle() 50 holder.widget = convertView.findViewById(android.R.id.widget_frame); in createOrRecycle()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | GuidedActionsAlignUtil.java | 24 import androidx.leanback.widget.BaseGridView; 25 import androidx.leanback.widget.FacetProvider; 26 import androidx.leanback.widget.GuidanceStylist; 27 import androidx.leanback.widget.GuidedActionsStylist; 28 import androidx.leanback.widget.ItemAlignmentFacet; 29 import androidx.leanback.widget.ItemAlignmentFacet.ItemAlignmentDef; 30 import androidx.leanback.widget.VerticalGridView;
|
/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; 65 View widget = view.findViewById(R.id.apn_radiobutton); in getView() local 66 if ((widget != null) && widget instanceof RadioButton) { in getView() 67 RadioButton rb = (RadioButton) widget; in getView()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/ |
D | WidgetsListTableViewHolderBinderTest.java | 16 package com.android.launcher3.widget.picker; 38 import android.widget.FrameLayout; 39 import android.widget.TableRow; 40 import android.widget.TextView; 54 import com.android.launcher3.widget.DatabaseWidgetPreviewLoader; 55 import com.android.launcher3.widget.LauncherAppWidgetProviderInfo; 56 import com.android.launcher3.widget.WidgetCell; 57 import com.android.launcher3.widget.WidgetManagerHelper; 58 import com.android.launcher3.widget.model.WidgetsListContentEntry;
|
/packages/apps/Settings/src/com/android/settings/remoteauth/introduction/ |
D | IntroductionImageCarousel.kt | 25 import android.widget.ImageView 26 import android.widget.TextView 29 import androidx.constraintlayout.widget.ConstraintLayout 30 import androidx.recyclerview.widget.LinearLayoutManager 31 import androidx.recyclerview.widget.RecyclerView 32 import androidx.viewpager2.widget.MarginPageTransformer 33 import androidx.viewpager2.widget.ViewPager2 38 import com.android.settingslib.widget.LottieColorUtils
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/ |
D | PermissionHistoryPreference.java | 36 import android.widget.ImageView; 37 import android.widget.LinearLayout; 38 import android.widget.TextView; 126 ViewGroup widget = (ViewGroup) holder.findViewById(R.id.permission_history_layout); in onBindViewHolder() local 127 if (widget == null) { in onBindViewHolder() 129 widget = (ViewGroup) inflater.inflate(R.layout.permission_history_widget, in onBindViewHolder() 132 widgetFrameParent.addView(widget, 0); in onBindViewHolder() 137 TextView permissionHistoryTime = widget.findViewById(R.id.permission_history_time); in onBindViewHolder() 140 ImageView permissionIcon = widget.findViewById(R.id.permission_history_icon); in onBindViewHolder() 146 View dashLine = widget.findViewById(R.id.permission_history_dash_line); in onBindViewHolder()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/ |
D | WallpaperActionSelectionBottomSheet.kt | 16 package com.android.wallpaper.widget.floatingsheetcontent 20 import android.widget.LinearLayout 21 import android.widget.TextView 22 import com.android.internal.widget.LinearLayoutManager 23 import com.android.internal.widget.RecyclerView
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | PreviewActionFloatingSheet.kt | 23 import android.widget.Button in <lambda>() 24 import android.widget.FrameLayout in <lambda>() 25 import android.widget.TextView in <lambda>() 29 import androidx.slice.widget.SliceLiveData in <lambda>() 30 import androidx.slice.widget.SliceView in <lambda>() 35 import com.android.wallpaper.widget.floatingsheetcontent.WallpaperActionSelectionBottomSheet in <lambda>() 36 import com.android.wallpaper.widget.floatingsheetcontent.WallpaperActionsToggleAdapter in <lambda>() 37 import com.android.wallpaper.widget.floatingsheetcontent.WallpaperActionsToggleAdapter.WallpaperEff… in <lambda>() 38 import com.android.wallpaper.widget.floatingsheetcontent.WallpaperEffectsView2 in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/spa/network/ |
D | SimOnboardingLabelSim.kt | 36 import com.android.settingslib.spa.widget.dialog.AlertDialogButton 37 import com.android.settingslib.spa.widget.dialog.rememberAlertDialogPresenter 38 import com.android.settingslib.spa.widget.editor.SettingsOutlinedTextField 40 import com.android.settingslib.spa.widget.preference.Preference 41 import com.android.settingslib.spa.widget.preference.PreferenceModel 42 import com.android.settingslib.spa.widget.scaffold.BottomAppBarButton 43 import com.android.settingslib.spa.widget.scaffold.SuwScaffold
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/ |
D | TaplReorderWidgetsTest.java | 129 WidgetRect widget = workspaceBoards.get(0).getWidgets().get(i); in getWidgetClosestTo() local 130 if (widget.getCellX() == 0 && widget.getCellY() == 0) { in getWidgetClosestTo() 133 int distance = Math.abs(point.x - widget.getCellX()) in getWidgetClosestTo() 134 + Math.abs(point.y - widget.getCellY()); in getWidgetClosestTo() 140 bestRect = widget; in getWidgetClosestTo() 158 Widget widget = mLauncher.getWorkspace().getWidgetAtCell(widgetRect.getCellX(), in triggerWidgetResize() local 160 WidgetResizeFrame resizeFrame = widget.dragWidgetToWorkspace(widgetRect.getCellX(), in triggerWidgetResize() 181 Widget widget = mLauncher.getWorkspace().getWidgetAtCell(mainWidgetCellPos.getCellX(), in runTestCase() local 183 assertNotNull(widget); in runTestCase() 184 WidgetResizeFrame resizeFrame = widget.dragWidgetToWorkspace(testCase.moveMainTo.x, in runTestCase()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | SeparatedTabLayout.java | 1 package com.android.wallpaper.widget; 3 import static androidx.viewpager2.widget.ViewPager2.SCROLL_STATE_DRAGGING; 4 import static androidx.viewpager2.widget.ViewPager2.SCROLL_STATE_IDLE; 5 import static androidx.viewpager2.widget.ViewPager2.SCROLL_STATE_SETTLING; 12 import androidx.viewpager2.widget.ViewPager2; 13 import androidx.viewpager2.widget.ViewPager2.OnPageChangeCallback;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | GuidedActionsAlignUtil.java | 23 import androidx.leanback.widget.BaseGridView; 24 import androidx.leanback.widget.FacetProvider; 25 import androidx.leanback.widget.GuidedActionsStylist; 26 import androidx.leanback.widget.ItemAlignmentFacet; 27 import androidx.leanback.widget.VerticalGridView;
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/reorder/ |
D | ReorderFragment.kt | 22 import android.widget.Button 23 import android.widget.ImageButton 27 import androidx.recyclerview.widget.ItemTouchHelper 28 import androidx.recyclerview.widget.LinearLayoutManager 29 import androidx.recyclerview.widget.LinearSnapHelper 30 import androidx.recyclerview.widget.RecyclerView
|