Lines Matching refs:binder
147 IAppFocusListenerImpl binder; in addFocusListener() local
149 binder = mChangeBinders.get(listener); in addFocusListener()
150 if (binder == null) { in addFocusListener()
151 binder = new IAppFocusListenerImpl(this, listener); in addFocusListener()
152 mChangeBinders.put(listener, binder); in addFocusListener()
154 binder.addAppType(appType); in addFocusListener()
157 mService.registerFocusListener(binder, appType); in addFocusListener()
169 IAppFocusListenerImpl binder; in removeFocusListener() local
171 binder = mChangeBinders.get(listener); in removeFocusListener()
172 if (binder == null) { in removeFocusListener()
177 mService.unregisterFocusListener(binder, appType); in removeFocusListener()
183 binder.removeAppType(appType); in removeFocusListener()
184 if (!binder.hasAppTypes()) { in removeFocusListener()
196 IAppFocusListenerImpl binder; in removeFocusListener() local
198 binder = mChangeBinders.remove(listener); in removeFocusListener()
199 if (binder == null) { in removeFocusListener()
204 for (Integer appType : binder.getAppTypes()) { in removeFocusListener()
205 mService.unregisterFocusListener(binder, appType); in removeFocusListener()
247 IAppFocusOwnershipCallbackImpl binder; in isOwningFocus() local
249 binder = mOwnershipBinders.get(callback); in isOwningFocus()
250 if (binder == null) { in isOwningFocus()
255 return mService.isOwningFocus(binder, appType); in isOwningFocus()
277 IAppFocusOwnershipCallbackImpl binder; in requestAppFocus() local
279 binder = mOwnershipBinders.get(ownershipCallback); in requestAppFocus()
280 if (binder == null) { in requestAppFocus()
281 binder = new IAppFocusOwnershipCallbackImpl(this, ownershipCallback); in requestAppFocus()
282 mOwnershipBinders.put(ownershipCallback, binder); in requestAppFocus()
284 binder.addAppType(appType); in requestAppFocus()
287 return mService.requestAppFocus(binder, appType); in requestAppFocus()
304 IAppFocusOwnershipCallbackImpl binder; in abandonAppFocus() local
306 binder = mOwnershipBinders.get(ownershipCallback); in abandonAppFocus()
307 if (binder == null) { in abandonAppFocus()
312 mService.abandonAppFocus(binder, appType); in abandonAppFocus()
318 binder.removeAppType(appType); in abandonAppFocus()
319 if (!binder.hasAppTypes()) { in abandonAppFocus()
331 IAppFocusOwnershipCallbackImpl binder; in abandonAppFocus() local
333 binder = mOwnershipBinders.remove(ownershipCallback); in abandonAppFocus()
334 if (binder == null) { in abandonAppFocus()
339 for (Integer appType : binder.getAppTypes()) { in abandonAppFocus()
340 mService.abandonAppFocus(binder, appType); in abandonAppFocus()