Searched refs:activated (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DNightDisplayTile.java53 final boolean activated = !mState.value;
54 MetricsLogger.action(mContext, getMetricsCategory(), activated);
55 mController.setActivated(activated);
115 public void onActivated(boolean activated) { argument
H A DUserDetailItemView.java143 boolean activated = ArrayUtils.contains(getDrawableState(), android.R.attr.state_activated);
144 mName.setTypeface(activated ? mActivatedTypeface : mRegularTypeface);
/frameworks/base/services/core/java/com/android/server/display/
H A DNightDisplayService.java234 // Force the initialization current activated state.
262 public void onActivated(boolean activated) { argument
263 if (mIsActivated == null || mIsActivated != activated) {
264 Slog.i(TAG, activated ? "Turning on night display" : "Turning off night display");
267 mAutoMode.onActivated(activated);
270 mIsActivated = activated;
390 final boolean activated = now.before(endTime);
393 if (!setActivated && mIsActivated != activated) {
418 mController.setActivated(activated);
423 private void updateNextAlarm(@Nullable Boolean activated, argument
453 onActivated(boolean activated) argument
527 onActivated(boolean activated) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DYearPickerView.java183 final boolean activated = mActivatedYear == year;
185 if (hasNewView || v.isActivated() != activated) {
187 if (activated && ITEM_TEXT_ACTIVATED_APPEARANCE != 0) {
193 v.setActivated(activated);
H A DRadialTimePickerView.java417 // Set up various colors derived from the selector "activated" state.
726 // activated states.
733 // activated states.
759 // activated states.
766 // activated states.
897 // The activated index can touch a range of elements.
903 final boolean activated = (activatedFloor == i || activatedCeil == i);
904 if (activatedOnly && !activated) {
909 | (showActivated && activated ? StateSet.VIEW_STATE_ACTIVATED : 0);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java49 * three items only on currently activated column. If the Picker has focus, it will intercept DPAD
50 * directions and select activated column.
488 final boolean activated = isActivated();
493 view.setFocusable(activated);
498 * Returns number of visible items showing in a column when it's activated. The default value
500 * @return Number of visible items showing in a column when it's activated.
507 * Changes number of visible items showing in a column when it's activated. The default value
509 * @param visiblePickerItems Number of visible items showing in a column when it's activated.
524 * Returns number of visible items showing in a column when it's not activated. The default
526 * @return Number of visible items showing in a column when it's not activated
550 setActivated(boolean activated) argument
[all...]
/frameworks/support/compat/honeycomb/android/support/v4/view/
H A DViewCompatHC.java162 public static void setActivated(View view, boolean activated) { argument
163 view.setActivated(activated);
/frameworks/base/core/java/com/android/internal/app/
H A DNightDisplayController.java55 * Auto mode value to prevent Night display from being automatically activated. It can still
56 * be activated manually via {@link #setActivated(boolean)}.
105 * Returns {@code true} when Night display is activated (the display is tinted red).
113 * Sets whether Night display should be activated.
115 * @param activated {@code true} if Night display should be activated
116 * @return {@code true} if the activated value was set successfully
118 public boolean setActivated(boolean activated) { argument
120 Secure.NIGHT_DISPLAY_ACTIVATED, activated ? 1 : 0, mUserId);
125 * activated
401 onActivated(boolean activated) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowPresenter.java42 * animation is started. Selected status may control activated status of the row (see
50 * Row title is shown when row is expanded. Expanded status may control activated status
57 * The activated status of a row is applied to the row view and it's children via
59 * The activated status is typically used to control {@link BaseCardView} info region visibility.
60 * The row's activated status can be controlled by selected status and/or expanded status.
68 * or expanded status, application can control activated status by its own.
70 * activated status of row view.
100 * Don't synchronize row view activated status with selected status or expanded status,
106 * Synchronizes row view's activated status to expand status of the row view holder.
111 * Synchronizes row view's activated statu
226 setActivated(boolean activated) argument
[all...]
H A DBaseCardView.java46 * display based on the activated or selected state of the View. The card states
102 * Indicates that a card region is visible when the card is activated.
317 * @param activated True if the card is ACTIVE, or false if INACTIVE.
321 public void setActivated(boolean activated) { argument
322 if (activated != isActivated()) {
323 super.setActivated(activated);
H A DGuidedActionsStylist.java349 void setActivated(boolean activated) { argument
350 mActivatorView.setActivated(activated);
352 ((GuidedActionItemContainer) itemView).setFocusOutAllowed(!activated);
/frameworks/support/compat/java/android/support/v4/view/
H A DViewCompat.java458 void setActivated(View view, boolean activated); argument
956 public void setActivated(View view, boolean activated) { argument
1323 public void setActivated(View view, boolean activated) { argument
1324 ViewCompatHC.setActivated(view, activated);
3068 * Changes the activated state of this view. A view can be activated or not.
3074 * @param activated true if the view must be activated, false otherwise
3076 public static void setActivated(View view, boolean activated) { argument
3077 IMPL.setActivated(view, activated);
[all...]
/frameworks/base/core/java/android/view/
H A DView.java19043 * Changes the activated state of this view. A view can be activated or not.
19049 * set are activated. (Um, yeah, we are deeply sorry about the terminology
19050 * here.) The activated state is propagated down to children of the view it
19053 * @param activated true if the view must be activated, false otherwise
19055 public void setActivated(boolean activated) { argument
19057 if (((mPrivateFlags & PFLAG_ACTIVATED) != 0) != activated) {
19058 mPrivateFlags = (mPrivateFlags & ~PFLAG_ACTIVATED) | (activated ? PFLAG_ACTIVATED : 0);
19061 dispatchSetActivated(activated);
19072 dispatchSetActivated(boolean activated) argument
[all...]
H A DViewGroup.java3825 public void dispatchSetActivated(boolean activated) { argument
3829 children[i].setActivated(activated);

Completed in 384 milliseconds