/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | AccessibilityUtils.java | 4 import android.support.v4.view.accessibility.AccessibilityRecordCompat; 5 import android.view.View; 6 import android.view.accessibility.AccessibilityEvent; 7 import android.view.accessibility.AccessibilityManager; 14 public static void makeAnnouncement(View view, CharSequence announcement) { argument 15 if (view == null) 18 view.announceForAccessibility(announcement); 21 Context ctx = view.getContext(); 28 arc.setSource(view); 29 event.setClassName(view [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastCursorAdapter.java | 22 import android.view.LayoutInflater; 23 import android.view.View; 24 import android.view.ViewGroup; 38 * Makes a new view to hold the data pointed to by cursor. 42 * @param parent The parent to which the new view is attached to 43 * @return the newly created view. 58 * Bind an existing view to the data pointed to by cursor 59 * @param view Existing view, returned earlier by newView 65 public void bindView(View view, Contex argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | SchedulingUtils.java | 19 import android.view.View; 20 import android.view.ViewTreeObserver.OnDrawListener; 21 import android.view.ViewTreeObserver.OnGlobalLayoutListener; 28 public static void doAfterLayout(final View view, final Runnable runnable) { argument 33 view.getViewTreeObserver().removeOnGlobalLayoutListener(this); 37 view.getViewTreeObserver().addOnGlobalLayoutListener(listener); 41 public static void doAfterDraw(final View view, final Runnable runnable) { argument 45 view.getViewTreeObserver().removeOnDrawListener(this); 49 view.getViewTreeObserver().addOnDrawListener(listener);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | ViewUtil.java | 19 import android.view.View; 20 import android.view.ViewGroup; 30 * @throws IllegalStateException Thrown if the view's width is unknown before a layout pass 33 public static int getConstantPreLayoutWidth(View view) { argument 35 final ViewGroup.LayoutParams p = view.getLayoutParams(); 37 throw new IllegalStateException("Expecting view's width to be a constant rather " +
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmListeners.java | 19 import android.view.View; 33 public void onClick(View view) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | AccessibilityUtils.java | 20 import android.support.v4.view.accessibility.AccessibilityRecordCompat; 21 import android.view.View; 22 import android.view.accessibility.AccessibilityEvent; 23 import android.view.accessibility.AccessibilityManager; 32 public static void makeAnnouncement(View view, CharSequence announcement) { argument 33 if (view == null) 36 view.announceForAccessibility(announcement); 39 Context ctx = view.getContext(); 46 arc.setSource(view); 47 event.setClassName(view [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | EditorRelativeLayout.java | 23 import android.view.View; 51 public void onClick(View view) { argument
|
/packages/screensavers/WebView/src/com/android/dreams/web/ |
H A D | Screensaver.java | 36 import android.view.MotionEvent; 37 import android.view.View; 38 import android.view.WindowManager; 39 import android.view.animation.AccelerateInterpolator; 40 import android.view.animation.DecelerateInterpolator; 51 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | MultiLineTitleEditTextPreference.java | 22 import android.view.View; 45 * <view class="com.android.phone.Foo$Bar"> as you can with regular views. 65 protected void onBindView(View view) { argument 66 super.onBindView(view); 68 TextView textView = (TextView) view.findViewById(com.android.internal.R.id.title);
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | BookmarkContainer.java | 17 package com.android.browser.view; 24 import android.view.View; 25 import android.view.View.OnClickListener; 26 import android.view.ViewConfiguration; 87 public void onClick(View view) { argument 90 mClickListener.onClick(view);
|
H A D | CustomScreenLinearLayout.java | 18 package com.android.browser.view;
|
H A D | EventRedirectingFrameLayout.java | 17 package com.android.browser.view; 21 import android.view.KeyEvent; 22 import android.view.MotionEvent; 23 import android.view.View;
|
H A D | SnapshotGridView.java | 16 package com.android.browser.view;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransferAdapter.java | 45 import android.view.View; 54 * The only real work done by this class is to construct a custom view for the 66 public void bindView(View view, Context context, Cursor cursor) { argument 70 ImageView iv = (ImageView)view.findViewById(R.id.transfer_icon); 84 TextView tv = (TextView)view.findViewById(R.id.transfer_title); 93 tv = (TextView)view.findViewById(R.id.targetdevice); 104 tv = (TextView)view.findViewById(R.id.complete_text); 125 tv = (TextView)view.findViewById(R.id.complete_date);
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
H A D | FontSizePreview.java | 22 import android.view.View; 68 protected void setupWebView(WebView view) { argument 69 super.setupWebView(view); 70 view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | EventListener.java | 19 import android.support.v4.view.ViewPager; 20 import android.view.KeyEvent; 21 import android.view.View; 36 public void onClick(View view) { argument 37 int id = view.getId(); 52 if (view instanceof Button) { 53 String text = ((Button) view).getText().toString(); 67 public boolean onLongClick(View view) { argument 68 int id = view.getId(); 77 public boolean onKey(View view, in argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EmailAddressAdapter.java | 24 import android.view.LayoutInflater; 25 import android.view.View; 26 import android.view.ViewGroup; 54 protected void bindView(View view, String directoryType, String directoryName, argument 56 TextView text1 = (TextView)view.findViewById(R.id.text1); 57 TextView text2 = (TextView)view.findViewById(R.id.text2); 63 protected void bindViewLoading(View view, String directoryType, String directoryName) { argument 64 TextView text1 = (TextView)view.findViewById(R.id.text1);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | PopupManager.java | 20 import android.view.View; 41 public void notifyShowPopup(View view) { argument 43 if ((View) listener != view) {
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupDetailDisplayUtils.java | 20 import android.view.LayoutInflater; 21 import android.view.View; 41 public static void bindGroupSourceView(Context context, View view, String accountTypeString, argument 46 TextView label = (TextView) view.findViewById(android.R.id.title); 48 throw new IllegalStateException("Group source view must contain a TextView with id" 53 ImageView accountIcon = (ImageView) view.findViewById(android.R.id.icon); 55 throw new IllegalStateException("Group source view must contain an ImageView with id"
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | NotifyingSpinner.java | 30 void onSetSelection(NotifyingSpinner view, int position); argument
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | PhoneCallDetailsViews.java | 20 import android.view.View; 45 * Create a new instance by extracting the elements from the given view. 47 * The view should contain three text views with identifiers {@code R.id.name}, 51 public static PhoneCallDetailsViews fromView(View view) { argument 52 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name), 53 view.findViewById(R.id.call_type), 54 (CallTypeIconsView) view.findViewById(R.id.call_type_icons), 55 (TextView) view.findViewById(R.id.call_count_and_date), 56 (TextView) view.findViewById(R.id.label));
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallLogListItemViews.java | 20 import android.view.View; 35 /** The primary action view of the entry. */ 54 public static CallLogListItemViews fromView(View view) { argument 56 (QuickContactBadge) view.findViewById(R.id.quick_contact_photo), 57 view.findViewById(R.id.primary_action_view), 58 (ImageView) view.findViewById(R.id.secondary_action_icon), 59 PhoneCallDetailsViews.fromView(view), 60 (TextView) view.findViewById(R.id.call_log_header));
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | SmartDialNumberListAdapter.java | 74 * @param view ContactListItemView where the result will be displayed. 78 protected void setHighlight(ContactListItemView view, Cursor cursor) { argument 79 view.clearHighlightSequences(); 84 view.addNameHighlightSequence(match.start, match.end); 95 view.addNumberHighlightSequence(numberMatch.start, numberMatch.end);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | PolicyListPreference.java | 22 import android.view.View; 41 protected void onBindView(View view) { argument 42 super.onBindView(view); 43 ((TextView)view.findViewById(android.R.id.summary)).setMaxLines(MAX_POLICIES);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | PopupManager.java | 20 import android.view.View; 41 public void notifyShowPopup(View view) { argument 43 if ((View) listener != view) {
|