Home
last modified time | relevance | path

Searched refs:parentView (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/section/
DConnectedSectionController.kt62 parentView = view, in createView()
73 parentView = view, in createView()
88 parentView: LinearLayout, in add()
95 context = parentView.context, in add()
133 parentView.addView(childView) in add()
/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java49 View parentView = (View) view.getParent(); in startCaptureAnimation() local
50 float slideDistance = (float) (parentView.getWidth() - view.getLeft()); in startCaptureAnimation()
52 float scaleX = ((float) parentView.getWidth()) / ((float) view.getWidth()); in startCaptureAnimation()
53 float scaleY = ((float) parentView.getHeight()) / ((float) view.getHeight()); in startCaptureAnimation()
64 parentView.getHeight() / 2 - centerY, 0f) in startCaptureAnimation()
95 parentView.getWidth() / 2 - centerX, 0f) in startCaptureAnimation()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollView.java161 ViewGroup parentView = (ViewGroup) getParent(); in updateDimensions() local
165 final int[] coords = parentView.getLocationOnScreen(); in updateDimensions()
168 final int parentRight = parentLeft + parentView.getWidth(); in updateDimensions()
180 final int[] coords = parentView.getLocationOnScreen(); in updateDimensions()
183 final int parentRight = parentLeft + parentView.getWidth(); in updateDimensions()
184 final int parentBottom = parentTop + parentView.getHeight(); in updateDimensions()
DUdfpsEnrollEnrollingView.java213 ViewGroup parentView = (ViewGroup) mHeaderView.getParent(); in swapHeaderAndContent() local
214 parentView.removeView(mHeaderView); in swapHeaderAndContent()
215 parentView.addView(mHeaderView); in swapHeaderAndContent()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/prioritylist/
DPriorityListDialogFragment.kt44 val parentView: View = in <lambda>() constant
47 parentView.findViewById(R.id.priority_list_recycle_view) in <lambda>()
52 val messageView = parentView.findViewById<TextView>(R.id.priority_list_message) in <lambda>()
61 .setView(parentView) in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java57 private View parentView; field in BlockNumberDialogFragment
126 parentView = getActivity().findViewById(getArguments().getInt(ARG_PARENT_VIEW_ID)); in onCreateDialog()
225 Snackbar.make(parentView, undoMessage, Snackbar.LENGTH_LONG).show(); in blockNumber()
247 Snackbar.make(parentView, message, Snackbar.LENGTH_LONG) in blockNumber()
276 Snackbar.make(parentView, undoMessage, Snackbar.LENGTH_LONG).show(); in unblockNumber()
298 Snackbar.make(parentView, message, Snackbar.LENGTH_LONG) in unblockNumber()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java122 public void showMoreKeysPanel(final View parentView, final Controller controller, in showMoreKeysPanel() argument
133 parentView.getLocationInWindow(mCoordinates); in showMoreKeysPanel()
135 final int maxX = parentView.getMeasuredWidth() - container.getMeasuredWidth(); in showMoreKeysPanel()
302 public void showInParent(final ViewGroup parentView) { in showInParent() argument
304 parentView.addView(getContainerView()); in showInParent()
DMoreKeysPanel.java63 public void showMoreKeysPanel(View parentView, Controller controller, int pointX, in showMoreKeysPanel() argument
125 public void showInParent(ViewGroup parentView); in showInParent() argument
/packages/apps/Messaging/src/com/android/messaging/ui/
DCompositeAdapter.java67 public View getHeaderView(final View convertView, final ViewGroup parentView) { in getHeaderView() argument
259 public View getView(final int position, final View convertView, final ViewGroup parentView) { in getView() argument
273 view = partition.getHeaderView(convertView, parentView); in getView()
275 view = partition.getAdapter().getView(offset, convertView, parentView); in getView()
DSnackBar.java135 public Builder(final SnackBarManager snackBarManager, final View parentView) { in Builder() argument
137 Assert.notNull(parentView); in Builder()
139 mContext = parentView.getContext(); in Builder()
140 mParentView = parentView; in Builder()
DSnackBarManager.java126 public SnackBar.Builder newBuilder(final View parentView) { in newBuilder() argument
127 return new SnackBar.Builder(this, parentView); in newBuilder()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DComposeInitializer.java69 while (parent instanceof View parentView) { in getContentChild()
70 if (parentView.getId() == android.R.id.content) return self; in getContentChild()
71 self = parentView; in getContentChild()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DA11yUtils.kt29 fun increaseViewTouchTargetSize(context: Context, childView: View, parentView: View) { in increaseViewTouchTargetSize()
39 parentView.touchDelegate = TouchDelegate(largerTouchBounds, childView) in increaseViewTouchTargetSize()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DListsFragment.java151 final View parentView = inflater.inflate(R.layout.lists_fragment, container, false); in onCreateView() local
198 viewPager = (DialerViewPager) parentView.findViewById(R.id.lists_pager); in onCreateView()
214 viewPagerTabs = (ViewPagerTabs) parentView.findViewById(R.id.lists_pager_header); in onCreateView()
218 removeView = (RemoveView) parentView.findViewById(R.id.remove_view); in onCreateView()
219 removeViewContent = parentView.findViewById(R.id.remove_view_content); in onCreateView()
233 return parentView; in onCreateView()
DOldSpeedDialFragment.java137 View parentView = inflater.inflate(R.layout.speed_dial_fragment, container, false); in onCreateView() local
139 listView = (PhoneFavoriteListView) parentView.findViewById(R.id.contact_tile_list); in onCreateView()
148 emptyView = (EmptyContentView) parentView.findViewById(R.id.empty_list_view); in onCreateView()
152 contactTileFrame = parentView.findViewById(R.id.contact_tile_frame); in onCreateView()
170 return parentView; in onCreateView()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/navigation/utils/
DDialogUtils.kt55 val parentView = LocalView.current.parent as View in SetDialogDestinationToEdgeToEdge() constant
62 parentView.layoutParams = in SetDialogDestinationToEdgeToEdge()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/dialog/
DAlertDialogBuilder.kt293 val parentView = positiveButtonView.parent as View in <lambda>() constant
294 increaseViewTouchTargetSize(context, positiveButtonView, parentView) in <lambda>()
299 val parentView = negativeButtonView.parent.parent as View in <lambda>() constant
300 increaseViewTouchTargetSize(context, negativeButtonView, parentView) in <lambda>()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java469 View parentView = ((View) getParent()); in updateVisibleArea() local
470 if (parentView == null) { in updateVisibleArea()
474 layoutVisibleArea(parentView.getLeft() - getLeft(), getRight() - parentView.getRight()); in updateVisibleArea()
476 layoutVisibleArea(getRight() - parentView.getRight(), parentView.getLeft() - getLeft()); in updateVisibleArea()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/
DMenuItemRenderer.java56 MenuItemRenderer(MenuItem item, ViewGroup parentView) { in MenuItemRenderer() argument
58 mParentView = parentView; in MenuItemRenderer()
61 mMenuItemIconSize = parentView.getContext().getResources() in MenuItemRenderer()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java115 public static void showSnackBar(final Context context, @NonNull final View parentView, in showSnackBar() argument
131 showSnackBarWithCustomAction(context, parentView, message, action, interactions, in showSnackBar()
136 @NonNull final View parentView, in showSnackBarWithCustomAction() argument
145 .newBuilder(parentView) in showSnackBarWithCustomAction()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DFilesPlusTextContentPreviewUiTest.kt320 parentView: View?, in <lambda>()
324 assertThat(parentView).isNotNull() in <lambda>()
325 val textView = parentView?.findViewById<TextView>(textViewResId) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/widget/
DUdfpsEnrollViewV2.kt78 val parentView = parent as ViewGroup in <lambda>() constant
79 val coords = parentView.getLocationOnScreen() in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DAbstractConversationListActivity.java318 @NonNull final View parentView, @Nullable final Runnable undoRunnable, in UpdateDestinationBlockedActionSnackBar() argument
321 mParentView = parentView; in UpdateDestinationBlockedActionSnackBar()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleAndOptionsFragment.java314 public View getHeaderView(final View convertView, final ViewGroup parentView) { in getHeaderView() argument
320 R.layout.people_and_options_section_header, parentView, false); in getHeaderView()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartPreferenceController.java271 final View parentView = (View) dailyChartView.getParent(); in setBatteryChartView() local
272 if (parentView != null && parentView.getId() == R.id.battery_chart_group) { in setBatteryChartView()

12