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

<<11121314151617181920>>

  /external/webkit/Source/WebKit/qt/WebCoreSupport/
PageClientQt.cpp 130 QGraphicsView* view = object->scene()->views()[0];
131 if (view && view->viewport() && view->viewport()->inherits("QGLWidget")) {
159 platformLayerProxy = new PlatformLayerProxyQWidget(page->mainFrame(), static_cast<TextureMapperContentLayer*>(layer), view);
173 QWebFramePrivate::core(page->mainFrame())->view()->syncCompositingStateIncludingSubframes();
179 view->scroll(qreal(dx), qreal(dy), rectToScroll);
184 view->update(dirtyRect);
189 view->setAttribute(Qt::WA_InputMethodEnabled, enable);
194 return view->testAttribute(Qt::WA_InputMethodEnabled)
    [all...]
  /development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
LayoutChangesActivity.java 23 import android.view.LayoutInflater;
24 import android.view.Menu;
25 import android.view.MenuItem;
26 import android.view.View;
27 import android.view.ViewGroup;
40 * The container view which has layout change animations turned on. In this sample, this view
70 // Hide the "empty" view since there is now at least one item in the list.
71 findViewById(android.R.id.empty).setVisibility(View.GONE)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
HorizontalFocusSearchTest.java 25 import android.view.View;
74 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP));
76 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN));
78 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT));
82 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT));
87 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP));
90 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN));
93 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT));
96 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_RIGHT))
    [all...]
  /frameworks/base/docs/html/training/gestures/
