Home
last modified time | relevance | path

Searched refs:drawableState (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/text/
DTextPaint.java31 public int[] drawableState; field in TextPaint
66 drawableState = tp.drawableState; in set()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationBackgroundView.java127 public void setState(int[] drawableState) { in setState() argument
128 mBackground.setState(drawableState); in setState()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java241 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
248 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
250 mergeDrawableStates(drawableState, ACTIVATED_STATE_SET); in onCreateDrawableState()
252 return drawableState; in onCreateDrawableState()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java334 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
341 mergeDrawableStates(drawableState, CHECKABLE_STATE_SET); in onCreateDrawableState()
343 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
345 return drawableState; in onCreateDrawableState()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java895 final int drawableState[] = getDrawableState(); in onDraw() local
897 mTextPaint.setColor(mTextColors.getColorForState(drawableState, 0)); in onDraw()
899 mTextPaint.drawableState = drawableState; in onDraw()
970 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
972 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
974 return drawableState; in onCreateDrawableState()
/frameworks/base/core/java/android/widget/
DCheckedTextView.java408 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
410 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
412 return drawableState; in onCreateDrawableState()
DSwitch.java1039 final int drawableState[] = getDrawableState(); in onDraw() local
1041 mTextPaint.setColor(mTextColors.getColorForState(drawableState, 0)); in onDraw()
1043 mTextPaint.drawableState = drawableState; in onDraw()
1123 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
1125 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
1127 return drawableState; in onCreateDrawableState()
DCompoundButton.java423 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState() local
425 mergeDrawableStates(drawableState, CHECKED_STATE_SET); in onCreateDrawableState()
427 return drawableState; in onCreateDrawableState()
DPopupWindow.java1691 final int[] drawableState = super.onCreateDrawableState(extraSpace + 1);
1692 View.mergeDrawableStates(drawableState, ABOVE_ANCHOR_STATE_SET);
1693 return drawableState;
DTextView.java5204 final int[] drawableState; in onCreateDrawableState() local
5207 drawableState = super.onCreateDrawableState(extraSpace); in onCreateDrawableState()
5209 drawableState = super.onCreateDrawableState(extraSpace + 1); in onCreateDrawableState()
5210 mergeDrawableStates(drawableState, MULTILINE_STATE_SET); in onCreateDrawableState()
5218 final int length = drawableState.length; in onCreateDrawableState()
5220 if (drawableState[i] == R.attr.state_pressed) { in onCreateDrawableState()
5222 System.arraycopy(drawableState, 0, nonPressedState, 0, i); in onCreateDrawableState()
5223 System.arraycopy(drawableState, i + 1, nonPressedState, i, length - i - 1); in onCreateDrawableState()
5229 return drawableState; in onCreateDrawableState()
5374 mTextPaint.drawableState = getDrawableState(); in onDraw()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java209 ds.setColor(mTextColor.getColorForState(ds.drawableState, 0)); in updateDrawState()
213 ds.linkColor = mTextColorLink.getColorForState(ds.drawableState, 0); in updateDrawState()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java687 int[] drawableState = key.getCurrentDrawableState(); in onBufferDraw() local
688 keyBackground.setState(drawableState); in onBufferDraw()
/frameworks/base/core/java/android/view/
DView.java16081 int[] drawableState;
16105 drawableState = VIEW_STATE_SETS[viewStateIndex];
16116 + ": " + Arrays.toString(drawableState));
16120 return drawableState;
16124 if (drawableState != null) {
16125 fullState = new int[drawableState.length + extraSpace];
16126 System.arraycopy(drawableState, 0, fullState, 0, drawableState.length);
/frameworks/base/api/
Dsystem-current.txt32177 field public int[] drawableState;
Dcurrent.txt29944 field public int[] drawableState;