/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropObject.java | 131 public static boolean checkCorner(int selected) { in checkCorner() argument 132 return selected == TOP_LEFT || selected == TOP_RIGHT || selected == BOTTOM_RIGHT in checkCorner() 133 || selected == BOTTOM_LEFT; in checkCorner() 136 public static boolean checkEdge(int selected) { in checkEdge() argument 137 return selected == MOVE_LEFT || selected == MOVE_TOP || selected == MOVE_RIGHT in checkEdge() 138 || selected == MOVE_BOTTOM; in checkEdge() 141 public static boolean checkBlock(int selected) { in checkBlock() argument 142 return selected == MOVE_BLOCK; in checkBlock() 145 public static boolean checkValid(int selected) { in checkValid() argument 146 return selected == MOVE_NONE || checkBlock(selected) || checkEdge(selected) in checkValid() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SelectionManager.java | 49 public void onSelectionChange(Path path, boolean selected); in onSelectionChange() argument 183 ArrayList<Path> selected = new ArrayList<Path>(); in getSelected() local 192 if (!expandMediaSet(selected, set, maxSelection)) { in getSelected() 196 selected.add(id); in getSelected() 197 if (selected.size() > maxSelection) { in getSelected() 206 if (!expandMediaSet(selected, mDataManager.getMediaSet(id), in getSelected() 211 selected.add(id); in getSelected() 212 if (selected.size() > maxSelection) { in getSelected() 228 selected.add(id); in getSelected() 229 if (selected.size() > maxSelection) { in getSelected() [all …]
|
D | ActionModeHandler.java | 272 ArrayList<MediaObject> selected = new ArrayList<MediaObject>(); in getSelectedMediaObjects() local 278 selected.add(manager.getMediaObject(path)); in getSelectedMediaObjects() 281 return selected; in getSelectedMediaObjects() 287 private int computeMenuOptions(ArrayList<MediaObject> selected) { in computeMenuOptions() argument 290 for (MediaObject mediaObject: selected) { in computeMenuOptions() 296 switch (selected.size()) { in computeMenuOptions() 389 public void updateSupportedOperation(Path path, boolean selected) { in updateSupportedOperation() argument 410 ArrayList<MediaObject> selected = getSelectedMediaObjects(jc); in updateSupportedOperation() 411 if (selected == null) { in updateSupportedOperation() 423 final int operation = computeMenuOptions(selected); in updateSupportedOperation() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSimpleAdapter.java | 93 boolean selected; field in SelectCalendarsSimpleAdapter.CalendarRow 203 mData[p].selected = c.getInt(mVisibleColumn) != 0; in initData() 222 boolean selected = mData[position].selected; in getView() 274 if (selected) { in getView() 285 syncCheckBox.setChecked(selected); in getView() 294 if (selected) { in getView() 312 view.findViewById(R.id.color).setEnabled(selected && hasMoreColors(position)); in getView() 313 view.setBackgroundDrawable(getBackground(position, selected)); in getView() 323 visibleCheckBox.setChecked(selected); in getView() 339 protected Drawable getBackground(int position, boolean selected) { in getBackground() argument [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | BaseCardView.java | 81 public void onBind(T item, boolean selected) { in onBind() argument 84 setFocusAnimatedValue(selected ? SCALE_FACTOR_1F : SCALE_FACTOR_0F); in onBind() 113 protected void onFocusAnimationStart(boolean selected) { in onFocusAnimationStart() argument 120 protected void onFocusAnimationEnd(boolean selected) { in onFocusAnimationEnd() argument 142 final boolean selected = targetAnimatedValue == SCALE_FACTOR_1F; in startFocusAnimation() 149 onFocusAnimationStart(selected); in startFocusAnimation() 155 onFocusAnimationEnd(selected); in startFocusAnimation()
|
D | ChannelCardView.java | 99 public void onBind(Channel channel, boolean selected) { in onBind() argument 101 Log.d(TAG, "onBind(channelName=" + channel.getDisplayName() + ", selected=" + selected in onBind() 132 setMetaViewFocusedAlpha(selected ? 1f : 0f); in onBind() 138 super.onBind(channel, selected); in onBind() 162 protected void onFocusAnimationStart(boolean selected) { 164 setMetaViewFocusedAlpha(selected ? 1f : 0f);
|
D | AppLinkCardView.java | 111 public void onBind(Channel channel, boolean selected) { in onBind() argument 113 Log.d(TAG, "onBind(channelName=" + channel.getDisplayName() + ", selected=" + selected in onBind() 172 setMetaViewFocusedAlpha(selected ? 1f : 0f); in onBind() 178 super.onBind(channel, selected); in onBind() 236 protected void onFocusAnimationStart(boolean selected) { 238 setMetaViewFocusedAlpha(selected ? 1f : 0f);
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
D | CitySelectionActivity.java | 311 final CheckBox selected = (CheckBox) view.findViewById(R.id.city_onoff); in getView() local 312 view.setTag(new CityItemHolder(index, name, time, selected)); in getView() 317 holder.selected.setTag(city); in getView() 318 holder.selected.setChecked(mUserSelectedCities.contains(city)); in getView() 319 holder.selected.setContentDescription(city.getName()); in getView() 320 holder.selected.setOnCheckedChangeListener(this); in getView() 453 final List<City> selected = DataModel.getDataModel().getSelectedCities(); in refresh() local 455 mUserSelectedCities.addAll(selected); in refresh() 456 mOriginalUserSelectionCount = selected.size(); in refresh() 553 private final CheckBox selected; field in CitySelectionActivity.CityAdapter.CityItemHolder [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MediaChooser.java | 71 protected void setSelected(final boolean selected) { in setSelected() argument 72 mSelected = selected; in setSelected() 73 if (selected) { in setSelected() 78 mTabButton.setSelected(selected); in setSelected() 79 mTabButton.setAlpha(selected ? 1 : 0.5f); in setSelected()
|
D | AudioMediaChooser.java | 109 protected void setSelected(final boolean selected) { in setSelected() argument 110 super.setSelected(selected); in setSelected() 111 if (selected && !OsUtil.hasRecordAudioPermission()) { in setSelected()
|
D | GalleryMediaChooser.java | 195 protected void setSelected(final boolean selected) { in setSelected() argument 196 super.setSelected(selected); in setSelected() 197 if (selected && !OsUtil.hasStoragePermission()) { in setSelected()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | RadioButtonPreference.java | 87 public void setSelected(final boolean selected) { in setSelected() argument 88 if (selected == mIsSelected) { in setSelected() 91 mIsSelected = selected; in setSelected() 93 mRadioButton.setChecked(selected); in setSelected()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | MultiChoiceManager.java | 274 SparseBooleanArray selected = mDelegate.getSelectedItemPositions(); in getPathsForSelectedItems() local 275 for (int i = 0; i < selected.size(); i++) { in getPathsForSelectedItems() 276 if (selected.valueAt(i)) { in getPathsForSelectedItems() 287 SparseBooleanArray selected = mDelegate.getSelectedItemPositions(); in getSelectedItem() local 288 for (int i = 0; i < selected.size(); i++) { in getSelectedItem() 289 if (selected.valueAt(i)) { in getSelectedItem() 290 return mDelegate.getItemAtPosition(selected.keyAt(i)); in getSelectedItem()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CityModel.java | 94 final List<City> selected = new ArrayList<>(getSelectedCities()); in getAllCities() local 97 Collections.sort(selected, new City.NameComparator()); in getAllCities() 101 allCities.addAll(selected); in getAllCities() 144 final List<City> selected = new ArrayList<>(getSelectedCities()); in getUnselectedCities() local 145 final Set<City> selectedSet = Utils.newArraySet(selected); in getUnselectedCities()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SmsDefaultDialog.java | 160 int selected = getSelectedIndex(); in AppListAdapter() local 162 if (selected > 0) { in AppListAdapter() 163 Item item = mItems.remove(selected); in AppListAdapter() 165 selected = 0; in AppListAdapter() 167 mSelectedIndex = selected; in AppListAdapter()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | SimSelectorAvatarRequest.java | 69 final int height, final int subColor, final boolean selected, final boolean incoming) { in renderSimAvatarInternal() argument 74 final int backgroundColor = selected ? subColor : Color.WHITE; in renderSimAvatarInternal() 75 final int textColor = selected ? subColor : Color.WHITE; in renderSimAvatarInternal() 76 final int simColor = selected ? Color.WHITE : subColor; in renderSimAvatarInternal()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderSelectorAdapter.java | 96 Set<String> selected, int layout) { in FolderSelectorAdapter() argument 99 createFolderRows(folders, selected); in FolderSelectorAdapter() 110 protected void createFolderRows(Cursor folders, Set<String> selected) { in createFolderRows() argument 124 final boolean isSelected = selected != null in createFolderRows() 125 && selected.contains( in createFolderRows()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | LocalPhotoSource.java | 110 HashSet<Integer> selected = new HashSet<Integer>(count); in getExponentialIndice() local 111 while (selected.size() < count) { in getExponentialIndice() 113 if (row < total) selected.add(row); in getExponentialIndice() 117 for (int value : selected) { in getExponentialIndice()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryAdapter.java | 201 int selected = 0; // if nothing found, select "none" (first element) in reflectImagePreset() local 222 selected = i; in reflectImagePreset() 227 if (mSelectedPosition != selected) { in reflectImagePreset() 228 mSelectedPosition = selected; in reflectImagePreset()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 601 boolean selected = false; in parseSwitchInternal() 607 selected |= parseCase(parser, row, selected ? true : skip); in parseSwitchInternal() 609 selected |= parseDefault(parser, row, selected ? true : skip); in parseSwitchInternal() 626 final boolean selected = parseCaseCondition(parser); in parseCase() 629 parseKeyboardContent(parser, selected ? skip : true); in parseCase() 632 parseRowContent(parser, row, selected ? skip : true); in parseCase() 634 return selected; in parseCase() 681 final boolean selected = keyboardLayoutSetMatched && keyboardLayoutSetElementMatched in parseCaseCondition() 725 selected ? "" : " skipped"); in parseCaseCondition() 728 return selected; in parseCaseCondition()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | Picker.java | 214 final int selected = column.getSelectedPosition(); in updateAllColumnsForClick() local 222 if (selected == i) { in updateAllColumnsForClick() 282 final int selected = column.getSelectedPosition(); in updateColumn() local 298 setOrAnimateAlpha(item, (selected == column.getChildAdapterPosition(item)), focused, in updateColumn() 310 private void setOrAnimateAlpha(View view, boolean selected, boolean focused, boolean animate, in setOrAnimateAlpha() argument 312 if (selected) { in setOrAnimateAlpha()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ConversationDrawables.java | 107 public Drawable getBubbleDrawable(final boolean selected, final boolean incoming, in getBubbleDrawable() argument 112 protoDrawable = isError && !selected ? in getBubbleDrawable() 124 if (selected) { in getBubbleDrawable()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestService.java | 185 protected void importSelectedItems(SparseBooleanArray selected, Adapter adapter) { in importSelectedItems() argument 187 for (int i = 0; i < selected.size(); i++) { in importSelectedItems() 188 if (selected.valueAt(i)) { in importSelectedItems() 189 Object item = adapter.getItem(selected.keyAt(i)); in importSelectedItems()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | EventLogTags.logtags | 20 # @param search_source name of the initially selected search source 43 # @param search_source Name of the selected search source 51 # @param search_source Name of the selected search source
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | AvatarUriUtil.java | 197 @Nullable final String slotIdentifier, final boolean selected, final boolean incoming) { in createAvatarUri() argument 206 return createSimIconUri(slotIdentifier, selected, participantData.getSubscriptionColor(), in createAvatarUri() 210 private static Uri createSimIconUri(final String slotIdentifier, final boolean selected, in createSimIconUri() argument 218 builder.appendQueryParameter(PARAM_SIM_SELECTED, String.valueOf(selected)); in createSimIconUri()
|