/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 …]
|
D | SelectCalendarsSyncAdapter.java | 152 boolean selected = mData[position].synced; in getView() 179 cb.setChecked(selected); in getView() 181 if (selected) { in getView()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 597 boolean selected = false; in parseSwitchInternal() 603 selected |= parseCase(parser, row, selected ? true : skip); in parseSwitchInternal() 605 selected |= parseDefault(parser, row, selected ? true : skip); in parseSwitchInternal() 622 final boolean selected = parseCaseCondition(parser); in parseCase() 625 parseKeyboardContent(parser, selected ? skip : true); in parseCase() 628 parseRowContent(parser, row, selected ? skip : true); in parseCase() 630 return selected; in parseCase() 677 final boolean selected = keyboardLayoutSetMatched && keyboardLayoutSetElementMatched in parseCaseCondition() 718 selected ? "" : " skipped"); in parseCaseCondition() 721 return selected; in parseCaseCondition()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | SpellCheckerPreference.java | 124 public void setSelected(final boolean selected) { in setSelected() argument 125 mSelected = selected; in setSelected() 126 updateSelectedState(selected); in setSelected() 129 private void updateSelectedState(final boolean selected) { in updateSelectedState() argument 131 mRadioButton.setChecked(selected); in updateSelectedState() 132 enableSettingsButton(isEnabled() && selected); in updateSelectedState()
|
/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/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | Picker.java | 323 int selected = column.getSelectedItemPosition(); in updateAllColumnsForClick() local 327 if (selected == i) { in updateAllColumnsForClick() 369 int selected = column.getSelectedItemPosition(); in updateColumn() local 382 setOrAnimateAlpha(item, (selected == i), focused, animateAlpha, localAnimList); in updateColumn() 393 private void setOrAnimateAlpha(View view, boolean selected, boolean focused, boolean animate, in setOrAnimateAlpha() argument 395 if (selected) { in setOrAnimateAlpha()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderSelectorAdapter.java | 95 Set<String> selected, int layout) { in FolderSelectorAdapter() argument 98 createFolderRows(folders, selected); in FolderSelectorAdapter() 109 protected void createFolderRows(Cursor folders, Set<String> selected) { in createFolderRows() argument 123 final boolean isSelected = selected != null in createFolderRows() 124 && selected.contains( in createFolderRows()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | RadioButtonPreference.java | 83 public void setSelected(final boolean selected) { in setSelected() argument 84 if (selected == mIsSelected) { in setSelected() 87 mIsSelected = selected; in setSelected() 89 mRadioButton.setChecked(selected); in setSelected()
|
/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/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/Contacts/src/com/android/contacts/editor/ |
D | LabeledEditorView.java | 460 EditType selected = mEditTypeAdapter.getItem(position); in onTypeSelectionChange() local 462 if (mEditTypeAdapter.hasCustomSelection() && selected == CUSTOM_SELECTION) { in onTypeSelectionChange() 466 if (mType == selected && mType.customColumn == null) { in onTypeSelectionChange() 470 if (selected.customColumn != null) { in onTypeSelectionChange() 474 mType = selected; in onTypeSelectionChange()
|
/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/DeskClock/src/com/android/deskclock/worldclock/ |
D | CitiesActivity.java | 355 holder.selected = (CheckBox) view.findViewById(R.id.city_onoff); in getView() 361 holder.selected.setTag(c); in getView() 362 holder.selected.setChecked(mUserSelectedCities.containsKey(c.mCityId)); in getView() 363 holder.selected.setOnCheckedChangeListener(CitiesActivity.this); in getView() 406 CheckBox selected; field in CitiesActivity.CityAdapter.CityViewHolder
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeAutomaticConditionSelection.java | 85 private void setSelectedCondition(Uri conditionId, boolean selected) { in setSelectedCondition() argument 87 + " selected=" + selected); in setSelectedCondition() 88 if (selected) { in setSelectedCondition()
|
/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/Browser/src/com/android/browser/ |
D | TabBar.java | 312 public void setActivated(boolean selected) { in setActivated() argument 313 mSelected = selected; in setActivated() 319 super.setActivated(selected); in setActivated() 321 setFocusable(!selected); in setActivated()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ConcurrentSharedRingBuffer.java | 415 boolean selected = false; in tryPinGreatestSelected() 418 selected = selector.select(pinnedCandidate.second); in tryPinGreatestSelected() 422 if (selected) { in tryPinGreatestSelected()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ProcessingService.java | 197 String selected = intent.getStringExtra(SELECTED_URI); in onStartCommand() local 205 if (selected != null) { in onStartCommand() 206 selectedUri = Uri.parse(selected); in onStartCommand()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActionBar.java | 265 public void enableAlbumModeMenu(int selected, OnAlbumModeSelectedListener listener) { in enableAlbumModeMenu() argument 276 mLastAlbumModeSelected = selected; in enableAlbumModeMenu() 279 mActionBar.setSelectedNavigationItem(selected); in enableAlbumModeMenu()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | ActionBehavior.java | 48 public Action toAction(String key, Resources resources, boolean selected) { in toAction() argument 50 .key(key).title(resources.getString(mTitleResource)).checked(selected).build(); in toAction()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeIconView.java | 105 public void setSelected(boolean selected) { in setSelected() argument 106 if (selected) { in setSelected()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkActivity.java | 365 Layout.Node selected = getSelectedNode(); 366 if (selected != null) { 367 mSelectedTitle = selected.getTitle();
|