/external/webkit/WebCore/page/mac/ |
ChromeMac.mm | 29 void Chrome::focusNSView(NSView* view) 34 if (firstResponder == view) 37 if (![view window] || ![view superview] || ![view acceptsFirstResponder]) 40 client()->makeFirstResponder(view); 43 // remove the view from its superview while it's being made 46 if (![view superview])
|
/frameworks/base/core/java/android/widget/ |
Adapter.java | 20 import android.view.KeyEvent; 21 import android.view.View; 22 import android.view.ViewGroup; 26 * underlying data for that view. The Adapter provides access to the data items. 27 * The Adapter is also responsible for making a {@link android.view.View} for 83 * Get a View that displays the data at the specified position in the data set. You can either 84 * create a View manually or inflate it from an XML layout file. When the View is inflated, th [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
GlobalFocusChange.java | 17 package android.view; 23 import android.view.ViewTreeObserver; 24 import android.view.View; 27 public View mOldFocus; 28 public View mNewFocus; 42 public void onGlobalFocusChanged(View oldFocus, View newFocus) {
|
LongpressTest.java | 17 package android.view; 19 import android.view.Longpress; 27 import android.view.View; 28 import android.view.View.OnLongClickListener; 31 * Exercises {@link android.view.View}'s longpress plumbing. 34 private View mSimpleView; 48 public boolean onLongClick(View v) [all...] |
FocusFinderTest.java | 17 package android.view; 42 assertIsNotCandidate(View.FOCUS_UP, 55 assertDirectionIsCandidate(View.FOCUS_UP, src, dest); 61 View.FOCUS_DOWN, 70 View.FOCUS_DOWN, 79 View.FOCUS_DOWN, 88 View.FOCUS_DOWN, 93 View.FOCUS_DOWN, 103 assertBeamsOverlap(View.FOCUS_LEFT, rect, rect); 104 assertBeamsOverlap(View.FOCUS_RIGHT, rect, rect) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 17 package android.view.cts; 30 import android.view.Gravity; 31 import android.view.InflateException; 32 import android.view.LayoutInflater; 33 import android.view.View; 34 import android.view.ViewGroup; 35 import android.view.LayoutInflater.Factory; 36 import android.view.LayoutInflater.Filter; 53 public View onCreateView(String name, Context context 205 View view = null; local 292 View view = mLayoutInflater.inflate( local 331 View view = mLayoutInflater.inflate( local 378 View view = mLayoutInflater.inflate(parser, null); local 437 View view = mLayoutInflater.inflate(parser, null, false); local [all...] |
ViewDebugTest.java | 17 package android.view.cts; 26 import android.view.View; 27 import android.view.ViewDebug; 28 import android.view.ViewDebug.HierarchyTraceType; 29 import android.view.ViewDebug.RecyclerTraceType; 48 args = {String.class, View.class} 53 args = {View.class, RecyclerTraceType.class, int[].class} 64 View ownerView = new View(getContext()) 65 View view = new View(getContext()); local [all...] |
GestureDetectorTestUtil.java | 17 package android.view.cts; 21 import android.view.View; 32 View view = activity.getView(); local 33 TouchUtils.clickView(testcase, view); 34 TouchUtils.longClickView(testcase, view); 36 TouchUtils.touchAndCancelView(testcase, view); 55 TouchUtils.tapView(testcase, view); 56 TouchUtils.tapView(testcase, view); [all...] |
SoundEffectConstantsTest.java | 17 package android.view.cts; 20 import android.view.SoundEffectConstants; 21 import android.view.View; 46 .getContantForFocusDirection(View.FOCUS_RIGHT)); 48 .getContantForFocusDirection(View.FOCUS_DOWN)); 50 .getContantForFocusDirection(View.FOCUS_LEFT)); 52 .getContantForFocusDirection(View.FOCUS_UP)); 55 .getContantForFocusDirection(View.FOCUS_FORWARD)); 58 .getContantForFocusDirection(View.FOCUS_BACKWARD)) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
FocusAfterRemoval.java | 25 import android.view.View; 42 topLeftButton.setOnClickListener(new View.OnClickListener() { 44 public void onClick(View v) { 45 left.setVisibility(View.GONE); 52 bottomLeftButton.setOnClickListener(new View.OnClickListener() { 54 public void onClick(View v) { 55 left.setVisibility(View.INVISIBLE); 61 topRightButton.setOnClickListener(new View.OnClickListener() { 63 public void onClick(View v) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ToastTest.java | 33 import android.view.Gravity; 34 import android.view.View; 35 import android.view.WindowManager; 36 import android.view.animation.cts.DelayedCheck; 80 private void assertShowToast(final View view) { 84 return null != view.getParent(); 89 private void assertShowAndHide(final View view) { 118 final View view = mToast.getView(); local 168 final View view = mToast.getView(); local 242 View view = mToast.getView(); local 287 View view = mToast.getView(); local [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
IInputConnectionCallback.aidl | 17 package com.android.internal.view; 20 import android.view.KeyEvent; 21 import android.view.MotionEvent; 22 import android.view.inputmethod.TextBoxAttribute; 23 import com.android.internal.view.IInputContext;
|
/frameworks/base/services/java/com/android/server/status/ |
StatusBarNotification.java | 20 import android.view.View; 25 View view; field in class:StatusBarNotification 26 View contentView;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidatesViewManager.java | 19 import android.view.View; 23 * The interface of candidates view manager used by {@link OpenWnn}. 28 /** Size of candidates view (normal) */ 30 /** Size of candidates view (full) */ 32 /** Size of candidates view (close/non-display) */ 57 * Initialize the candidates view. 63 * @return The candidates view created in the initialize process; {@code null} if cannot create a candidates view. 65 public View initView(OpenWnn parent, int width, int height) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarActivity.java | 30 import android.view.GestureDetector; 31 import android.view.Menu; 32 import android.view.MenuItem; 33 import android.view.MotionEvent; 34 import android.view.View; 35 import android.view.animation.Animation; 36 import android.view.animation.AnimationUtils; 37 import android.view.animation.TranslateAnimation; 121 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView() local 142 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 174 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 219 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 229 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 235 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 240 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 246 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 251 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 256 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 305 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 347 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 354 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 360 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 367 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local 374 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); local [all...] |
AlertAdapter.java | 24 import android.view.View; 35 public void bindView(View view, Context context, Cursor cursor) { 38 View stripe = view.findViewById(R.id.vertical_stripe); 41 textView = (TextView) view.findViewById(R.id.event_title); 45 View repeatContainer = view.findViewById(R.id.repeat_icon); 48 repeatContainer.setVisibility(View.VISIBLE) [all...] |
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
OneEditTextActivitySelected.java | 21 import android.view.KeyEvent; 22 import android.view.View; 23 import android.view.ViewGroup; 24 import android.view.WindowManager; 26 import android.view.inputmethod.InputMethodManager; 39 private View mRootView; 40 private View mDefaultFocusedView; 64 public View getRootView() { 68 public View getDefaultFocusedView() [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
LinearLayout.java | 20 import android.view.View.MeasureSpec; 29 GLView view = getComponent(i); local 30 view.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); 31 width = Math.max(width, view.getMeasuredWidth()); 32 height += view.getMeasuredHeight(); 46 GLView view = getComponent(i); local 47 view.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED); 48 int nextOffsetY = offsetY + view.getMeasuredHeight(); 49 view.layout(offsetX, offsetY, offsetX + width, nextOffsetY) [all...] |
/prebuilt/sdk/6/ |
framework.aidl | 18 parcelable android.view.KeyEvent; 19 parcelable android.view.MotionEvent; 20 parcelable android.view.Surface; 21 parcelable android.view.WindowManager.LayoutParams; 23 interface com.android.internal.view.IInputContext; 24 interface com.android.internal.view.IInputMethod; 25 interface com.android.internal.view.IInputMethodCallback; 26 interface com.android.internal.view.IInputMethodClient; 27 interface com.android.internal.view.IInputMethodManager; 28 interface com.android.internal.view.IInputMethodSession [all...] |
/prebuilt/sdk/7/ |
framework.aidl | 18 parcelable android.view.KeyEvent; 19 parcelable android.view.MotionEvent; 20 parcelable android.view.Surface; 21 parcelable android.view.WindowManager.LayoutParams; 23 interface com.android.internal.view.IInputContext; 24 interface com.android.internal.view.IInputMethod; 25 interface com.android.internal.view.IInputMethodCallback; 26 interface com.android.internal.view.IInputMethodClient; 27 interface com.android.internal.view.IInputMethodManager; 28 interface com.android.internal.view.IInputMethodSession [all...] |
/prebuilt/sdk/8/ |
framework.aidl | 20 parcelable android.view.KeyEvent; 21 parcelable android.view.MotionEvent; 22 parcelable android.view.Surface; 23 parcelable android.view.WindowManager.LayoutParams; 25 interface com.android.internal.view.IInputContext; 26 interface com.android.internal.view.IInputMethod; 27 interface com.android.internal.view.IInputMethodCallback; 28 interface com.android.internal.view.IInputMethodClient; 29 interface com.android.internal.view.IInputMethodManager; 30 interface com.android.internal.view.IInputMethodSession [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleTest.java | 29 import android.view.View; 30 import android.view.KeyEvent; 44 private View mChildToScrollTo; 98 // view is off screen 139 // view is off screen above 176 * Press the down key until a particular view is in focus 177 * @param view The view to get in focus. 180 private void pressDownUntilViewInFocus(View view, int maxKeyPress) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
BridgeInflater.java | 17 package android.view; 70 public View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException { 71 View view = null; local 77 view = createView(name, prefix, attrs); 78 if (view != null) { 89 if (view == null) { 90 view = super.onCreateView(name, attrs); 93 // Ignore. We'll try again using the custom view loader below. 96 // Finally try again using the custom view loade 120 View view = null; local [all...] |
/packages/apps/IM/src/com/android/im/app/ |
ImageListAdapter.java | 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.LayoutInflater; 79 public View getView(int position, View convertView, ViewGroup parent) { 80 View v; 90 private void setupView(int position, View view) { 91 ImageView iv = (ImageView) view.findViewById(mImageId) [all...] |
/cts/tests/src/android/view/cts/ |
GestureDetectorStubActivity.java | 17 package android.view.cts; 22 import android.view.GestureDetector; 23 import android.view.MotionEvent; 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.GestureDetector.SimpleOnGestureListener; 27 import android.view.View.OnTouchListener; 45 private View mView [all...] |