HomeSort by relevance Sort by last modified time
    Searched full:view (Results 201 - 225 of 9936) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/Settings/src/com/android/settings/inputmethod/
CheckBoxAndSettingsPreference.java 27 import android.view.View;
28 import android.view.View.OnClickListener;
47 protected void onBindView(View view) {
48 super.onBindView(view);
49 View textLayout = view.findViewById(R.id.inputmethod_pref);
53 public void onClick(View arg0)
    [all...]
  /developers/samples/android/ui/actionbar/DoneBar/DoneBar/src/main/java/com/example/android/donebar/
DoneBarActivity.java 22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
35 // Inflate a "Done/Cancel" custom action bar view.
38 final View customActionBarView = inflater.inflate(
41 new View.OnClickListener() {
43 public void onClick(View v) {
49 new View.OnClickListener() {
51 public void onClick(View v)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List12.java 17 package com.example.android.apis.view;
21 import android.view.KeyEvent;
22 import android.view.View;
23 import android.view.View.OnClickListener;
24 import android.view.View.OnKeyListener;
33 * Demonstrates the using a list view in transcript mode
60 public void onClick(View v)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowListActivity.java 4 import android.view.View;
5 import android.view.ViewGroup;
29 throw new RuntimeException("No ListView found under content view");
35 public void setListView(ListView view) {
36 listView = view;
46 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
49 ListView.class, View.class, int.class, long.class);
51 handler.invoke(realActivity, parent, view, position, id)
    [all...]
ShadowViewGroup.java 3 import android.view.View;
4 import android.view.ViewGroup;
5 import android.view.animation.Animation.AnimationListener;
21 private List<View> children = new ArrayList<View>();
27 public View findViewById(int id) {
32 for (View child : children) {
33 View found = child.findViewById(id);
43 public View findViewWithTag(Object obj)
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TestFragment.java 7 import android.view.LayoutInflater;
8 import android.view.View;
9 import android.view.ViewGroup;
24 public View onCreateViewReturnValue;
50 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
57 FrameLayout view = new FrameLayout(context); local
58 view.addView(button);
60 onCreateViewReturnValue = view;
67 public void onViewCreated(View view, Bundle savedInstanceState)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListTakeFocusFromSide.java 24 import android.view.View;
25 import android.view.ViewGroup;
26 import android.view.LayoutInflater;
63 public View getView(int position, View convertView, ViewGroup parent) {
64 TextView view; local
67 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null);
69 view = (TextView) convertView;
71 view.setText(mTitles[position])
    [all...]
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
OneEditTextActivityNotSelected.java 22 import android.view.KeyEvent;
23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.view.WindowManager;
27 import android.view.inputmethod.InputMethodManager;
36 * Activity with non-EditText view selected initially
40 private View mRootView;
41 private View mDefaultFocusedView;
65 public View getRootView()
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
AttachInfo_Accessor.java 17 package android.view;
24 import android.view.View.AttachInfo;
31 public static void setAttachInfo(View view) {
32 Context context = view.getContext();
39 info.mWindowVisibility = View.VISIBLE;
42 view.dispatchAttachedToWindow(info, 0);
45 public static void dispatchOnPreDraw(View view) {
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
EditorPlaceHolder.java 3 import android.view.View;
4 import android.view.ViewParent;
51 mContainer.setVisibility(View.VISIBLE);
53 View eview = editor.getTopLevelView();
62 editor.setVisibility(View.VISIBLE);
75 mContainer.setVisibility(View.GONE);
79 for (View view : mOldViews) {
80 view.setVisibility(View.GONE)
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
DeliveryReportAdapter.java 22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
40 public View getView(int position, View view, ViewGroup viewGroup) {
44 if (view == null) {
49 if (view instanceof DeliveryReportListItem) {
50 listItem = (DeliveryReportListItem) view;
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
ItemSimpleGestureListener.java 19 import android.view.MotionEvent;
20 import android.view.View;
36 * @param view The view which received the event
42 public boolean onSingleTapConfirmed(View view, int area, MotionEvent e);
48 * @param view The view which received the event
52 public void onLongPress(View view, MotionEvent e)
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/3/changes/
android.view.View.html 10 android.view.View
74 Class android.view.<A HREF="../../../../reference/android/view/View.html" target="_top"><font size="+2"><code>View</code></font></A>
86 <A NAME="android.view.View.checkInputConnectionProxy_added(android.view.View)"></A
    [all...]
  /frameworks/base/core/java/android/widget/
Adapter.java 20 import android.view.View;
21 import android.view.ViewGroup;
25 * underlying data for that view. The Adapter provides access to the data items.
26 * The Adapter is also responsible for making a {@link android.view.View} for
82 * Get a View that displays the data at the specified position in the data set. You can either
83 * create a View manually or inflate it from an XML layout file. When the View is inflated, the
84 * parent View (GridView, ListView...) will apply default layout parameters unless you us
    [all...]
  /frameworks/base/docs/html/guide/topics/ui/
how-android-draws.jd 12 draw the layout tree. Drawing is handled by walking the tree and rendering each View that
13 intersects the invalid region. In turn, each View group is responsible for requesting
14 each of its children to be drawn (with the <code>{@link android.view.View#draw(Canvas) draw()}</code> method)
15 and each View is responsible for drawing itself.
25 <p>You can force a View to draw, by calling <code>{@link android.view.View#invalidate()}</code>.
32 pass is implemented in <code>{@link android.view.View#measure(int, int)}</code> and is a top-down traversa
    [all...]
  /packages/apps/Browser/src/com/android/browser/
NavigationBarPhone.java 23 import android.view.Menu;
24 import android.view.MenuItem;
25 import android.view.View;
26 import android.view.ViewConfiguration;
46 private View mTabSwitcher;
47 private View mComboIcon;
48 private View mTitleContainer;
49 private View mMore;
54 private View mIncognitoIcon
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
CharacterPickerDialogTest.java 27 import android.view.View;
49 final View view = new TextView(mActivity); local
50 new CharacterPickerDialog(view.getContext(), view, content, "\u00A1", false); local
53 new CharacterPickerDialog(null, view, content, "\u00A1", false);
68 final View view = new TextView(mActivity); local
70 new CharacterPickerDialog(view.getContext(), view, text, "abc", false)
108 final View view = new TextView(mActivity); local
    [all...]
  /development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/
MultiPropertyAnimations.java 25 import android.view.View;
52 public void runValueAnimator(final View view) {
58 view.setTranslationX(TX_START + fraction * (TX_END - TX_START));
59 view.setTranslationY(TY_START + fraction * (TY_END - TY_START));
67 * View properties, even when there are multiple properties to be animated
70 public void runViewPropertyAnimator(View view) {
71 view.animate().translationX(TX_END).translationY(TY_END)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/
TestWindow.java 1 package com.xtremelabs.robolectric.tester.android.view;
8 import android.view.InputQueue;
9 import android.view.KeyEvent;
10 import android.view.LayoutInflater;
11 import android.view.MotionEvent;
12 import android.view.SurfaceHolder;
13 import android.view.View;
14 import android.view.ViewGroup;
15 import android.view.Window
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
StandaloneActionMode.java 16 package com.android.internal.view;
18 import com.android.internal.view.menu.MenuBuilder;
19 import com.android.internal.view.menu.MenuPopupHelper;
20 import com.android.internal.view.menu.SubMenuBuilder;
24 import android.view.ActionMode;
25 import android.view.Menu;
26 import android.view.MenuInflater;
27 import android.view.MenuItem;
28 import android.view.View;
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
VisibilityCallbackTest.java 17 package android.view;
22 import android.view.View;
23 import android.view.ViewGroup;
29 * Exercises {@link android.view.View}'s ability to change visibility between
60 mVictim.setVisibility(View.INVISIBLE);
77 assertEquals(View.INVISIBLE, mVictim.getVisibility());
78 assertEquals(View.VISIBLE, mParent.getVisibility());
84 mVictim.setVisibility(View.VISIBLE)
    [all...]
  /frameworks/base/docs/html/training/improving-layouts/
loading-ondemand.jd 42 <p>{@link android.view.ViewStub} is a lightweight view with no dimension and doesn?t draw anything
43 or participate in the layout. As such, it's cheap to inflate and cheap to leave in a view hierarchy.
44 Each {@link android.view.ViewStub} simply needs to include the {@code android:layout} attribute to
47 <p>The following {@link android.view.ViewStub} is for a translucent progress bar overlay. It should
63 <p>When you want to load the layout specified by the {@link android.view.ViewStub}, either set it
64 visible by calling {@link android.view.View#setVisibility setVisibility(View.VISIBLE)} or call
65 {@link android.view.ViewStub#inflate()}.</p
    [all...]
  /packages/apps/Browser/src/com/android/browser/view/
BasePieView.java 17 package com.android.browser.view;
21 import android.view.MotionEvent;
22 import android.view.View;
34 protected ArrayList<View> mViews;
90 mViews = new ArrayList<View>(n);
97 View view = mAdapter.getView(i, null, null); local
98 view.measure(View.MeasureSpec.UNSPECIFIED
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/detail/
ContactDetailDisplayUtilsTest.java 24 import android.view.LayoutInflater;
25 import android.view.View;
55 View streamItemView = addStreamItemText(streamItem);
62 View streamItemView = addStreamItemText(streamItem);
68 View streamItemView = addStreamItemText(streamItem);
72 /** Checks that the given id corresponds to a visible text view with the expected text. */
73 private void assertHasText(View parent, int textViewId, String expectedText) {
76 assertEquals(View.VISIBLE, textView.getVisibility());
80 /** Checks that the given id corresponds to a visible text view with the expected HTML. *
101 View view = parent.findViewById(textId); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
FeedbackFragment.java 25 import android.view.LayoutInflater;
26 import android.view.View;
27 import android.view.View.OnClickListener;
28 import android.view.ViewGroup;
50 public View onCreateView(LayoutInflater inflater, ViewGroup container,
52 final View view = inflater.inflate(R.layout.research_feedback_fragment_layout, container, local
54 mEditText = (EditText) view.findViewById(R.id.research_feedback_contents)
    [all...]

Completed in 606 milliseconds

1 2 3 4 5 6 7 891011>>