/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | OptionSelectorController.java | 94 public void setSelectedOption(CustomizationOption option) { in setSelectedOption() argument 95 if (!mOptions.contains(option)) { in setSelectedOption() 99 updateActivatedStatus(option, true); in setSelectedOption() 100 mSelectedOption = option; in setSelectedOption() 109 public void setAppliedOption(CustomizationOption option) { in setAppliedOption() argument 110 if (!mOptions.contains(option)) { in setAppliedOption() 114 mAppliedOption = option; in setAppliedOption() 115 mAdapter.notifyItemChanged(mOptions.indexOf(option)); in setAppliedOption() 121 private void updateActivatedStatus(CustomizationOption option, boolean isActivated) { in updateActivatedStatus() argument 122 int index = mOptions.indexOf(option); in updateActivatedStatus() [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | IconOptionsProvider.java | 76 IconOption option = addOrUpdateOption(optionsByPrefix, overlayPackage, in loadOptions() local 80 option.addIcon(loadIconPreviewDrawable(iconName, overlayPackage)); in loadOptions() 104 for (IconOption option : optionsByPrefix.values()) { in loadOptions() 105 if (option.isValid(mContext)) { in loadOptions() 106 mOptions.add(option); in loadOptions() 107 option.setLabel(mContext.getString(R.string.icon_component_label, mOptions.size())); in loadOptions() 115 IconOption option; in addOrUpdateOption() local 117 option = new IconOption(); in addOrUpdateOption() 118 optionsByPrefix.put(prefix, option); in addOrUpdateOption() 120 option = optionsByPrefix.get(prefix); in addOrUpdateOption() [all …]
|
D | ColorOptionsProvider.java | 105 ColorOption option = new ColorOption(overlayPackage, label, lightColor, darkColor); in loadOptions() local 106 option.setPreviewIcons(previewIcons); in loadOptions() 107 option.setShapeDrawable(shape); in loadOptions() 108 mOptions.add(option); in loadOptions() 136 ColorOption option = new ColorOption(null, in addDefault() local 138 option.setPreviewIcons(previewIcons); in addDefault() 139 option.setShapeDrawable(shape); in addDefault() 140 mOptions.add(option); in addDefault()
|
/packages/apps/TV/src/com/android/tv/ |
D | TvOptionsManager.java | 69 public String getOptionString(@OptionType int option) { in getOptionString() argument 70 switch (option) { in getOptionString() 112 private void notifyOptionChanged(@OptionType int option) { in notifyOptionChanged() argument 113 OptionChangedListener listener = mOptionChangedListeners.get(option); in notifyOptionChanged() 115 listener.onOptionChanged(option, getOptionString(option)); in notifyOptionChanged() 120 public void setOptionChangedListener(int option, OptionChangedListener listener) { in setOptionChangedListener() argument 121 mOptionChangedListeners.put(option, listener); in setOptionChangedListener()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NduseroptMessageTest.java | 75 assertNull(msg.option); in testParsing() 79 assertPref64Option("2001:db8:3:4:5:6::/96", msg.option); in testParsing() 104 assertPref64Option("64:ff9b::/96", msg.option); in testParseWithinNetlinkMessage() 111 assertPref64Option("64:ff9b::/96", msg.option); in testParseWithinNetlinkMessage() 133 assertEquals(NdOption.UNKNOWN, msg.option); in testParseUnknownOptionWithinNetlinkMessage() 146 assertEquals(NdOption.UNKNOWN, msg.option); in testUnknownOption() 154 assertPref64Option("2001:db8:3:4:5:6::/96", msg.option); in testUnknownOption() 166 assertNull(msg.option); in testZeroLengthOption() 178 assertNull(msg.option); in testTooLongOption() 206 assertPref64Option("2001:db8:3:4:5:6::/96", msg.option); in testTruncation()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipPreferences.java | 42 public void setSipCallOption(String option) { in setSipCallOption() argument 44 Settings.System.SIP_CALL_OPTIONS, option); in setSipCallOption() local 54 String option = Settings.System.getString(mContext.getContentResolver(), in getSipCallOption() local 56 return (option != null) ? option in getSipCallOption()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | arguments_parser.cpp | 52 for (const auto &option : mOptionSpecs) { in printUsage() local 53 const std::string &optionName = option.first; in printUsage() 54 const OptionSpec &spec = option.second; in printUsage() 73 for (const auto &option : mOptionSpecs) { in printUsage() local 74 const std::string &optionName = option.first; in printUsage() 75 const OptionSpec &spec = option.second; in printUsage()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/ |
D | UsbDetailsFunctionsController.java | 98 for (long option : FUNCTIONS_MAP.keySet()) { in refresh() 99 int title = FUNCTIONS_MAP.get(option); in refresh() 100 pref = getProfilePreference(UsbBackend.usbFunctionsToString(option), title); in refresh() 102 if (mUsbBackend.areFunctionsSupported(option)) { in refresh() 103 pref.setChecked(functions == option); in refresh()
|
D | UsbDefaultFragment.java | 83 for (final long option : UsbDetailsFunctionsController.FUNCTIONS_MAP.keySet()) { in getCandidates() 85 UsbDetailsFunctionsController.FUNCTIONS_MAP.get(option)); in getCandidates() 86 final String key = UsbBackend.usbFunctionsToString(option); in getCandidates() 89 if (mUsbBackend.areFunctionsSupported(option)) { in getCandidates()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsFunctionsController.java | 98 for (long option : FUNCTIONS_MAP.keySet()) { in refresh() 99 int title = FUNCTIONS_MAP.get(option); in refresh() 100 pref = getProfilePreference(UsbBackend.usbFunctionsToString(option), title); in refresh() 102 if (mUsbBackend.areFunctionsSupported(option)) { in refresh() 103 pref.setChecked(functions == option); in refresh()
|
D | UsbDefaultFragment.java | 83 for (final long option : UsbDetailsFunctionsController.FUNCTIONS_MAP.keySet()) { in getCandidates() 85 UsbDetailsFunctionsController.FUNCTIONS_MAP.get(option)); in getCandidates() 86 final String key = UsbBackend.usbFunctionsToString(option); in getCandidates() 89 if (mUsbBackend.areFunctionsSupported(option)) { in getCandidates()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 1281 ByteBuffer option = ByteBuffer.allocate(optLen * ICMPV6_ND_OPTION_LENGTH_SCALING_FACTOR); 1282 option.put((byte) ICMPV6_ND_OPTION_PIO); // Type 1283 option.put((byte) optLen); // Length in 8-byte units 1284 option.put((byte) prefix.getPrefixLength()); // Prefix length 1285 option.put((byte) 0b11000000); // L = 1, A = 1 1286 option.putInt(valid); 1287 option.putInt(preferred); 1288 option.putInt(0); // Reserved 1289 option.put(prefix.getRawAddress()); 1290 option.flip(); [all …]
|
/packages/apps/ThemePicker/src/com/android/customization/model/clock/ |
D | BaseClockManager.java | 37 public void apply(Clockface option, Callback callback) { in apply() argument 38 handleApply(option, callback); in apply() 57 protected abstract void handleApply(Clockface option, Callback callback); in handleApply() argument
|
D | ClockManager.java | 47 protected void handleApply(Clockface option, Callback callback) { in handleApply() argument 51 json.put(CLOCK_FIELD, option.getId()); in handleApply() 58 mEventLogger.logClockApplied(option); in handleApply()
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/ |
D | GridOptionsManager.java | 48 public void apply(GridOption option, Callback callback) { in apply() argument 49 int updated = mProvider.applyGrid(option.name); in apply() 51 mEventLogger.logGridApplied(option); in apply()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/network/ |
D | WallpaperRequester.java | 65 .apply(RequestOptions.option(HttpGlideUrlLoader.TIMEOUT, LONG_TIMEOUT_MS)) in loadImageFile() 81 .apply(RequestOptions.option(HttpGlideUrlLoader.TIMEOUT, LONG_TIMEOUT_MS)) in loadImageFileWithActivity() 92 .apply(RequestOptions.option(HttpGlideUrlLoader.TIMEOUT, LONG_TIMEOUT_MS)) in loadImageBitmap()
|
/packages/apps/Launcher3/ |
D | build.gradle | 185 … option "java_package=launcher_log_extension.proto|com.android.launcher3.userevent.nano" 186 … option "java_package=launcher_log.proto|com.android.launcher3.userevent.nano" 187 option "java_package=launcher_dump.proto|com.android.launcher3.model.nano" 188 option "enum_style=java"
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FolderInfo.java | 132 public void setOption(int option, boolean isEnabled, ModelWriter writer) { in setOption() argument 135 options |= option; in setOption() 137 options &= ~option; in setOption()
|
D | InvariantDeviceProfile.java | 420 for (DisplayOption option : profiles) { in getPredefinedDeviceProfiles() 421 if (gridName.equals(option.grid.name)) { in getPredefinedDeviceProfiles() 422 filteredOptionsOut.add(option); in getPredefinedDeviceProfiles() 427 for (DisplayOption option : profiles) { in getPredefinedDeviceProfiles() 428 if (option.canBeDefault) { in getPredefinedDeviceProfiles() 429 allOptionsOut.add(option); in getPredefinedDeviceProfiles()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | SeriesRecording.java | 201 private static String channelOption(@ChannelOption int option) { in channelOption() argument 202 switch (option) { in channelOption() 212 private static int channelOption(String option) { in channelOption() argument 213 switch (option) { in channelOption() 316 public Builder setChannelOption(@ChannelOption int option) { in setChannelOption() argument 317 mChannelOption = option; in setChannelOption()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | CustomThemeComponentFragment.java | 111 for (ThemeComponentOption option : options) { in setUpOptions() 112 if (option.isActive(mCustomThemeManager)) { in setUpOptions() 113 mSelectedOption = option; in setUpOptions()
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | video_tech.proto | 4 option java_package = "com.android.dialer.logging"; 5 option java_multiple_files = true;
|
D | people_api_lookup_error.proto | 4 option java_package = "com.android.dialer.logging"; 5 option java_multiple_files = true;
|
D | reporting_location.proto | 4 option java_package = "com.android.dialer.logging"; 5 option java_multiple_files = true;
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridOptionsProvider.java | 151 for (GridOption option : parseAllGridOptions()) { in update() 152 if (option.name.equals(gridName)) { in update() 153 match = option; in update()
|