Home
last modified time | relevance | path

Searched refs:mCloseIcon (Results 1 – 3 of 3) 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
179 mCloseIcon = addImageButton(context, R.drawable.btn_wheel_close_settings, false); in initialize()
517 mCloseIcon.setVisibility(enabled ? View.VISIBLE : View.INVISIBLE); in setEnabled()
524 mCloseIcon.setEnabled(enabled); in setEnabled()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DSearchView.java48 private final View mCloseIcon; field in SearchView
91 mCloseIcon = requireViewByRefId(this, R.id.car_ui_toolbar_search_close); in SearchView()
93 mCloseIcon.setOnClickListener(view -> mSearchText.getText().clear()); in SearchView()
94 mCloseIcon.setVisibility(View.GONE); in SearchView()
137 mCloseIcon.setVisibility(hasQuery ? View.VISIBLE : View.GONE); in onVisibilityChanged()
227 mCloseIcon.setVisibility(TextUtils.isEmpty(query) ? View.GONE : View.VISIBLE); in onSearch()