/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTest.java | 57 public void onFocusChange(View v, boolean hasFocus) { 58 transcript.add(hasFocus ? "Gained focus" : "Lost focus"); 63 assertFalse(view.hasFocus()); 68 assertTrue(view.hasFocus()); 73 assertFalse(view.hasFocus());
|
/packages/apps/Settings/src/com/android/settings/ |
ConfirmLockPassword.java | 72 public void onWindowFocusChanged(boolean hasFocus) { 73 super.onWindowFocusChanged(hasFocus); 76 ((ConfirmLockPasswordFragment)fragment).onWindowFocusChanged(hasFocus); 281 public void onWindowFocusChanged(boolean hasFocus) { 282 if (!hasFocus || mBlockImm) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
CallAudioManager.java | 175 if (hasFocus() && getForegroundCall() == call) { 188 if (hasFocus()) { 246 if (!hasFocus()) { 286 if (!hasFocus()) { 309 if (!hasFocus()) { 339 if (!hasFocus()) { 397 if (!hasFocus()) { 444 if (!hasFocus()) { 585 if (hasFocus()) { 601 Preconditions.checkState(hasFocus()); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
DialogActionAdapter.java | 316 public void onFocusChange(View v, boolean hasFocus) { 317 if (hasFocus) { 319 changeFocus(v, true /* hasFocus */, true /* shouldAnimate */); 330 changeFocus(v, false /* hasFocus */, true /* shouldAnimate */); 334 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { 373 ? (hasFocus ? mSelectedTitleAlpha : mUnselectedAlpha) : mDisabledTitleAlpha; 374 float descriptionAlpha = (!hasFocus || action.infoOnly()) ? mUnselectedDescriptionAlpha
|
/docs/source.android.com/src/devices/input/ |
diagnostics.jd | 390 0: name='Window{357bbbfe u0 SearchPanel}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01820100, type=0x000007e8, layer=211000, frame=[0,0][1080,1920], scale=1.000000, touchableRegion=[0,0][1080,1920], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 391 1: name='Window{3b14c0ca u0 NavigationBar}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01840068, type=0x000007e3, layer=201000, frame=[0,1776][1080,1920], scale=1.000000, touchableRegion=[0,1776][1080,1920], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 392 2: name='Window{2c7e849c u0 com.vito.lux}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x0089031a, type=0x000007d6, layer=191000, frame=[-495,-147][1575,1923], scale=1.000000, touchableRegion=[-495,-147][1575,1923], inputFeatures=0x00000000, ownerPid=4697, ownerUid=10084, dispatchingTimeout=5000.000ms 393 3: name='Window{31c9f22 u0 Heads Up}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01820328, type=0x000007de, layer=161000, frame=[0,0][1794,750], scale=1.000000, touchableRegion=[0,0][1794,192], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 394 4: name='Window{3fb06dc3 u0 StatusBar}', displayId=0, paused=false, hasFocus=true, hasWallpaper=false, visible=true, canReceiveKeys=true, flags=0x81960040, type=0x000007d0, layer=151000, frame=[0,0][1080,1920], scale=1.000000, touchableRegion=[0,0][1080,1920], inputFeatures=0x00000004, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 395 5: name='Window{278c1d65 u0 KeyguardScrim}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01110900, type=0x000007ed, layer=131000, frame=[0,0][1080,1776], scale=1.000000, touchableRegion=[0,0][1080,1776], inputFeatures=0x00000000, ownerPid=745, ownerUid=1000, dispatchingTimeout=5000.000ms 396 6: name='Window{869f213 u0 com.android.systemui.ImageWallpaper}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x00000318, type=0x000007dd, layer=21025, frame=[0,0][2328,1920], scale=1.000000, touchableRegion=[0,0][2328,1920], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 397 7: name='Window{16ab6320 u0 InputMethod}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01800108, type=0x000007db, layer=21020, frame=[0,75][1080,1920], scale=1.000000, touchableRegion=[0,986][1080,1920], inputFeatures=0x00000000, ownerPid=8409, ownerUid=10056, dispatchingTimeout=5000.000ms 398 8: name='Window{cf4ff0b u0 com.google.android.googlequicksearchbox/com.google.android.launcher.GEL}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x81910120, type=0x00000001, layer=21015, frame=[0,0][1080,1920], scale=1.000000, touchableRegion=[0,0][1080,1920], inputFeatures=0x00000000, ownerPid=14722, ownerUid=10022, dispatchingTimeout=5000.000ms 399 9: name='Window{1a7be08a u0 com.android.systemui/com.android.systemui.recents.RecentsActivity EXITING}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x81910120, type=0x00000001, (…) [all...] |
/frameworks/base/core/java/android/app/ |
NativeActivity.java | 256 public void onWindowFocusChanged(boolean hasFocus) { 257 super.onWindowFocusChanged(hasFocus); 259 onWindowFocusChangedNative(mNativeHandle, hasFocus);
|
/packages/apps/Browser/src/com/android/browser/ |
NavigationBarPhone.java | 203 public void onFocusChange(View view, boolean hasFocus) { 205 if (hasFocus && !mUrlInput.getText().toString().equals(mUrlInput.getTag())) { 213 super.onFocusChange(view, hasFocus);
|
XLargeUi.java | 249 if ((web != null) && web.hasFocus() && !mTitleBar.hasFocus()) {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CTableCombo.java | 51 protected boolean hasFocus; 161 if (hasFocus) { 164 hasFocus = true; 181 hasFocus = false; 313 if (hasFocus) { 316 hasFocus = true; 336 if (hasFocus) { 339 hasFocus = true; 360 hasFocus = false;
|
/frameworks/base/core/java/com/android/internal/view/ |
BaseIWindow.java | 60 public void windowFocusChanged(boolean hasFocus, boolean touchEnabled) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
DisabledLongpressTest.java | 69 assertTrue(mSimpleView.hasFocus());
|
DisabledTest.java | 76 assertTrue(mDisabled.hasFocus());
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
TouchModeFocusableTest.java | 89 getActivity().getLayout().hasFocus());
|
/frameworks/base/services/core/java/com/android/server/input/ |
InputWindowHandle.java | 72 public boolean hasFocus;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
InputConsumerImpl.java | 67 mWindowHandle.hasFocus = false;
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
WindowCallback.java | 93 public void onWindowFocusChanged(boolean hasFocus) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SearchOrbView.java | 248 void animateOnFocus(boolean hasFocus) { 249 final float zoom = hasFocus ? mFocusedZoom : 1f; 251 startShadowFocusAnimation(hasFocus, mScaleDurationMs); 252 enableOrbColorAnimation(hasFocus);
|
SpeechOrbView.java | 70 animateOnFocus(hasFocus());
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
DragGestureDetector.java | 73 mDrag = mTable.hasFocus();
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
HorizontalGridTestActivity.java | 111 public void onFocusChange(View v, boolean hasFocus) { 112 if (hasFocus) {
|
/external/chromium-trace/trace-viewer/tracing/tracing/ui/ |
find_control.html | 132 get hasFocus() { 158 if (!this.controller || !this.hasFocus) {
|
/external/replicaisland/src/com/replica/replicaisland/ |
AnimationPlayerActivity.java | 172 public void onWindowFocusChanged(boolean hasFocus) { 173 if (hasFocus && mAnimation != null) {
|
/frameworks/base/core/java/android/inputmethodservice/ |
SoftInputWindow.java | 82 public void onWindowFocusChanged(boolean hasFocus) { 83 super.onWindowFocusChanged(hasFocus);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
UserPresetsAdapter.java | 151 public void onFocusChange(View v, boolean hasFocus) { 156 if (!hasFocus) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
BaseScrollAdapterFragment.java | 184 boolean hasFocus = (mainPosition == 0.0); 185 if (hasFocus) {
|