Home
last modified time | relevance | path

Searched refs:zoomIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DFocusHighlightHelper.java40 static boolean isValidZoomIndex(int zoomIndex) { in isValidZoomIndex() argument
41 return zoomIndex == ZOOM_FACTOR_NONE || getResId(zoomIndex) > 0; in isValidZoomIndex()
44 static int getResId(int zoomIndex) { in getResId() argument
45 switch (zoomIndex) { in getResId()
152 BrowseItemFocusHighlight(int zoomIndex, boolean useDimmer) { in BrowseItemFocusHighlight() argument
153 if (!isValidZoomIndex(zoomIndex)) { in BrowseItemFocusHighlight()
156 mScaleIndex = zoomIndex; in BrowseItemFocusHighlight()
200 public static void setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, in setupBrowseItemFocusHighlight() argument
202 adapter.setFocusHighlight(new BrowseItemFocusHighlight(zoomIndex, useDimmer)); in setupBrowseItemFocusHighlight()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java71 public final int zoomIndex; field in ParameterUtils.ZoomData
77 public ZoomData(int zoomIndex, Rect previewCrop, Rect reportedCrop) { in ZoomData() argument
78 this.zoomIndex = zoomIndex; in ZoomData()
DLegacyRequestMapper.java77 params.setZoom(zoomData.zoomIndex); in convertRequestMetadata()