HomeSort by relevance Sort by last modified time
    Searched full:view (Results 26 - 50 of 3846) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/text/src/android/text/cts/
AutoTextTest.java 22 import android.view.View;
33 args = {java.lang.CharSequence.class, int.class, int.class, android.view.View.class}
42 // New a View instance.
43 View view = new View(getContext()); local
47 actual = AutoText.get(src, 0, src.length(), view);
53 actual = AutoText.get(src, 0, src.length(), view);
88 View view = new View(getContext()); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeight.java 21 import android.view.View;
22 import android.view.ViewGroup;
30 private View mButton1;
31 private View mButton2;
32 private View mButton3;
34 private View mOuterLayout;
57 // Clicking this button will show the list view and set it to a fixed height
59 mButton1.setOnClickListener(new View.OnClickListener() {
60 public void onClick(View v)
    [all...]
ListEmptyViewTest.java 24 import android.view.KeyEvent;
25 import android.view.View;
50 assertTrue("Empty view not shown", mListView.getVisibility() == View.GONE);
59 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE);
60 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE);
69 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE)
    [all...]
  /frameworks/base/core/java/android/view/
ViewDebug.java 17 package android.view;
57 * Various debugging/tracing tools related to {@link View} and the view hierarchy.
61 * Log tag used to log errors related to the consistency of the view hierarchy.
82 * Enables or disables view hierarchy tracing. Any invoker of
83 * {@link #trace(View, android.view.ViewDebug.HierarchyTraceType)} should first
89 * Enables or disables view recycler tracing. Any invoker of
90 * {@link #trace(View, android.view.ViewDebug.RecyclerTraceType, int[])} should firs
388 public int view; field in class:ViewDebug.RecyclerTrace
694 View view = sHierarhcyRoot.getView(); local
834 View view = sMotionEventRoot.getView(); local
879 View view = root.getRootView(); local
893 final View view = findView(root, parameter); local
900 final View view = findView(root, parameter); local
913 final View view = findView(root, parameter); local
1159 View view = root.getRootView(); local
1182 final View view = group.getChildAt(i); local
1208 final View view = group.getChildAt(i); local
1582 final View view = group.getChildAt(i); local
    [all...]
WindowManagerImpl.java 17 package android.view;
24 import android.view.WindowManager;
25 import android.view.inputmethod.InputMethodManager;
35 * the ViewManager interface, allowing you to add any View subclass as a
83 public void addView(View view)
85 addView(view, new WindowManager.LayoutParams(
89 public void addView(View view, ViewGroup.LayoutParams params)
91 addView(view, params, false)
231 View view = root.getView(); local
    [all...]
ViewStub.java 17 package android.view;
29 * A ViewStub is an invisible, zero-sized View that can be used to lazily inflate
33 * is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views.
34 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or
37 * The inflated View is added to the ViewStub's parent with the ViewStub's layout
38 * parameters. Similarly, you can define/override the inflate View's id by using the
51 * View created by inflating the layout resource "mySubTree" can be found using the
52 * id "subTree," specified by the inflatedId property. The inflated View is finally
59 * View inflated = stub.inflate();
62 * When {@link #inflate()} is invoked, the ViewStub is replaced by the inflated View
204 View view = mInflatedViewRef.get(); local
232 final View view = factory.inflate(mLayoutResource, parent, local
    [all...]
  /packages/apps/Browser/tests/src/com/android/browser/
TestWebChromeClient.java 22 import android.view.View;
48 public void onProgressChanged(WebView view, int newProgress) {
49 mWrappedClient.onProgressChanged(view, newProgress);
54 public void onReceivedTitle(WebView view, String title) {
55 mWrappedClient.onReceivedTitle(view, title);
60 public void onReceivedIcon(WebView view, Bitmap icon) {
61 mWrappedClient.onReceivedIcon(view, icon);
66 public void onReceivedTouchIconUrl(WebView view, String url,
68 mWrappedClient.onReceivedTouchIconUrl(view, url, precomposed)
    [all...]
  /frameworks/base/docs/html/guide/developing/tools/
hierarchy-viewer.jd 5 interface. It provides a visual representation of the layout's View hierarchy
6 (the Layout View) and a magnified inspector of the display (the Pixel Perfect View).
21 <strong>Load View Hierarchy</strong>. The Layout View will be loaded.
22 You can then load the Pixel Perfect View by clicking the second
30 <h2>Layout View</h2>
31 <p>The Layout View offers a look at the View layout and properties. It has three views:</p>
33 <li>Tree View: a hierarchy diagram of the Views, on the left.</li
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
MmsThumbnailPresenter.java 34 public MmsThumbnailPresenter(Context context, ViewInterface view, Model model) {
35 super(context, view, model);
46 private void presentFirstSlide(SlideViewInterface view, SlideModel slide) {
47 view.reset();
50 presentImageThumbnail(view, slide.getImage());
52 presentVideoThumbnail(view, slide.getVideo());
54 presentAudioThumbnail(view, slide.getAudio());
58 private void presentVideoThumbnail(SlideViewInterface view, VideoModel video) {
60 showDrmIcon(view, video.getSrc());
62 view.setVideo(video.getSrc(), video.getUri())
    [all...]
IconListAdapter.java 21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
46 public View getView(int position, View convertView, ViewGroup parent) {
50 View view; local
52 view = mInflater.inflate(mResource, parent, false);
54 view = convertView
    [all...]
SlideshowPresenter.java 56 // Since only the original thread that created a view hierarchy can touch
61 public SlideshowPresenter(Context context, ViewInterface view, Model model) {
62 super(context, view, model);
66 if (view instanceof AdaptableSlideViewInterface) {
67 ((AdaptableSlideViewInterface) view).setOnSizeChangedListener(
80 // The ratio indicates how to reduce the source to match the View,
121 * @param view
124 protected void presentSlide(SlideViewInterface view, SlideModel model) {
125 view.reset();
130 presentRegionMedia(view, (RegionMediaModel) media, true)
272 final SlideViewInterface view = (SlideViewInterface) mView; local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
StubbedView.java 17 package android.view;
23 import android.view.View;
34 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() {
35 public void onClick(View v) {
36 final View view = findViewById(R.id.viewStub);
37 if (view != null) {
38 view.setVisibility(View.VISIBLE)
    [all...]
RunQueue.java 17 package android.view;
22 import android.view.View;
23 import android.view.ViewTreeObserver;
44 final View view = findViewById(R.id.simple_view); local
46 view.post(new Runnable() {
57 view.post(runnable);
58 view.post(runnable);
59 view.post(runnable)
    [all...]
ViewGroupChildrenTest.java 17 package android.view;
20 import android.view.ViewGroupChildren;
26 import android.view.View;
27 import android.view.ViewGroup;
32 * Exercises {@link android.view.ViewGroup}'s ability to add/remove children.
62 View view = createView("1"); local
63 mGroup.addView(view);
67 ViewAsserts.assertGroupContains(mGroup, view);
75 View view = createView(String.valueOf(i + 1)); local
79 View view = createView("X"); local
93 View view = createView(String.valueOf(i + 1)); local
97 View view = createView("X"); local
111 View view = createView(String.valueOf(i + 1)); local
122 View view = createView("1"); local
260 TextView view = new TextView(getActivity()); local
    [all...]
  /prebuilt/sdk/4/
framework.aidl 13 parcelable android.view.KeyEvent;
14 parcelable android.view.MotionEvent;
15 parcelable android.view.Surface;
16 parcelable android.view.WindowManager.LayoutParams;
18 interface com.android.internal.view.IInputContext;
19 interface com.android.internal.view.IInputMethod;
20 interface com.android.internal.view.IInputMethodCallback;
21 interface com.android.internal.view.IInputMethodClient;
22 interface com.android.internal.view.IInputMethodManager;
23 interface com.android.internal.view.IInputMethodSession
    [all...]
  /prebuilt/sdk/5/
framework.aidl 17 parcelable android.view.KeyEvent;
18 parcelable android.view.MotionEvent;
19 parcelable android.view.Surface;
20 parcelable android.view.WindowManager.LayoutParams;
22 interface com.android.internal.view.IInputContext;
23 interface com.android.internal.view.IInputMethod;
24 interface com.android.internal.view.IInputMethodCallback;
25 interface com.android.internal.view.IInputMethodClient;
26 interface com.android.internal.view.IInputMethodManager;
27 interface com.android.internal.view.IInputMethodSession
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
HistoryAdapter.java 19 import android.view.LayoutInflater;
20 import android.view.ViewGroup;
21 import android.view.View;
62 public View getView(int position, View convertView, ViewGroup parent) {
63 View view; local
65 view = mInflater.inflate(R.layout.history_item, parent, false);
67 view = convertView
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
VerticalFocusSearchTest.java 23 import android.view.FocusFinder;
24 import android.view.View;
25 import android.view.ViewGroup;
49 View findNextFocus(ViewGroup root, View focused, int direction);
55 public View findNextFocus(ViewGroup root, View focused, int direction) {
89 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_UP));
92 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT))
    [all...]
  /frameworks/base/core/tests/coretests/res/layout/
layout_three.xml 21 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view1" android:layout_width="match_parent" android:layout_height="match_parent"/>
22 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view2" android:layout_width="match_parent" android:layout_height="match_parent"/>
23 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view3" android:layout_width="match_parent" android:layout_height="match_parent"/>
24 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view4" android:layout_width="match_parent" android:layout_height="match_parent"/>
25 <view class="android.view.InflateTest$ViewOne" android:id="@+id/view5" android:layout_width="match_parent" android:layout_he (…)
    [all...]
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
BigEditTextActivityScrollablePanScan.java 23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.view.WindowManager;
31 private View mRootView;
32 private View mDefaultFocusedView;
53 View view = getLayoutInflater().inflate( local
56 mLayout.addView(view);
59 mDefaultFocusedView = view.findViewById(R.id.data)
    [all...]
BigEditTextActivityScrollableResize.java 23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.view.WindowManager;
31 private View mRootView;
32 private View mDefaultFocusedView;
53 View view = getLayoutInflater().inflate( local
56 mLayout.addView(view);
59 mDefaultFocusedView = view.findViewById(R.id.data)
    [all...]
BottomEditTextActivityPanScan.java 21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.WindowManager;
36 private View mRootView;
37 private View mDefaultFocusedView;
47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); local
48 mDefaultFocusedView = view.findViewById(R.id.dialog_edit_text);
49 ((LinearLayout) mRootView).addView(view);
    [all...]
BottomEditTextActivityResize.java 21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.WindowManager;
36 private View mRootView;
37 private View mDefaultFocusedView;
47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); local
48 mDefaultFocusedView = view.findViewById(R.id.dialog_edit_text);
49 ((LinearLayout) mRootView).addView(view);
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
View_LayoutPositionTest.java 17 package android.view.cts;
31 import android.view.View;
34 * For the view test is too big, we divide the test cases into several parts.
37 @TestTargetClass(View.class)
127 View parent = mActivity.findViewById(R.id.testparent);
128 View view = mActivity.findViewById(R.id.testview); local
134 // baseline not support in view
135 assertEquals(-1, view.getBaseline())
209 View view = new View(mActivity); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
GraphicsActivity.java 21 import android.view.View;
22 import android.view.ViewGroup;
23 import android.view.Window;
32 public void setContentView(View view) {
35 vg.addView(view);
36 view = vg;
39 super.setContentView(view);

Completed in 336 milliseconds

12 3 4 5 6 7 8 91011>>