Searched refs:viewStateIndex (Results 1 – 1 of 1) sorted by relevance
23503 int viewStateIndex = 0; in onCreateDrawableState() local23504 if ((privateFlags & PFLAG_PRESSED) != 0) viewStateIndex |= StateSet.VIEW_STATE_PRESSED; in onCreateDrawableState()23505 if ((mViewFlags & ENABLED_MASK) == ENABLED) viewStateIndex |= StateSet.VIEW_STATE_ENABLED; in onCreateDrawableState()23506 if (isFocused()) viewStateIndex |= StateSet.VIEW_STATE_FOCUSED; in onCreateDrawableState()23507 if ((privateFlags & PFLAG_SELECTED) != 0) viewStateIndex |= StateSet.VIEW_STATE_SELECTED; in onCreateDrawableState()23508 if (hasWindowFocus()) viewStateIndex |= StateSet.VIEW_STATE_WINDOW_FOCUSED; in onCreateDrawableState()23509 if ((privateFlags & PFLAG_ACTIVATED) != 0) viewStateIndex |= StateSet.VIEW_STATE_ACTIVATED; in onCreateDrawableState()23515 viewStateIndex |= StateSet.VIEW_STATE_ACCELERATED; in onCreateDrawableState()23517 if ((privateFlags & PFLAG_HOVERED) != 0) viewStateIndex |= StateSet.VIEW_STATE_HOVERED; in onCreateDrawableState()23521 viewStateIndex |= StateSet.VIEW_STATE_DRAG_CAN_ACCEPT; in onCreateDrawableState()[all …]