Home
last modified time | relevance | path

Searched refs:focus (Results 1 – 25 of 53) sorted by relevance

123

/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardContainer.java241 public void set(KeyFocus focus) { in set() argument
242 index = focus.index; in set()
243 type = focus.type; in set()
244 code = focus.code; in set()
245 label = focus.label; in set()
246 rect.set(focus.rect); in set()
959 public boolean getBestFocus(Float x, Float y, KeyFocus focus) { in getBestFocus() argument
980 configureFocus(focus, mRect, i, KeyFocus.TYPE_SUGGESTION); in getBestFocus()
990 configureFocus(focus, mRect, 0, KeyFocus.TYPE_ACTION); in getBestFocus()
1002 configureFocus(focus, mRect, index, key, KeyFocus.TYPE_MAIN); in getBestFocus()
[all …]
DLeanbackKeyboardController.java218 KeyFocus focus = mContainer.getCurrFocus(); in performBestSnap() local
219 mTempPoint.x = focus.rect.centerX(); in performBestSnap()
220 mTempPoint.y = focus.rect.centerY(); in performBestSnap()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DKeyboardInterpreter.java38 final View focus = mTable.getFocus(); in onKeyDown() local
93 mTable.moveFocus(focus, 0f); in onKeyDown()
98 mTable.moveFocus(focus, 90f); in onKeyDown()
103 mTable.moveFocus(focus, 180f); in onKeyDown()
108 mTable.moveFocus(focus, 270f); in onKeyDown()
DPhotoTable.java294 public void setFocus(View focus) { in setFocus() argument
295 assert(focus != null); in setFocus()
297 mFocus = focus; in setFocus()
298 moveToTopOfPile(focus); in setFocus()
299 setHighlight(focus, true); in setFocus()
355 public View moveFocus(View focus, float direction) { in moveFocus() argument
356 return moveFocus(focus, direction, 90f); in moveFocus()
359 public View moveFocus(View focus, float direction, float angle) { in moveFocus() argument
360 if (focus == null) { in moveFocus()
371 final double[] a = getCenter(focus); in moveFocus()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarZonesAudioFocus.java102 CarAudioFocus focus = mFocusZones.get(zoneId); in getAudioFocusLosersForUid() local
103 return focus.getAudioFocusLosersForUid(uid); in getAudioFocusLosersForUid()
113 CarAudioFocus focus = mFocusZones.get(zoneId); in getAudioFocusHoldersForUid() local
114 return focus.getAudioFocusHoldersForUid(uid); in getAudioFocusHoldersForUid()
123 CarAudioFocus focus = mFocusZones.get(zoneId); in transientlyLoseInFocusInZone() local
126 focus.removeAudioFocusInfoAndTransientlyLoseFocus(info); in transientlyLoseInFocusInZone()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java68 private RenderOverlay focus; field in CameraComposerFragment
99 focus = cameraView.findViewById(R.id.focus_visual); in onCreateView()
138 CameraManager.get().setRenderOverlay(focus); in setupCamera()
175 focus.getPieRenderer().clear(); in onClick()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java325 private void clearUpDownFocusState(View focus) { in clearUpDownFocusState() argument
332 !(focus instanceof ProgramItemView) in clearUpDownFocusState()
333 || GuideUtils.isCurrentProgram((ProgramItemView) focus); in clearUpDownFocusState()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java531 View focus = root.findFocus(); in maybeInitFocus() local
532 return ViewUtils.initFocus(root, focus); in maybeInitFocus()
541 View focus = root.findFocus(); in maybeAdjustFocus() local
542 return ViewUtils.adjustFocus(root, focus); in maybeAdjustFocus()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarNavigationManagerTest.java141 public void onAppFocusOwnershipLost(int focus) { in testSendEvent()
146 public void onAppFocusOwnershipGranted(int focus) { in testSendEvent()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceCaptureToolsImpl.java35 import com.android.camera.ui.focus.FocusController;
36 import com.android.camera.ui.focus.FocusSound;
DResourceCaptureTools.java26 import com.android.camera.ui.focus.FocusController;
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java617 public void onAudioFocusChange(int focus) {
618 switch (focus) {
628 Log.e(TAG, "Unhandled audio focus type: " + focus);
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DFocusRing.java17 package com.android.camera.ui.focus;
DFocusSound.java17 package com.android.camera.ui.focus;
DLensRangeCalculator.java17 package com.android.camera.ui.focus;
DCameraCoordinateTransformer.java17 package com.android.camera.ui.focus;
DManualFocusRing.java17 package com.android.camera.ui.focus;
DFocusController.java17 package com.android.camera.ui.focus;
DAutoFocusRing.java17 package com.android.camera.ui.focus;
DFocusRingRenderer.java17 package com.android.camera.ui.focus;
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceFocusManager.java295 public void requestFocus(CallFocus focus, RequestFocusCallback callback) { in requestFocus() argument
300 new FocusRequest(focus, callback))) in requestFocus()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java35 import com.android.camera.ui.focus.CameraCoordinateTransformer;
36 import com.android.camera.ui.focus.FocusRing;
/packages/apps/Launcher3/
Dproguard.flags15 # next row when focus is on the last item of last row when using a RecyclerView
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMainClusterActivity.java251 mClusterViewModel.getNavigationFocus().observe(this, focus -> { in onCreate()
252 if (!focus) { in onCreate()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DOneCameraCharacteristicsImpl.java25 import com.android.camera.ui.focus.LensRangeCalculator;

123