Searched refs:view (Results 176 - 200 of 2655) sorted by relevance

1234567891011>>

/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DContactListAdapter.java25 import android.view.ViewGroup;
66 ContactListItemView view = super.newView(context, partition, cursor, position, parent);
67 view.setUnknownNameText(mUnknownNameText);
68 view.setQuickContactEnabled(isQuickContactEnabled());
69 view.setAdjustSelectionBoundsEnabled(isAdjustSelectionBoundsEnabled());
70 view.setActivatedStateSupported(isSelectionVisible());
71 return view;
75 ContactListItemView view, int position, Cursor cursor) {
76 view.setIsSectionHeaderEnabled(isSectionHeaderDisplayEnabled());
79 view
74 bindSectionHeaderAndDivider( ContactListItemView view, int position, Cursor cursor) argument
85 bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) argument
114 bindNameAndViewId(final ContactListItemView view, Cursor cursor) argument
121 bindPresenceAndStatusMessage(final ContactListItemView view, Cursor cursor) argument
126 bindSearchSnippet(final ContactListItemView view, Cursor cursor) argument
[all...]
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
H A DConversationListItemViewTest.java22 import android.view.View;
75 final ConversationListItemView view, final FakeCursor cursor, final int index) {
90 verifyContent(view, name, snippet, timestamp, unread);
94 final ConversationListItemView view,
100 (TextView) view.findViewById(R.id.conversation_name);
101 final TextView snippetTextView = (TextView) view.findViewById(R.id.conversation_snippet);
102 final TextView timestampTextView = (TextView) view.findViewById(
105 (AsyncImageView) view.findViewById(R.id.conversation_image_preview);
138 final ConversationListItemView view = getView();
142 view
74 verifyContent( final ConversationListItemView view, final FakeCursor cursor, final int index) argument
93 verifyContent( final ConversationListItemView view, final String conversationName, final String snippet, final String timestamp, final boolean unread) argument
[all...]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
H A DMessageComposerFragment.java25 import android.view.KeyEvent;
26 import android.view.LayoutInflater;
27 import android.view.View;
28 import android.view.View.OnClickListener;
29 import android.view.ViewGroup;
63 View view = inflater.inflate(R.layout.fragment_message_composer, container, false);
64 TextView urgent = (TextView) view.findViewById(R.id.message_urgent);
65 customMessage = (EditText) view.findViewById(R.id.custom_message);
71 TextView remainingChar = (TextView) view.findViewById(R.id.remaining_characters);
89 view
95 onClick(View view) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/util/
H A DAccessibilityUtil.java20 import android.support.v4.view.accessibility.AccessibilityEventCompat;
21 import android.support.v4.view.accessibility.AccessibilityRecordCompat;
23 import android.view.View;
24 import android.view.accessibility.AccessibilityEvent;
25 import android.view.accessibility.AccessibilityManager;
55 final View view, @Nullable final AccessibilityManager accessibilityManager,
59 announceForAccessibilityCompat(view, accessibilityManager, text);
63 final View view, @Nullable AccessibilityManager accessibilityManager,
65 final Context context = view.getContext().getApplicationContext();
83 event.setEnabled(view
54 announceForAccessibilityCompat( final View view, @Nullable final AccessibilityManager accessibilityManager, final int textResourceId) argument
62 announceForAccessibilityCompat( final View view, @Nullable AccessibilityManager accessibilityManager, final CharSequence text) argument
103 isLayoutRtl(final View view) argument
[all...]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
H A DCheckBoxLineItem.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
60 public CheckboxLineItemViewHolder(View view) { argument
61 super(view);
62 titleView = view.findViewById(R.id.title);
63 checkbox = view.findViewById(R.id.checkbox);
H A DSpinnerLineItem.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
72 public ViewHolder(View view) { argument
73 super(view);
74 spinner = view.findViewById(R.id.spinner);
75 titleView = view.findViewById(R.id.title);
/packages/apps/Contacts/src/com/android/contacts/util/
H A DDialogManager.java24 import android.view.View;
64 * If the view can show several dialogs, it should distinguish them using an item in the Bundle.
68 public void showDialogInView(final View view, final Bundle bundle) { argument
69 final int viewId = view.getId();
97 final View view = mActivity.findViewById(viewId);
98 if (view == null || !(view instanceof DialogShowingView)) {
101 final Dialog dialog = ((DialogShowingView)view).createDialog(bundle);
/packages/apps/Gallery2/src/com/android/photos/adapters/
H A DPhotoThumbnailAdapter.java22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
48 public void bindView(View view, Context context, Cursor cursor) { argument
49 ImageView iv = (ImageView) view.findViewById(R.id.thumbnail);
59 View view = mInflater.inflate(R.layout.photo_set_item, parent, false);
60 return view;
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DCompoundButtonItem.java19 import android.view.View;
66 protected void onBind(View view) { argument
67 super.onBind(view);
68 mCompoundButton = (CompoundButton) view.findViewById(getCompoundButtonId());
69 mTextView = (TextView) view.findViewById(getTitleViewId());
70 TextView descriptionView = (TextView) view.findViewById(getDescriptionViewId());
76 sDefaultMaxLine = view.getContext().getResources()
/packages/apps/Dialer/java/com/android/dialershared/bubble/
H A DChangeOnScreenBounds.java29 import android.view.View;
30 import android.view.ViewGroup;
82 View view = values.view;
84 if (view.isLaidOut() || view.getWidth() != 0 || view.getHeight() != 0) {
87 new Rect(view.getLeft(), view.getTop(), view
142 private final View view; field in class:ChangeOnScreenBounds.ViewBounds
146 ViewBounds(View view) argument
[all...]
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
H A DFadeAndShortSlide.java26 import android.view.Gravity;
27 import android.view.View;
28 import android.view.ViewGroup;
29 import android.view.ViewParent;
30 import android.view.animation.AccelerateInterpolator;
31 import android.view.animation.DecelerateInterpolator;
52 /** Returns the translation value for view when it goes out of the scene */
53 public abstract float getGoneX(ViewGroup sceneRoot, View view, int[] position, argument
59 public float getGoneX(ViewGroup sceneRoot, View view, int[] position, int distance) {
63 x = view
122 getDelayOrder(View view, boolean appear) argument
141 findParentForDelay(View view) argument
215 onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument
240 onDisappear(ViewGroup sceneRoot, final View view, TransitionValues startValues, TransitionValues endValues) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DKindSectionView.java26 import android.view.LayoutInflater;
27 import android.view.View;
28 import android.view.ViewGroup;
45 * Custom view for an entire section of data as segmented by
46 * {@link DataKind} around a {@link Data#MIMETYPE}. This view shows a
222 final View view = mEditors.getChildAt(i);
223 if (view instanceof GroupMembershipView) {
224 ((GroupMembershipView) view).setGroupMetaData(cursor);
230 * Whether this is a name kind section view and all name fields (structured, phonetic,
238 final View view
551 hideView(View view) argument
555 deleteView(View view, boolean shouldAnimate) argument
564 showView(View view, boolean shouldAnimate) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerItemFragment.java22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
64 final TimerItem view = (TimerItem) inflater.inflate(R.layout.timer_item, container, false);
65 view.findViewById(R.id.reset_add).setOnClickListener(new ResetAddListener());
66 view.findViewById(R.id.timer_label).setOnClickListener(new EditLabelListener());
67 view.findViewById(R.id.timer_time_text).setOnClickListener(new TimeTextListener());
68 view.update(timer);
70 return view;
77 final TimerItem view
127 onClick(View view) argument
[all...]
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DInCallButtonGridFragment.java23 import android.view.LayoutInflater;
24 import android.view.View;
25 import android.view.ViewGroup;
56 View view = inflater.inflate(R.layout.incall_button_grid, parent, false);
58 buttons[0] = ((CheckableLabeledButton) view.findViewById(R.id.incall_first_button));
59 buttons[1] = ((CheckableLabeledButton) view.findViewById(R.id.incall_second_button));
60 buttons[2] = ((CheckableLabeledButton) view.findViewById(R.id.incall_third_button));
61 buttons[3] = ((CheckableLabeledButton) view.findViewById(R.id.incall_fourth_button));
62 buttons[4] = ((CheckableLabeledButton) view.findViewById(R.id.incall_fifth_button));
63 buttons[5] = ((CheckableLabeledButton) view
69 onViewCreated(View view, @Nullable Bundle bundle) argument
[all...]
/packages/apps/TV/src/com/android/tv/dialog/
H A DDvrHistoryDialogFragment.java27 import android.view.LayoutInflater;
28 import android.view.View;
29 import android.view.ViewGroup;
75 View view = inflater.inflate(R.layout.list_item_dvr_history, parent, false);
77 setText(view, R.id.state, getStateString(schedule.getState()));
78 setText(view, R.id.schedule_time, getRecordingTimeText(schedule));
79 setText(view, R.id.program_title, DvrUiHelper.getStyledTitleWithEpisodeNumber(
81 setText(view, R.id.channel_name, getChannelNameText(schedule));
82 return view;
85 private void setText(View view, in
[all...]
/packages/experimental/NotificationLog/src/com/android/notificationlog/
H A DNotificationLogActivity.java14 import android.view.LayoutInflater;
15 import android.view.View;
16 import android.view.ViewGroup;
72 View view;
74 view = mInflater.inflate(R.layout.row, parent, false);
76 view = convertView;
78 bindView(view, mNotificationEvents.get(position));
79 return view;
83 private final void bindView(View view, EventLog.Event evt) { argument
84 TextView title = (TextView)view
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DAccessibilityUtils.java24 import android.support.v4.view.accessibility.AccessibilityEventCompat;
27 import android.view.MotionEvent;
28 import android.view.View;
29 import android.view.ViewGroup;
30 import android.view.ViewParent;
31 import android.view.accessibility.AccessibilityEvent;
32 import android.view.accessibility.AccessibilityManager;
33 import android.view.inputmethod.EditorInfo;
202 * @param view The source view
205 announceForAccessibility(final View view, final CharSequence text) argument
247 onStartInputViewInternal(final View view, final EditorInfo editorInfo, final boolean restarting) argument
[all...]
/packages/apps/Dialer/java/com/android/dialer/app/settings/
H A DAppCompatPreferenceActivity.java23 import android.view.MenuInflater;
24 import android.view.View;
25 import android.view.ViewGroup;
66 public void setContentView(View view) { argument
67 getDelegate().setContentView(view);
71 public void setContentView(View view, ViewGroup.LayoutParams params) { argument
72 getDelegate().setContentView(view, params);
76 public void addContentView(View view, ViewGroup.LayoutParams params) { argument
77 getDelegate().addContentView(view, params);
/packages/apps/Dialer/java/com/android/incallui/hold/
H A DOnHoldFragment.java27 import android.view.LayoutInflater;
28 import android.view.View;
29 import android.view.View.OnAttachStateChangeListener;
30 import android.view.ViewGroup;
55 final View view = layoutInflater.inflate(R.layout.incall_on_hold_banner, viewGroup, false);
60 ((TextView) view.findViewById(R.id.hold_contact_name))
67 ((ImageView) view.findViewById(R.id.hold_phone_icon))
72 view.addOnAttachStateChangeListener(
83 return view;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DMovieControllerOverlay.java21 import android.view.KeyEvent;
22 import android.view.MotionEvent;
23 import android.view.View;
24 import android.view.animation.Animation;
25 import android.view.animation.Animation.AnimationListener;
26 import android.view.animation.AnimationUtils;
98 private void startHideAnimation(View view) { argument
99 if (view.getVisibility() == View.VISIBLE) {
100 view.startAnimation(hideAnimation);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateAdapter.java21 import android.view.View;
22 import android.view.ViewGroup;
47 StateView view = null;
51 view = (StateView) convertView;
53 view.setState(state);
54 view.setOrientation(mOrientation);
60 view.setSelected(true);
62 view.setSelected(false);
64 return view;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAbstractFloatingView.java23 import android.view.MotionEvent;
24 import android.view.View;
76 * If the view is current handling keyboard, return the active target, null otherwise
84 * Any additional view (outside of this container) where touch should be allowed while this
85 * view is visible.
108 AbstractFloatingView view = (AbstractFloatingView) child;
109 if (view.isOfType(type) && view.isOpen()) {
110 return (T) view;
118 AbstractFloatingView view
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DBlockedParticipantsFragment.java24 import android.view.LayoutInflater;
25 import android.view.View;
26 import android.view.ViewGroup;
55 final View view =
57 mListView = (ListView) view.findViewById(android.R.id.list);
62 return view;
91 public void bindView(View view, Context context, Cursor cursor) { argument
92 Assert.isTrue(view instanceof BlockedParticipantListItemView);
93 ((BlockedParticipantListItemView) view).bind(
H A DCustomHeaderPagerListViewHolder.java20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
31 * Produces and holds a list view and its tab header to be displayed in a ViewPager.
50 final View view = inflater.inflate(
54 final ListView listView = (ListView) view.findViewById(getListViewResId());
58 public void onScrollStateChanged(final AbsListView view, final int scrollState) {
60 ImeUtil.get().hideImeKeyboard(mContext, view);
65 public void onScroll(final AbsListView view, final int firstVisibleItem,
71 return view;
[all...]
H A DFixedViewPagerAdapter.java20 import android.support.v4.view.PagerAdapter;
21 import android.view.View;
22 import android.view.ViewGroup;
45 final View view = viewHolder.getView(container);
46 if (view == null) {
49 view.setTag(viewHolder);
50 container.addView(view);
69 public boolean isViewFromObject(final View view, final Object object) { argument
70 return view.getTag() == object;
84 // The paged views in the view page
[all...]

Completed in 616 milliseconds

1234567891011>>