/packages/apps/ThemePicker/src/com/android/customization/model/grid/ |
D | GridOption.java | 38 public class GridOption implements CustomizationOption<GridOption>, Parcelable { class 39 public static final Creator<GridOption> CREATOR = new Creator<GridOption>() { 41 public GridOption createFromParcel(Parcel in) { 42 return new GridOption(in); 46 public GridOption[] newArray(int size) { 47 return new GridOption[size]; 61 public GridOption(String title, String name, boolean isCurrent, int rows, int cols, in GridOption() method in GridOption 74 protected GridOption(Parcel in) { in GridOption() method in GridOption 104 public boolean isActive(CustomizationManager<GridOption> manager) { in isActive() 114 if (obj instanceof GridOption) { in equals() [all …]
|
D | GridOptionsManager.java | 38 public class GridOptionsManager implements CustomizationManager<GridOption> { 72 public void apply(GridOption option, Callback callback) { in apply() 83 public void fetchOptions(OptionsFetchedListener<GridOption> callback, boolean reload) { in fetchOptions() 93 private static class FetchTask extends AsyncTask<Void, Void, List<GridOption>> { 95 @Nullable private final OptionsFetchedListener<GridOption> mCallback; 99 @Nullable OptionsFetchedListener<GridOption> callback, boolean reload) { in FetchTask() 106 protected List<GridOption> doInBackground(Void[] params) { in doInBackground() 111 protected void onPostExecute(List<GridOption> gridOptions) { in onPostExecute()
|
D | GridSectionController.java | 61 mGridOptionsManager.fetchOptions(new OptionsFetchedListener<GridOption>() { in createView() 63 public void onOptionsLoaded(List<GridOption> options) { in createView() 83 private GridOption getActiveOption(List<GridOption> options) { in getActiveOption()
|
D | LauncherGridOptionsProvider.java | 55 private List<GridOption> mOptions; 72 List<GridOption> fetch(boolean reload) { in fetch() 92 mOptions.add(new GridOption(title, name, isSet, rows, cols, in fetch()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/ |
D | GridFragment.java | 36 import com.android.customization.model.grid.GridOption; 72 private OptionSelectorController<GridOption> mOptionsController; 74 private GridOption mSelectedOption; 176 private void applyGridOption(GridOption gridOption) { in applyGridOption() 184 mGridManager.fetchOptions(new OptionsFetchedListener<GridOption>() { in setUpOptions() 186 public void onOptionsLoaded(List<GridOption> options) { in setUpOptions() 193 GridOption previouslySelectedOption = null; in setUpOptions() 222 private GridOption getActiveOption(List<GridOption> options) { in getActiveOption() 231 private GridOption findEquivalent(List<GridOption> options, GridOption target) { in findEquivalent() 250 mSelectedOption = (GridOption) selectedOption; in onOptionSelected()
|
D | GridOptionPreviewer.java | 23 import com.android.customization.model.grid.GridOption; 36 private GridOption mGridOption; 45 public void setGridOption(GridOption gridOption) { in setGridOption()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridCustomizationsProvider.java | 29 import com.android.launcher3.InvariantDeviceProfile.GridOption; 97 for (GridOption gridOption : parseAllGridOptions()) { in query() 119 private List<GridOption> parseAllGridOptions() { in parseAllGridOptions() 120 List<GridOption> result = new ArrayList<>(); in parseAllGridOptions() 127 && GridOption.TAG_NAME.equals(parser.getName())) { in parseAllGridOptions() 128 result.add(new GridOption(getContext(), Xml.asAttributeSet(parser))); in parseAllGridOptions() 159 GridOption match = null; in update() 160 for (GridOption option : parseAllGridOptions()) { in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 280 GridOption closestProfile = displayOption.grid; in initGrid() 394 && GridOption.TAG_NAME.equals(parser.getName())) { in getPredefinedDeviceProfiles() 396 GridOption gridOption = new GridOption(context, Xml.asAttributeSet(parser)); in getPredefinedDeviceProfiles() 505 GridOption closestOption = points.get(0).grid; in invDistWeightedInterpolate() 590 public static final class GridOption { class 616 public GridOption(Context context, AttributeSet attrs) { in GridOption() method in InvariantDeviceProfile.GridOption 658 public final GridOption grid; 675 DisplayOption(GridOption grid, Context context, AttributeSet attrs, int defaultFlagValue) { in DisplayOption() 709 DisplayOption(GridOption grid) { in DisplayOption()
|
/packages/apps/ThemePicker/src/com/android/customization/module/ |
D | ThemesUserEventLogger.java | 19 import com.android.customization.model.grid.GridOption; 44 void logGridSelected(GridOption grid); in logGridSelected() 46 void logGridApplied(GridOption grid); in logGridApplied()
|
D | StatsLogUserEventLogger.java | 47 import com.android.customization.model.grid.GridOption; 176 public void logGridSelected(GridOption grid) { in logGridSelected() 184 public void logGridApplied(GridOption grid) { in logGridApplied()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/testing/ |
D | TestThemesUserEventLogger.java | 4 import com.android.customization.model.grid.GridOption; 40 public void logGridSelected(GridOption grid) { in logGridSelected() 45 public void logGridApplied(GridOption grid) { in logGridApplied()
|
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/model/grid/ |
D | GridOptionsManagerTest.java | 53 GridOption grid = new GridOption("testTitle", gridName, false, 2, 2, null, 1, ""); in testApply()
|