Searched refs:selected (Results 1 - 25 of 53) 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/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DAdapterViewBindingAdapter.java42 public static void setListener(AdapterView view, final OnItemSelected selected, argument
44 if (selected == null && nothingSelected == null) {
48 new OnItemSelectedComponentListener(selected, nothingSelected));
56 public OnItemSelectedComponentListener(OnItemSelected selected, argument
58 this.mSelected = selected;
H A DAutoCompleteTextViewBindingAdapter.java84 public static void setListener(AutoCompleteTextView view, final OnItemSelected selected, argument
86 if (selected == null && nothingSelected == null) {
90 new OnItemSelectedComponentListener(selected, nothingSelected));
/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);
76 if (selected == null) {
79 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 DInvisibleRecipientChip.java40 public void setSelected(final boolean selected) { argument
41 mDelegate.setSelected(selected);
H A DSimpleRecipientChip.java53 public void setSelected(final boolean selected) { argument
54 mSelected = selected;
H A DVisibleRecipientChip.java38 public void setSelected(final boolean selected) { argument
39 mDelegate.setSelected(selected);
/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/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListOfItemsTallerThanScreenTest.java76 assertEquals("selected position", 0, mListView.getSelectedItemPosition());
77 assertTrue("same view should be selected", view.isSelected());
121 assertTrue("top of selected view should be above top of list",
176 * Assuming the selected view is overlapping the bottom edge, how many times
179 * b) the selected view is the last item in the list, and we are scrolled to the bottom
183 View selected = mListView.getSelectedView();
186 selected.getBottom() > realBottom);
188 selected.getTop() < realBottom);
190 int pixelsOffScreen = selected.getBottom() - realBottom;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowPresenter.java38 * A row is selected via {@link #setRowViewSelected(Presenter.ViewHolder, boolean)}. The event
58 * The row's activated status can be controlled by selected status and/or expanded status.
62 * <li>{@link #SYNC_ACTIVATED_TO_SELECTED} Activated status is synced with row selected status</li>
64 * when both expanded and selected status are true</li>
65 * <li>{@link #SYNC_ACTIVATED_CUSTOM} Activated status is not controlled by selected status
85 * view for views that are not selected. Subclasses may override this default effect
98 * Don't synchronize row view activated status with selected status or expanded status,
109 * Synchronizes row view's activated status to selected status of the row view holder.
114 * Sets the row view's activated status to true when both expand and selected are true.
183 * Returns whether the Row is selected
401 setRowViewSelected(Presenter.ViewHolder holder, boolean selected) argument
467 dispatchItemSelectedListener(ViewHolder vh, boolean selected) argument
480 onRowViewSelected(ViewHolder vh, boolean selected) argument
[all...]
H A DListRowPresenter.java349 * Perform operations when a child of horizontal grid view is selected.
432 * Dispatch item selected event using current selected item in the {@link HorizontalGridView}.
436 protected void dispatchItemSelectedListener(RowPresenter.ViewHolder holder, boolean selected) { argument
441 super.dispatchItemSelectedListener(holder, selected);
445 if (selected) {
454 protected void onRowViewSelected(RowPresenter.ViewHolder holder, boolean selected) { argument
455 super.onRowViewSelected(holder, selected);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiAutoJoinController.java379 // The lastSelectedConfiguration is the configuration the user has manually selected
386 // currentNetwork is the last selected configuration,
394 + " because it is the last selected -> "
399 // candidate is the last selected configuration,
407 + " because it is the last selected -> "
420 * as those networks get a relative lower score than the selected configuration
427 WifiConfiguration selected = mWifiConfigStore.getWifiConfiguration(netId);
428 if (selected == null) {
429 logDbg("updateConfigurationHistory nid=" + netId + " no selected configuration!");
433 if (selected
[all...]
/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 c.setTypeface(selected ? MEDIUM : REGULAR);
/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/v4/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/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");
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java171 * Currently selected view holder
191 * The coordinates of the selected view at the time it is selected. We record these values
531 * @param selected The ViewHolder to drag or swipe. Can be null if you want to cancel the
535 private void select(ViewHolder selected, int actionState) { argument
536 if (selected == mSelected && actionState == mActionState) {
542 endRecoverAnimation(selected, true);
548 mOverdrawChild = selected.itemView;
632 if (selected != null) {
634 (mCallback.getAbsoluteMovementFlags(mRecyclerView, selected)
1689 chooseDropTarget(ViewHolder selected, List<ViewHolder> dropTargets, int curX, int curY) argument
1865 onDraw(Canvas c, RecyclerView parent, ViewHolder selected, List<ItemTouchHelper.RecoverAnimation> recoverAnimationList, int actionState, float dX, float dY) argument
1884 onDrawOver(Canvas c, RecyclerView parent, ViewHolder selected, List<ItemTouchHelper.RecoverAnimation> recoverAnimationList, int actionState, float dX, float dY) argument
[all...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerPalette.java147 private void setSwatchDescription(int rowNumber, int index, int rowElements, boolean selected, argument
163 if (selected) {
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingToolbarLayout.java301 Toolbar fallback = null, selected = null;
310 selected = (Toolbar) child;
319 selected = (Toolbar) child;
325 if (selected == null) {
327 selected = fallback;
330 mToolbar = selected;
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java204 public static void setSelected(Object info, boolean selected) { argument
205 ((AccessibilityNodeInfo) info).setSelected(selected);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java596 * @param selected true to enable range, false to disable range
599 protected boolean tryAddRanges(int startId, int endId, boolean selected) { argument
604 addRange(startId, endId, selected); // adds to mConfigList
659 * @param selected true to enable range, false to disable range
661 protected abstract void addRange(int startId, int endId, boolean selected); argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DRowsFragment.java221 if (DEBUG) Log.v(TAG, "new row selected position " + position + " subposition "
308 private static void setRowViewSelected(ItemBridgeAdapter.ViewHolder vh, boolean selected, argument
311 extra.animateSelect(selected, immediate);
312 ((RowPresenter) vh.getPresenter()).setRowViewSelected(vh.getViewHolder(), selected);
333 // selected state is initialized to false, then driven by grid view onChildSelected

Completed in 574 milliseconds

123