Searched refs:selected (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsBroadcastConfigInfo.java33 * selected false means message types specified in {@code <fromServiceId, toServiceId>}
48 int toScheme, boolean selected) {
53 mSelected = selected;
113 * @param selected the selected to set
115 public void setSelected(boolean selected) { argument
116 mSelected = selected;
120 * @return the selected
47 SmsBroadcastConfigInfo(int fromId, int toId, int fromScheme, int toScheme, boolean selected) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSmsBroadcastConfigInfo.java32 * selected false means message types specified in serviceCategory
46 int language, boolean selected) {
50 mSelected = selected;
75 * @return the selected
45 CdmaSmsBroadcastConfigInfo(int fromServiceCategory, int toServiceCategory, int language, boolean selected) argument
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
H A DMainActivity.java35 User selected; field in class:MainActivity
61 return selected;
64 private void setSelected(User selected) { argument
65 if (selected == this.selected) {
68 this.selected = selected;
69 mListeners.notifyChange(this, BR.selected);
73 if (selected == null) {
76 selected
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPreviewPageFrame.java69 public void setSelected(boolean selected, boolean animate) { argument
70 if (isSelected() == selected) {
73 setSelected(selected);
74 if (selected) {
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DBaseRecipientChip.java28 * Set the selected state of the chip.
30 void setSelected(boolean selected); argument
33 * Return true if the chip is selected.
H A DSimpleRecipientChip.java53 public void setSelected(final boolean selected) { argument
54 mSelected = selected;
H A DVisibleRecipientChip.java39 public void setSelected(final boolean selected) { argument
40 mDelegate.setSelected(selected);
H A DInvisibleRecipientChip.java41 public void setSelected(final boolean selected) { argument
42 mDelegate.setSelected(selected);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAdapterViewBindingAdapter.java47 public static void setOnItemSelectedListener(AdapterView view, final OnItemSelected selected, argument
49 if (selected == null && nothingSelected == null && attrChanged == null) {
53 new OnItemSelectedComponentListener(selected, nothingSelected, attrChanged));
62 public OnItemSelectedComponentListener(OnItemSelected selected, argument
64 this.mSelected = selected;
H A DAutoCompleteTextViewBindingAdapter.java66 final OnItemSelected selected, final OnNothingSelected nothingSelected) {
67 if (selected == null && nothingSelected == null) {
71 new OnItemSelectedComponentListener(selected, nothingSelected, null));
65 setOnItemSelectedListener(AutoCompleteTextView view, final OnItemSelected selected, final OnNothingSelected nothingSelected) argument
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemsExpandOnSelection.java28 * A list where each item expands by 1.5 when selected.
71 public void setSelected(boolean selected) { argument
72 super.setSelected(selected);
73 if (selected) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DGridDirectoryHolder.java45 public void setSelected(boolean selected, boolean animate) { argument
46 super.setSelected(selected, animate);
47 float checkAlpha = selected ? 1f : 0f;
H A DDocumentHolder.java78 * Makes the associated item view appear selected. Note that this merely affects the appearance
83 * @param selected
88 public void setSelected(boolean selected, boolean animate) { argument
92 itemView.setActivated(selected);
93 itemView.setBackgroundColor(selected ? mSelectedBgColor : mDefaultBgColor);
H A DGridDocumentHolder.java72 public void setSelected(boolean selected, boolean animate) { argument
73 // We always want to make sure our check box disappears if we're not selected,
76 float checkAlpha = selected ? 1f : 0f;
83 // But it should be an error to be set to selected && be disabled.
85 assert(!selected);
89 super.setSelected(selected, animate);
H A DListDocumentHolder.java68 public void setSelected(boolean selected, boolean animate) { argument
69 // We always want to make sure our check box disappears if we're not selected,
71 // to be set to selected && be disabled.
72 float checkAlpha = selected ? 1f : 0f;
80 assert(!selected);
84 super.setSelected(selected, animate);
H A DModelBackedDocumentsAdapter.java104 final boolean selected = mEnv.isSelected(mModelIds.get(position));
105 holder.setSelected(selected, true);
121 boolean selected = mEnv.isSelected(modelId);
123 assert(!selected);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarNavigationButton.java60 public void setSelected(boolean selected, boolean showMoreIcon) { argument
61 if (selected) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSegmentedButtons.java66 final boolean selected = Objects.equals(mSelectedValue, tag);
67 c.setSelected(selected);
68 setSelectedStyle(c, selected);
73 protected void setSelectedStyle(TextView textView, boolean selected) { argument
74 textView.setTypeface(selected ? MEDIUM : REGULAR);
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListOfItemsTallerThanScreenTest.java77 assertEquals("selected position", 0, mListView.getSelectedItemPosition());
78 assertTrue("same view should be selected", view.isSelected());
123 assertTrue("top of selected view should be above top of list",
178 * Assuming the selected view is overlapping the bottom edge, how many times
181 * b) the selected view is the last item in the list, and we are scrolled to the bottom
185 View selected = mListView.getSelectedView();
188 selected.getBottom() > realBottom);
190 selected.getTop() < realBottom);
192 int pixelsOffScreen = selected.getBottom() - realBottom;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowPresenter.java40 * A row is selected via {@link #setRowViewSelected(Presenter.ViewHolder, boolean)}. The event
60 * The row's activated status can be controlled by selected status and/or expanded status.
64 * <li>{@link #SYNC_ACTIVATED_TO_SELECTED} Activated status is synced with row selected status</li>
66 * when both expanded and selected status are true</li>
67 * <li>{@link #SYNC_ACTIVATED_CUSTOM} Activated status is not controlled by selected status
87 * view for views that are not selected. Subclasses may override this default effect
100 * Don't synchronize row view activated status with selected status or expanded status,
111 * Synchronizes row view's activated status to selected status of the row view holder.
116 * Sets the row view's activated status to true when both expand and selected are true.
197 * Returns whether the Row is selected
415 setRowViewSelected(Presenter.ViewHolder holder, boolean selected) argument
481 dispatchItemSelectedListener(ViewHolder vh, boolean selected) argument
494 onRowViewSelected(ViewHolder vh, boolean selected) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DAssertHelpers.java188 T selected = null;
192 selected = check;
202 return selected;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DYearPickerView.java115 boolean selected = mController.getSelectedDay().year == year;
116 v.drawIndicator(selected);
117 if (selected) {
/frameworks/support/compat/api21/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatApi21.java49 int columnSpan, boolean heading, boolean selected) {
51 columnSpan, heading, selected);
48 obtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading, boolean selected) argument
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp55 std::vector<ResourceConfigValue*> selected; local
65 selected.push_back(configValue);
98 selected.push_back(bestValue);
101 return selected;
214 // No need to do any work if we selected nothing.
231 // Copy the selected values into the new Split Entry.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCastControllerImpl.java236 final RouteInfo selected = mMediaRouter.getSelectedRoute(ROUTE_TYPE_REMOTE_DISPLAY);
237 if (selected != null && !selected.isDefault()) {
238 ensureTagExists(selected);
239 mRoutes.put(selected.getTag().toString(), selected);
269 if (route.isSelected()) sb.append(",selected");

Completed in 523 milliseconds

123