Searched refs:view (Results 101 - 125 of 2655) sorted by relevance

1234567891011>>

/packages/apps/Settings/src/com/android/settings/widget/
H A DLoadingViewController.java21 import android.view.View;
22 import android.view.animation.Animation;
23 import android.view.animation.AnimationUtils;
65 * Show/hide loading view and content view.
67 * @param loading The loading spinner view
68 * @param content The content view
78 private static void setViewShown(final View view, boolean shown, boolean animate) { argument
80 Animation animation = AnimationUtils.loadAnimation(view.getContext(),
83 view
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DAccessibilityUtil.java5 import android.support.v4.view.accessibility.AccessibilityManagerCompat;
6 import android.view.View;
7 import android.view.accessibility.AccessibilityManager;
34 public void onClick(View view) {
35 float currentZoom = mPreviewOverlay.zoomIn(view, mMaxZoom);
50 public void onClick(View view) {
51 float currentZoom = mPreviewOverlay.zoomOut(view, mMaxZoom);
64 public AccessibilityUtil(PreviewOverlay previewOverlay, View view) { argument
66 mZoomPlusButton = (Button) view.findViewById(R.id.accessibility_zoom_plus_button);
67 mZoomMinusButton = (Button) view
[all...]
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
H A DSetupGuidedStepFragment.java24 import android.view.LayoutInflater;
25 import android.view.View;
26 import android.view.ViewGroup;
27 import android.view.ViewGroup.MarginLayoutParams;
46 View view = super.onCreateView(inflater, container, savedInstanceState);
48 view.findViewById(R.id.action_fragment_root).setPadding(0, 0, 0, 0);
50 view.findViewById(R.id.content_fragment).getLayoutParams();
59 View list = view.findViewById(R.id.guidedactions_list);
61 // Use content view to check layout direction while view i
[all...]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
H A DDvrItemPresenter.java23 import android.view.View;
24 import android.view.View.OnClickListener;
25 import android.view.ViewGroup;
46 DvrItemViewHolder(RecordingCardView view) { argument
47 super(view);
51 return (RecordingCardView) view;
80 viewHolder.view.setTag(item);
81 viewHolder.view.setOnClickListener(mOnClickListener);
93 viewHolder.view.setTag(null);
94 viewHolder.view
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DMultiAttachmentLayout.java22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.animation.AnimationSet;
25 import android.view.animation.ScaleAnimation;
26 import android.view.animation.TranslateAnimation;
175 removeView(viewWrapper.view);
194 if (viewWrapper.view instanceof AsyncImageView) {
195 ((AsyncImageView) viewWrapper.view).setColorFilter(color);
202 if (viewWrapper.view instanceof AsyncImageView) {
203 ((AsyncImageView) viewWrapper.view)
411 final View view; field in class:MultiAttachmentLayout.ViewWrapper
419 ViewWrapper(final View view, final MessagePartData attachment) argument
[all...]
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
H A DPressAndHoldTouchListener.java19 import android.view.MotionEvent;
20 import android.view.View;
21 import android.view.View.OnClickListener;
22 import android.view.View.OnTouchListener;
41 public boolean onTouch(View view, MotionEvent motionEvent) { argument
46 mView = view;
48 clickListener.onClick(view);
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/
H A DDrawerItemViewHolder.java22 import android.view.View;
37 DrawerItemViewHolder(View view) { argument
38 super(view);
39 mIcon = view.findViewById(R.id.icon);
40 mTitle = view.findViewById(R.id.title);
42 throw new IllegalArgumentException("Missing required elements in provided view!");
45 mText = view.findViewById(R.id.text);
46 mRightIcon = view.findViewById(R.id.right_icon);
84 * Set click-listener on the view wrapped by this ViewHolder.
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
H A DMockContactPhotoManager.java21 import android.view.View;
32 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, boolean isCircular, argument
34 defaultProvider.applyDefaultImage(view, -1, darkTheme, null);
38 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, argument
41 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, null);
45 public void removePhoto(ImageView view) { argument
46 view.setImageDrawable(null);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
H A DCustomHeaderViewPagerTest.java18 import android.support.v4.view.ViewPager;
19 import android.view.View;
20 import android.view.ViewGroup;
35 final CustomHeaderViewPager view = new CustomHeaderViewPager(getActivity(), null);
43 view.setViewHolders(viewHolders);
44 final ViewPager pager = (ViewPager) view.findViewById(R.id.pager);
45 final ViewGroup tabStrip = (ViewGroup) view.findViewById(R.id.tab_strip);
50 // Click on the first page. Now the view pager should switch to that page accordingly.
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DPresetPreference.java21 import android.view.View;
22 import android.view.accessibility.CaptioningManager;
23 import android.view.accessibility.CaptioningManager.CaptionStyle;
51 protected void onBindListItem(View view, int index) { argument
52 final View previewViewport = view.findViewById(R.id.preview_viewport);
53 final SubtitleView previewText = (SubtitleView) view.findViewById(R.id.preview);
63 final TextView summary = (TextView) view.findViewById(R.id.summary);
/packages/apps/Settings/src/com/android/settings/notification/
H A DEmptyTextSettings.java22 import android.view.Gravity;
23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.view.ViewGroup.LayoutParams;
35 public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { argument
36 super.onViewCreated(view, savedInstanceState);
42 ((ViewGroup) view.findViewById(android.R.id.list_container)).addView(mEmpty,
/packages/apps/TV/src/com/android/tv/ui/
H A DViewUtils.java22 import android.view.View;
23 import android.view.ViewGroup.LayoutParams;
29 * A class that includes convenience methods for view classes.
50 * Creates an animator in view's height
51 * @param target the {@link view} animator performs on.
76 * Gets view's layout height.
78 public static int getLayoutHeight(View view) { argument
79 LayoutParams layoutParams = view.getLayoutParams();
84 * Sets view's layout height.
86 public static void setLayoutHeight(View view, in argument
[all...]
H A DHardwareLayerAnimatorListenerAdapter.java21 import android.view.View;
31 public HardwareLayerAnimatorListenerAdapter(View view) { argument
32 mView = view;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DFrameLayoutWithShadows.java29 import android.view.View;
30 import android.view.ViewDebug.ExportedProperty;
31 import android.view.ViewGroup;
32 import android.view.ViewParent;
42 * will automatically be sized to wrap their corresponding view. The default
200 * prune shadow views whose related view was detached from FrameLayoutWithShadows
210 View view = shadowView.shadowedView;
211 if (this != findParentShadowsView(view)) {
212 view.setTag(R.id.ShadowView, null);
223 * pass for the view bu
283 addShadowView(View view, Drawable shadow) argument
309 addShadowView(View view) argument
323 getShadowView(View view) argument
348 bringViewShadowToTop(View view) argument
378 removeShadowView(View view) argument
415 setShadowVisibility(View view, int visibility) argument
427 findParentShadowsView(View view) argument
[all...]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DTextLineItem.java20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
28 * Contains logic for a line item represents text only view of a title and a description.
67 public ViewHolder(View view) { argument
68 super(view);
69 titleView = (TextView) view.findViewById(R.id.title);
70 descView = (TextView) view.findViewById(R.id.desc);
71 rightArrow = (ImageView) view.findViewById(R.id.right_chevron);
72 dividerLine = view
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
H A DRootsAdapter.java21 import android.view.View;
22 import android.view.View.OnDragListener;
23 import android.view.ViewGroup;
79 final View view = item.getView(convertView, parent);
82 view.setTag(R.id.item_position_tag, position);
83 view.setOnDragListener(mDragListener);
85 view.setTag(R.id.item_position_tag, null);
86 view.setOnDragListener(null);
88 return view;
/packages/apps/Camera2/src/com/android/camera/ui/
H A DPreviewStatusListener.java20 import android.view.GestureDetector;
21 import android.view.TextureView;
22 import android.view.View;
31 * {@link android.view.GestureDetector.OnGestureListener} in order to listen
39 * An {@link android.view.View.OnTouchListener} can be provided in addition to
40 * or instead of a {@link android.view.GestureDetector.OnGestureListener}
/packages/apps/Camera2/src/com/android/camera/ui/motion/
H A DInterpolatorHelper.java20 import android.view.animation.AnimationUtils;
21 import android.view.animation.DecelerateInterpolator;
22 import android.view.animation.Interpolator;
/packages/apps/Contacts/src/com/android/contacts/list/
H A DPinnedHeaderListAdapter.java19 import android.view.View;
20 import android.view.ViewGroup;
66 * The default implementation creates the same type of view as a normal
72 View view = null;
76 view = convertView;
79 if (view == null) {
80 view = newHeaderView(getContext(), partition, null, parent);
81 view.setTag(PARTITION_HEADER_TYPE);
82 view.setFocusable(false);
83 view
[all...]
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DPinnedHeaderListAdapter.java19 import android.view.View;
20 import android.view.ViewGroup;
59 /** The default implementation creates the same type of view as a normal partition header. */
63 View view = null;
67 view = convertView;
70 if (view == null) {
71 view = newHeaderView(getContext(), partition, null, parent);
72 view.setTag(PARTITION_HEADER_TYPE);
73 view.setFocusable(false);
74 view
[all...]
/packages/apps/Dialer/java/com/android/dialer/main/impl/
H A DStubFragment.java22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
/packages/apps/Dialer/java/com/android/dialer/speeddial/
H A DSpeedDialFragment.java22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
H A DPermissionsFrameFragment.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
24 import android.view.animation.Animation;
25 import android.view.animation.Animation.AnimationListener;
26 import android.view.animation.AnimationUtils;
39 * Returns the view group that holds the preferences objects. This will
71 // If there is no created view, there is no reason to animate.
93 private void setViewShown(final View view, boolean shown, boolean animate) { argument
98 view
[all...]
/packages/apps/Stk/src/com/android/stk/
H A DStkApp.java31 static final int MENU_ID_END_SESSION = android.view.Menu.FIRST;
32 static final int MENU_ID_BACK = android.view.Menu.FIRST + 1;
33 static final int MENU_ID_HELP = android.view.Menu.FIRST + 2;
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DParsedNdefRecord.java23 import android.view.LayoutInflater;
24 import android.view.View;
25 import android.view.ViewGroup;
35 * Returns a view to display this record.

Completed in 963 milliseconds

1234567891011>>