Searched refs:viewStateIndex (Results 1 – 1 of 1) sorted by relevance
26068 int viewStateIndex = 0; in onCreateDrawableState() local26069 if ((privateFlags & PFLAG_PRESSED) != 0) viewStateIndex |= StateSet.VIEW_STATE_PRESSED; in onCreateDrawableState()26070 if ((mViewFlags & ENABLED_MASK) == ENABLED) viewStateIndex |= StateSet.VIEW_STATE_ENABLED; in onCreateDrawableState()26071 if (isFocused()) viewStateIndex |= StateSet.VIEW_STATE_FOCUSED; in onCreateDrawableState()26072 if ((privateFlags & PFLAG_SELECTED) != 0) viewStateIndex |= StateSet.VIEW_STATE_SELECTED; in onCreateDrawableState()26073 if (hasWindowFocus()) viewStateIndex |= StateSet.VIEW_STATE_WINDOW_FOCUSED; in onCreateDrawableState()26074 if ((privateFlags & PFLAG_ACTIVATED) != 0) viewStateIndex |= StateSet.VIEW_STATE_ACTIVATED; in onCreateDrawableState()26079 viewStateIndex |= StateSet.VIEW_STATE_ACCELERATED; in onCreateDrawableState()26081 if ((privateFlags & PFLAG_HOVERED) != 0) viewStateIndex |= StateSet.VIEW_STATE_HOVERED; in onCreateDrawableState()26085 viewStateIndex |= StateSet.VIEW_STATE_DRAG_CAN_ACCEPT; in onCreateDrawableState()[all …]