Home
last modified time | relevance | path

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

/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/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/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/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/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/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/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DMenuItemRenderer.java69 MenuItemRenderer(MenuItem item, ViewGroup parentView) { in MenuItemRenderer() argument
71 mParentView = parentView; in MenuItemRenderer()
74 mMenuItemIconSize = parentView.getContext().getResources() in MenuItemRenderer()
/packages/apps/Settings/src/com/android/settings/panel/
DPanelFragment.java312 private static AnimatorSet buildAnimatorSet(@NonNull View parentView, float startY, float endY, in buildAnimatorSet() argument
314 final View sheet = parentView.findViewById(R.id.panel_container); in buildAnimatorSet()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DAbstractConversationListActivity.java317 @NonNull final View parentView, @Nullable final Runnable undoRunnable, in UpdateDestinationBlockedActionSnackBar() argument
320 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()