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

1 2 3 4 56 7 8 91011>>

  /development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
StableArrayAdapter.java 23 import android.view.View;
24 import android.view.ViewGroup;
30 View.OnTouchListener mTouchListener;
33 List<String> objects, View.OnTouchListener listener) {
53 public View getView(int position, View convertView, ViewGroup parent) {
54 View view = super.getView(position, convertView, parent); local
55 if (view != convertView)
    [all...]
  /development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
StableArrayAdapter.java 23 import android.view.View;
24 import android.view.ViewGroup;
30 View.OnTouchListener mTouchListener;
33 List<String> objects, View.OnTouchListener listener) {
53 public View getView(int position, View convertView, ViewGroup parent) {
54 View view = super.getView(position, convertView, parent); local
55 if (view != convertView)
    [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...]
  /frameworks/base/core/tests/coretests/src/android/view/
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...]
  /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...]
  /frameworks/base/docs/html/training/custom-views/
optimizing-view.jd 1 page.title=Optimizing the View
6 previous.title=Making the View Interactive
37 <p>Now that you have a well-designed view that responds to gestures and transitions between states,
39 that the view runs fast. To avoid a UI that feels sluggish or stutters during playback, you must
45 <p>To speed up your view, eliminate unnecessary code from routines that are called frequently. Start
47 {@link android.view.View#onDraw onDraw()}, which will give you the biggest payback. In particular
49 allocations in {@link android.view.View#onDraw onDraw()}, because allocations may lead to a garbage
55 <p>In addition to making {@link android.view.View#onDraw onDraw()} leaner, you should also make sur
    [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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java 28 import android.view.accessibility.AccessibilityEvent;
29 import android.view.animation.LinearInterpolator;
30 import android.view.MotionEvent;
31 import android.view.VelocityTracker;
32 import android.view.View;
33 import android.view.ViewConfiguration;
69 private View mCurrView;
70 private View mCurrAnimView;
75 private View.OnLongClickListener mLongPressListener
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorTest.java 8 import android.view.View;
82 View view = new View(null); local
83 view.bringToFront();
87 directlyOn(view).bringToFront();
94 view.bringToFront();
99 View.resolveSize(0, 0);
103 directlyOn(View.class)
172 View view = new View(null); local
    [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...]
  /packages/apps/Phone/src/com/android/phone/
AnimationUtils.java 27 import android.view.View;
28 import android.view.ViewPropertyAnimator;
56 // View tag that's set during the fade-out animation; see hide() and
62 * Sets the visibility of the specified view to View.VISIBLE and then
63 * fades it in. If the view is already visible (and not in the middle
67 * @param view The view to be faded in
69 public static void show(final View view)
    [all...]
  /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_;
  /external/chromium/chrome/browser/chromeos/views/
copy_background.cc 10 #include "views/view.h"
14 CopyBackground::CopyBackground(views::View* copy_from)
20 void CopyBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
24 views::View::ConvertPointToView(view,
copy_background.h 12 class View;
18 // other (typically one of parent chain) view.
21 explicit CopyBackground(views::View* copy_from);
25 virtual void Paint(gfx::Canvas* canvas, views::View* view) const;
28 views::View* background_owner_;
  /external/chromium/chrome/browser/resources/gpu_internals/
timeline_view.css 6 .timeline-view {
13 .timeline-view > .timeline {
19 .timeline-view > .timeline > .timeline {
23 .timeline-view .summary-container {
31 .timeline-view .selection {
35 .timeline-view .selection ul {
  /external/chromium/chrome/browser/ui/touch/frame/
keyboard_container_view.h 9 #include "views/view.h"
18 class KeyboardContainerView : public views::View {
23 // Overridden from views::View
27 // Overridden from views::View
28 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child);
  /external/replicaisland/src/com/replica/replicaisland/
DifficultyMenuActivity.java 10 import android.view.KeyEvent;
11 import android.view.View;
12 import android.view.animation.Animation;
13 import android.view.animation.AnimationUtils;
16 private View mBabyButton;
17 private View mKidsButton;
18 private View mAdultsButton;
19 private View mBackground;
20 private View mBabyText
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPasswordTransformationMethod.java 6 import android.view.View;
16 public CharSequence getTransformation(CharSequence charSequence, View view) {
32 public void onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) { }
  /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/opt/photoviewer/sample/src/com/example/photoviewersample/
MainActivity.java 5 import android.view.View;
6 import android.view.View.OnClickListener;
17 View b = findViewById(R.id.button);
22 public void onClick(View v) {
  /frameworks/support/v4/ics/android/support/v4/view/
ViewGroupCompatIcs.java 17 package android.support.v4.view;
19 import android.view.View;
20 import android.view.ViewGroup;
21 import android.view.accessibility.AccessibilityEvent;
27 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child,

Completed in 300 milliseconds

1 2 3 4 56 7 8 91011>>