HomeSort by relevance Sort by last modified time
    Searched full:view (Results 76 - 100 of 7759) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/listview/
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...]
  /packages/apps/Browser/src/com/android/browser/
BrowserBookmarksAdapter.java 23 import android.view.LayoutInflater;
24 import android.view.View;
25 import android.view.ViewGroup;
47 public void bindView(View view, Context context, Cursor cursor) {
49 bindListView(view, context, cursor);
51 bindGridView(view, context, cursor);
55 void bindGridView(View view, Context context, Cursor cursor)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
Toolbar.java 23 import android.view.MotionEvent;
24 import android.view.View;
25 import android.view.animation.Animation;
26 import android.view.animation.AnimationUtils;
60 private final List<View> childViews = new ArrayList<View>();
75 for (View view : childViews) {
76 view.startAnimation(fadeOut)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
EffectToolFactory.java 19 import android.view.LayoutInflater;
20 import android.view.View;
21 import android.view.ViewGroup;
43 private View createFullscreenTool(int toolId) {
44 // Create full screen effect tool on top of photo-view and place it within the same
45 // view group that contains photo-view.
46 View photoView = effectToolPanel.getRootView().findViewById(R.id.photo_view);
48 FullscreenToolView view = (FullscreenToolView) inflater.inflate(toolId, parent, false) local
55 View view = inflater.inflate(toolId, effectToolPanel, false); local
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
MmsThumbnailPresenter.java 36 public MmsThumbnailPresenter(Context context, ViewInterface view, Model model) {
37 super(context, view, model);
48 private void presentFirstSlide(SlideViewInterface view, SlideModel slide) {
49 view.reset();
52 presentImageThumbnail(view, slide.getImage());
54 presentVideoThumbnail(view, slide.getVideo());
56 presentAudioThumbnail(view, slide.getAudio());
60 private void presentVideoThumbnail(SlideViewInterface view, VideoModel video) {
62 showDrmIcon(view, video.getSrc());
64 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...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionViewFactory.java 22 import android.view.View;
23 import android.view.ViewGroup;
33 * Returns all the view types that are used by this factory. Each view type corresponds to a
37 * View types must be unique across all suggestion view factories.
42 * Returns the view type to be used for displaying the given suggestion. This MUST correspond to
43 * one of the view types returned by {@link #getSuggestionViewTypes()}.
48 * Gets a view corresponding to the current suggestion in the given cursor
    [all...]
  /cts/tests/tests/holo/src/android/holo/cts/
LayoutModifier.java 19 import android.view.View;
22 * Interface used to do further setup on a view after it has been inflated.
26 /** Actions to take before inflating the view. */
30 * @param view inflated by the test activity
31 * @return the same view or another view that will be snapshotted by the test
33 View modifyView(View view);
    [all...]
  /development/samples/HelloActivity/src/com/example/android/helloactivity/
HelloActivity.java 21 import android.view.View;
22 import android.view.WindowManager;
38 View view = getLayoutInflater().inflate(R.layout.hello_activity, null); local
39 setContentView(view);
42 params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
44 view.setOnSystemUiVisibilityChangeListener(new View.OnSystemUiVisibilityChangeListener() {
47 params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
    [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...]
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
AttachInfo_Accessor.java 17 package android.view;
23 import android.view.View.AttachInfo;
30 public static void setAttachInfo(View view) {
34 info.mWindowVisibility = View.VISIBLE;
37 view.dispatchAttachedToWindow(info, 0);
40 public static void dispatchOnPreDraw(View view) {
41 view.mAttachInfo.mTreeObserver.dispatchOnPreDraw()
    [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...]
  /external/chromium/chrome/browser/ui/cocoa/
view_id_util.h 16 // view object in cross-platform tests. See BrowserFocusTest.* for an example
23 // ViewIDs of each view and provide some utility functions for NSView to
24 // set/unset the ViewID and lookup a view with a specified ViewID.
28 // Associates the given ViewID with the view. It shall be called upon the view's
30 void SetID(NSView* view, ViewID viewID);
32 // Removes the association between the view and its ViewID. It shall be called
33 // just before the view's destruction.
34 void UnsetID(NSView* view);
36 // Returns the view with a specific ViewID in a window, or nil if no view in th
    [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...]
  /development/samples/training/multiscreen/newsreader/libs/
android-support-v4.jar 
  /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...]
  /external/chromium/chrome/browser/ui/cocoa/infobars/
infobar_container_controller_unittest.mm 25 NSView* view = [controller_ view];
26 [[test_window() contentView] addSubview:view];
30 [[controller_ view] removeFromSuperviewWithoutNeedingDisplay];
40 TEST_VIEW(InfoBarContainerControllerTest, [controller_ view])
51 NSView* view = [controller_ view];
60 EXPECT_EQ(1U, [[view subviews] count]);
63 EXPECT_EQ(2U, [[view subviews] count]);
66 EXPECT_EQ(3U, [[view subviews] count])
    [all...]
  /external/chromium/chrome/browser/ui/views/frame/
contents_container.h 11 #include "views/view.h"
26 class ContentsContainer : public views::View, public ui::AnimationDelegate {
28 explicit ContentsContainer(views::View* active);
31 // Makes the preview view the active view and nulls out the old active view.
32 // It's assumed the caller will delete or remove the old active view
36 // Sets the preview view. This does not delete the old.
37 void SetPreview(views::View* preview, TabContents* preview_tab_contents);
57 // View overrides
    [all...]
  /external/webkit/Source/WebKit/gtk/tests/
testwebdatasource.c 37 WebKitWebView* view; local
42 view = WEBKIT_WEB_VIEW(webkit_web_view_new());
43 g_object_ref_sink(view);
44 frame = webkit_web_view_get_main_frame(view);
55 g_object_unref(view);
58 static void notify_load_status_unreachable_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
60 WebKitLoadStatus status = webkit_web_view_get_load_status (view);
61 WebKitWebFrame* frame = webkit_web_view_get_main_frame(view);
76 static void notify_load_status_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
78 WebKitLoadStatus status = webkit_web_view_get_load_status (view);
120 WebKitWebView* view; local
159 WebKitWebView* view; local
    [all...]
  /frameworks/base/core/java/android/view/
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...]
  /development/samples/NFCDemo/src/com/example/android/nfc/record/
ParsedNdefRecord.java 20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
28 * Returns a view to display this record.
30 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent,
  /external/chromium/chrome/browser/chromeos/panels/
panel_scroller_container.h 10 #include "views/view.h"
16 class PanelScrollerContainer : public views::View {
18 PanelScrollerContainer(PanelScroller* scroller, views::View* contents);
23 // view::View overrides.
32 views::View* contents_;

Completed in 1384 milliseconds

1 2 34 5 6 7 8 91011>>