Searched defs:view (Results 1 - 25 of 323) sorted by relevance

1234567891011>>

/packages/apps/Contacts/src/com/android/contacts/util/
H A DViewUtil.java19 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 " +
H A DSchedulingUtils.java19 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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastCursorAdapter.java22 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/DeskClock/src/com/android/deskclock/
H A DAlarmListeners.java19 import android.view.View;
33 public void onClick(View view) { argument
/packages/apps/Phone/src/com/android/phone/
H A DMultiLineTitleEditTextPreference.java22 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/VideoEditor/src/com/android/videoeditor/widgets/
H A DEditorRelativeLayout.java23 import android.view.View;
51 public void onClick(View view) { argument
/packages/screensavers/WebView/src/com/android/dreams/web/
H A DScreensaver.java36 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/apps/Browser/src/com/android/browser/view/
H A DBookmarkContainer.java17 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 DCustomScreenLinearLayout.java18 package com.android.browser.view;
H A DEventRedirectingFrameLayout.java17 package com.android.browser.view;
21 import android.view.KeyEvent;
22 import android.view.MotionEvent;
23 import android.view.View;
H A DSnapshotGridView.java16 package com.android.browser.view;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppTransferAdapter.java45 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 DFontSizePreview.java22 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 DEventListener.java19 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 DEmailAddressAdapter.java24 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 DPopupManager.java20 import android.view.View;
41 public void notifyShowPopup(View view) { argument
43 if ((View) listener != view) {
/packages/apps/Contacts/src/com/android/contacts/
H A DPhoneCallDetailsViews.java20 import android.view.View;
48 * Create a new instance by extracting the elements from the given view.
50 * The view should contain three text views with identifiers {@code R.id.name},
54 public static PhoneCallDetailsViews fromView(View view) { argument
55 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name),
56 view.findViewById(R.id.call_type),
57 (CallTypeIconsView) view.findViewById(R.id.call_type_icons),
58 (TextView) view.findViewById(R.id.call_count_and_date),
59 (TextView) view.findViewById(R.id.number),
60 (TextView) view
[all...]
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogListItemViews.java20 import android.view.View;
35 /** The primary action view of the entry. */
61 public static CallLogListItemViews fromView(View view) { argument
63 (QuickContactBadge) view.findViewById(R.id.quick_contact_photo),
64 view.findViewById(R.id.primary_action_view),
65 (ImageView) view.findViewById(R.id.secondary_action_icon),
66 view.findViewById(R.id.divider),
67 PhoneCallDetailsViews.fromView(view),
68 (TextView) view.findViewById(R.id.call_log_header),
69 view
[all...]
/packages/apps/Contacts/src/com/android/contacts/format/
H A DPrefixHighlighter.java36 * Sets the text on the given text view, highlighting the word that matches the given prefix.
38 * @param view the view on which to set the text
42 public void setText(TextView view, String text, char[] prefix) { argument
43 view.setText(apply(text, prefix));
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupDetailDisplayUtils.java20 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 DNotifyingSpinner.java30 void onSetSelection(NotifyingSpinner view, int position); argument
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DPopupManager.java20 import android.view.View;
41 public void notifyShowPopup(View view) { argument
43 if ((View) listener != view) {
/packages/apps/Mms/src/com/android/mms/ui/
H A DDeliveryReportAdapter.java22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
40 public View getView(int position, View view, ViewGroup viewGroup) { argument
44 if (view == null) {
49 if (view instanceof DeliveryReportListItem) {
50 listItem = (DeliveryReportListItem) view;
52 return view;
H A DPresenterFactory.java36 ViewInterface view, Model model) {
45 return (Presenter) constructor.newInstance(context, view, model);
35 getPresenter(String className, Context context, ViewInterface view, Model model) argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
H A DSearchableItemPreference.java24 import android.view.View;
44 protected void onBindView(View view) { argument
45 super.onBindView(view);
46 ImageView icon = (ImageView) view.findViewById(R.id.icon);

Completed in 477 milliseconds

1234567891011>>