detector.jd 28 <li><a href="{@docRoot}training/custom-views/making-interactive.html">Making the View Interactive</a> </li>
59 <p>The examples in this lesson use the {@link android.support.v4.view.GestureDetectorCompat}
60 and {@link android.support.v4.view.MotionEventCompat} classes. These classes are in the
63 running Android 1.6 and higher. Note that {@link android.support.v4.view.MotionEventCompat} is <em>not</em> a
64 replacement for the {@link android.view.MotionEvent} class. Rather, it provides static utility
65 methods to which you pass your {@link android.view.MotionEvent} object in order to receive
71 callback {@link android.view.View#onTouchEvent onTouchEvent()}
72 on the View that received the touch events.
75 {@link android.view.View#onTouchEvent onTouchEvent()} is fired several times.</p
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
PropertyAccessBenchmark.java 24 private View view = new View(); field in class:PropertyAccessBenchmark
32 setX = View.class.getDeclaredMethod("setX", float.class);
33 x = View.class.getDeclaredField("x");
38 view.setX(0.1f);
44 view.x = 0.1f;
51 view.setX(value);
58 view.x = value;
64 setX.invoke(view, 0.1f)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
StreamItemAdapter.java 20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
37 /** The header view, hidden under the tab carousel, if present. */
43 private final View.OnClickListener mItemClickListener;
44 private final View.OnClickListener mPhotoClickListener;
49 public StreamItemAdapter(Context context, View.OnClickListener itemClickListener,
50 View.OnClickListener photoClickListener) {
97 public View getView(int position, View convertView, ViewGroup parent)
106 final View view = ContactDetailDisplayUtils.createStreamItemView( local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
PinnedHeaderListDemoActivity.java 25 import android.view.LayoutInflater;
26 import android.view.View;
27 import android.view.ViewGroup;
55 protected View newHeaderView(Context context, int partition, Cursor cursor,
62 protected void bindHeaderView(View view, int parition, Cursor cursor) {
63 TextView headerText = (TextView)view.findViewById(R.id.header_text);
68 protected View newView(Context context, int partition, Cursor cursor, int position,
75 protected void bindView(View v, int partition, Cursor cursor, int position)
83 View view = inflater.inflate(R.layout.list_section, parent, false); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PinnedHeaderListAdapter.java 19 import android.view.View;
20 import android.view.ViewGroup;
66 * The default implementation creates the same type of view as a normal
70 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) {
72 View view = null; local
76 view = convertView;
79 if (view == null)
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorControlBarContainer.java 25 import android.view.MotionEvent;
26 import android.view.View;
27 import android.view.animation.Animation;
28 import android.view.animation.Animation.AnimationListener;
29 import android.view.animation.AnimationUtils;
85 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) {
87 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) {
96 mSecondLevelIndicatorControlBar.setVisibility(View.GONE);
98 mIndicatorControlBar.setVisibility(View.GONE)
    [all...]
  /packages/experimental/NotificationLog/src/com/android/notificationlog/
NotificationLogActivity.java 14 import android.view.LayoutInflater;
15 import android.view.View;
16 import android.view.ViewGroup;
71 public View getView(int position, View convertView, ViewGroup parent) {
72 View view; local
74 view = mInflater.inflate(R.layout.row, parent, false);
76 view = convertView
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityWindowQueryActivity.java 19 import android.view.View;
26 * requesting an action to be performed on a given view from an
36 findViewById(R.id.button5).setOnClickListener(new View.OnClickListener() {
37 public void onClick(View v) {
41 findViewById(R.id.button5).setOnLongClickListener(new View.OnLongClickListener() {
42 public boolean onLongClick(View v) {
  /cts/tests/tests/holo/src/android/holo/cts/modifiers/
DatePickerModifier.java 20 import android.view.View;
29 public View modifyView(View view) {
30 DatePicker tp = (DatePicker) view;
32 return view;
ProgressBarModifier.java 19 import android.view.View;
20 import android.view.animation.Interpolator;
26 public View modifyView(View view) {
27 ProgressBar pb = (ProgressBar) view;
TabHostModifier.java 21 import android.view.View;
27 public View modifyView(View view) {
28 TabHost tabHost = (TabHost) view;
45 return view;
  /cts/tests/tests/view/src/android/view/cts/
View_FocusHandlingTest.java 17 package android.view.cts;
26 import android.view.View;
38 View v1 = activity.findViewById(R.id.view1);
39 View v2 = activity.findViewById(R.id.view2);
40 View v3 = activity.findViewById(R.id.view3);
41 View v4 = activity.findViewById(R.id.view4);
90 assertSame(v2, v1.focusSearch(View.FOCUS_RIGHT));
91 assertSame(v3, v1.focusSearch(View.FOCUS_DOWN));
93 assertSame(v1, v2.focusSearch(View.FOCUS_LEFT))
    [all...]
  /developers/samples/android/connectivity/network/BasicNetworkDemo/BasicNetworkDemo/src/main/java/com/example/android/networkbasic/
LogFragment.java 13 import android.view.LayoutInflater;
14 import android.view.View;
15 import android.view.ViewGroup;
29 public View onCreateView(LayoutInflater inflater, ViewGroup container,
32 View result = inflater.inflate(R.layout.log_fragment, container, false);
36 // Wire up so when the text changes, the view scrolls down.
  /developers/samples/android/connectivity/network/NetworkConnect/NetworkConnect/src/main/java/com/example/android/networkconnect/
LogFragment.java 13 import android.view.LayoutInflater;
14 import android.view.View;
15 import android.view.ViewGroup;
29 public View onCreateView(LayoutInflater inflater, ViewGroup container,
32 View result = inflater.inflate(R.layout.log_fragment, container, false);
36 // Wire up so when the text changes, the view scrolls down.
  /developers/samples/android/input/gestures/BasicGestureDetect/BasicGestureDetect/src/main/java/com/example/android/basicgesturedetect/
LogFragment.java 12 import android.view.LayoutInflater;
13 import android.view.View;
14 import android.view.ViewGroup;
28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
31 View result = inflater.inflate(R.layout.log_fragment, container, false);
35 // Wire up so when the text changes, the view scrolls down.
  /external/chromium/chrome/browser/ui/cocoa/
focus_tracker.h 10 // this class snapshots the currently focused view when it is
12 // that view. FocusTracker will not restore focus to views that are
13 // no longer in the view hierarchy or are not in the correct window.
21 // method snapshots the currently focused view.
24 // Attempts to restore focus to the snapshotted view. Returns YES if
25 // focus was restored. Will not restore focus if the view is no
26 // longer in the view hierarchy under |window|.
  /external/chromium/chrome/browser/ui/cocoa/tab_contents/
sad_tab_controller.mm 18 NSView* view = [self view];
19 [superview addSubview:view];
20 [view setFrame:[superview bounds]];
27 // If tab_contents_ is nil, ask view to remove link.
29 SadTabView* sad_view = static_cast<SadTabView*>([self view]);
35 [[self view] removeFromSuperview];
  /external/chromium/chrome/browser/ui/views/
dropdown_bar_view.h 9 #include "views/view.h"
15 // The DropdownBarView is an abstract view to draw the UI controls of the
19 class DropdownBarView : public views::View {
30 // Updates the view to let it know where the host is clipping the
38 // Returns the DropdownBarHost that manages this view.
42 // The dropdown bar host that controls this view.
46 // part of it. The view needs to know the pixel offset at which we are drawing
  /external/replicaisland/src/com/replica/replicaisland/
ExtrasMenuActivity.java 14 import android.view.KeyEvent;
15 import android.view.View;
16 import android.view.animation.Animation;
17 import android.view.animation.AnimationUtils;
20 private View mLinearModeButton;
21 private View mLevelSelectButton;
22 private View mControlsButton;
23 private View mBackground;
24 private View mLevelSelectLocked
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewMeasureSpec.java 6 import android.view.View;
9 * Shadow for {@code View.MeasureSpec} inner class.
13 @Implements(View.MeasureSpec.class)
41 if (mode == View.MeasureSpec.UNSPECIFIED)
43 else if (mode == View.MeasureSpec.EXACTLY)
45 else if (mode == View.MeasureSpec.AT_MOST)
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
TemporaryBindingsTest.java 3 import android.view.View;
18 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName()));
22 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(),
28 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName()));
32 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(),
36 @Implements(View.class)
  /frameworks/base/core/java/android/view/
FocusFinder.java 17 package android.view;
26 * The algorithm used for finding the next focusable view in a given direction
27 * from a view that currently has focus.
51 private final ArrayList<View> mTempList = new ArrayList<View>();
57 * Find the next view to take focus in root's descendants, starting from the view
62 * @return The next focusable view, or null if none exists.
64 public final View findNextFocus(ViewGroup root, View focused, int direction)
    [all...]

Completed in 7897 milliseconds

<<11121314151617181920>>