Home
last modified time | relevance | path

Searched refs:isFocused (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccessibilityWindowInfo.java49 private boolean isFocused = false; field in ShadowAccessibilityWindowInfo
89 newShadow.isFocused = isFocused; in getClone()
146 areEqual &= (isFocused == otherShadow.isFocused()); in equals()
226 protected boolean isFocused() { in isFocused() method in ShadowAccessibilityWindowInfo
227 return isFocused; in isFocused()
278 isFocused = focused; in setFocused()
DShadowAccessibilityNodeInfo.java377 protected boolean isFocused() { in isFocused() method in ShadowAccessibilityNodeInfo
536 protected void setFocused(boolean isFocused) { in setFocused() argument
537 propertyFlags = (propertyFlags & ~FOCUSED_MASK) | (isFocused ? FOCUSED_MASK : 0); in setFocused()
DShadowView.java585 public boolean isFocused() throws RemoteException { in isFocused() method in ShadowView.WindowIdHelper.MyIWindowIdStub
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewTest.java135 assertFalse(view.isFocused()); in shouldFocus()
140 assertFalse(view.isFocused()); in shouldFocus()
146 assertTrue(view.isFocused()); in shouldFocus()
156 assertFalse(view.isFocused()); in shouldFocus()
DShadowLayoutInflaterTest.java189 assertFalse(editText.isFocused()); in shouldGiveFocusToElementContainingRequestFocusElement()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java799 requestPlayPauseFocus |= shouldShowPauseButton && playButton.isFocused(); in updatePlayPauseButton()
803 requestPlayPauseFocus |= !shouldShowPauseButton && pauseButton.isFocused(); in updatePlayPauseButton()
DDefaultTimeBar.java864 int scrubberSize = (scrubbing || isFocused()) ? scrubberDraggedSize in drawPlayhead()