Home
last modified time | relevance | path

Searched refs:mCloseIcon (Results 1 – 4 of 4) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java38 private View mCloseIcon; field in SecondLevelIndicatorControlBar
55 mCloseIcon = findViewById(R.id.back_to_first_level); in onFinishInflate()
56 mCloseIcon.setOnClickListener(this); in onFinishInflate()
76 if (x > mCloseIcon.getLeft()) return indexOfChild(mCloseIcon); in getTouchViewIndex()
178 int iconWidth = mCloseIcon.getMeasuredWidth(); in onLayout()
196 mCloseIcon.layout(offsetX, 0, (offsetX + iconWidth), height); in onLayout()
203 mCloseIcon.setVisibility(enabled ? View.VISIBLE : View.INVISIBLE); in setEnabled()
205 mCloseIcon.setEnabled(enabled); in setEnabled()
DIndicatorControlWheel.java96 private ImageView mCloseIcon; field in IndicatorControlWheel
186 mCloseIcon = addImageButton(context, R.drawable.btn_wheel_close_settings, false); in initialize()
524 mCloseIcon.setVisibility(enabled ? View.VISIBLE : View.INVISIBLE); in setEnabled()
531 mCloseIcon.setEnabled(enabled); in setEnabled()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DSearchView.java53 private final View mCloseIcon; field in SearchView
99 mCloseIcon = requireViewByRefId(this, R.id.car_ui_toolbar_search_close); in SearchView()
101 mCloseIcon.setOnClickListener(view -> { in SearchView()
108 mCloseIcon.setVisibility(View.GONE); in SearchView()
183 mCloseIcon.setVisibility(hasQuery ? View.VISIBLE : View.GONE); in onVisibilityChanged()
263 mCloseIcon.setVisibility(TextUtils.isEmpty(query) ? View.GONE : View.VISIBLE); in onSearch()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DSearchController.java56 private View mCloseIcon; field in SearchController
120 mCloseIcon = mInflatedView.requireViewById(R.id.toolbar_search_close); in setSearchMode()
160 mCloseIcon.setVisibility(TextUtils.isEmpty(mSearchQuery) ? View.GONE : View.VISIBLE); in setSearchMode()
161 mCloseIcon.setOnClickListener(view -> { in setSearchMode()
244 mCloseIcon.setVisibility(TextUtils.isEmpty(query) ? View.GONE : View.VISIBLE); in onSearch()