/frameworks/base/core/java/android/view/ |
D | WindowManagerImpl.java | 17 package android.view; 24 import android.view.WindowManager; 25 import android.view.inputmethod.InputMethodManager; 83 public void addView(View view) in addView() argument 85 addView(view, new WindowManager.LayoutParams( in addView() 89 public void addView(View view, ViewGroup.LayoutParams params) in addView() argument 91 addView(view, params, false); in addView() 94 public void addViewNesting(View view, ViewGroup.LayoutParams params) in addViewNesting() argument 96 addView(view, params, false); in addViewNesting() 99 private void addView(View view, ViewGroup.LayoutParams params, boolean nest) in addView() argument [all …]
|
D | ViewDebug.java | 17 package android.view; 396 public int view; field in ViewDebug.RecyclerTrace 452 public static void trace(View view, RecyclerTraceType type, int... parameters) { in trace() argument 457 if (!sRecyclerViews.contains(view)) { in trace() 458 sRecyclerViews.add(view); in trace() 461 final int index = sRecyclerViews.indexOf(view); in trace() 464 trace.view = index; in trace() 491 public static void startRecyclerTracing(String prefix, View view) { in startRecyclerTracing() argument 503 sRecyclerOwnerView = view; in startRecyclerTracing() 542 for (View view : sRecyclerViews) { in stopRecyclerTracing() [all …]
|
D | IWindowManager.aidl | 18 package android.view; 20 import com.android.internal.view.IInputContext; 21 import com.android.internal.view.IInputMethodClient; 24 import android.view.IApplicationToken; 25 import android.view.IOnKeyguardExitResult; 26 import android.view.IRotationWatcher; 27 import android.view.IWindowSession; 28 import android.view.KeyEvent; 29 import android.view.InputEvent; 30 import android.view.MotionEvent; [all …]
|
D | ViewStub.java | 17 package android.view; 204 View view = mInflatedViewRef.get(); in setVisibility() local 205 if (view != null) { in setVisibility() 206 view.setVisibility(visibility); in setVisibility() 232 final View view = factory.inflate(mLayoutResource, parent, in inflate() local 236 view.setId(mInflatedId); in inflate() 244 parent.addView(view, index, layoutParams); in inflate() 246 parent.addView(view, index); in inflate() 249 mInflatedViewRef = new WeakReference<View>(view); in inflate() 252 mInflateListener.onInflate(this, view); in inflate() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewClient.java | 22 import android.view.KeyEvent; 39 public boolean shouldOverrideUrlLoading(WebView view, String url) { in shouldOverrideUrlLoading() argument 55 public void onPageStarted(WebView view, String url, Bitmap favicon) { in onPageStarted() argument 67 public void onPageFinished(WebView view, String url) { in onPageFinished() argument 77 public void onLoadResource(WebView view, String url) { in onLoadResource() argument 93 public void onTooManyRedirects(WebView view, Message cancelMsg, in onTooManyRedirects() argument 139 public void onReceivedError(WebView view, int errorCode, in onReceivedError() argument 152 public void onFormResubmission(WebView view, Message dontResend, in onFormResubmission() argument 164 public void doUpdateVisitedHistory(WebView view, String url, in doUpdateVisitedHistory() argument 180 public void onReceivedSslError(WebView view, SslErrorHandler handler, in onReceivedSslError() argument [all …]
|
D | WebChromeClient.java | 22 import android.view.View; 32 public void onProgressChanged(WebView view, int newProgress) {} in onProgressChanged() argument 39 public void onReceivedTitle(WebView view, String title) {} in onReceivedTitle() argument 46 public void onReceivedIcon(WebView view, Bitmap icon) {} in onReceivedIcon() argument 54 public void onReceivedTouchIconUrl(WebView view, String url, in onReceivedTouchIconUrl() argument 76 public void onShowCustomView(View view, CustomViewCallback callback) {}; in onShowCustomView() argument 104 public boolean onCreateWindow(WebView view, boolean dialog, in onCreateWindow() argument 115 public void onRequestFocus(WebView view) {} in onRequestFocus() argument 136 public boolean onJsAlert(WebView view, String url, String message, in onJsAlert() argument 154 public boolean onJsConfirm(WebView view, String url, String message, in onJsConfirm() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupChildrenTest.java | 17 package android.view; 20 import android.view.ViewGroupChildren; 26 import android.view.View; 27 import android.view.ViewGroup; 62 View view = createView("1"); in testAddChild() local 63 mGroup.addView(view); in testAddChild() 67 ViewAsserts.assertGroupContains(mGroup, view); in testAddChild() 75 View view = createView(String.valueOf(i + 1)); in testAddChildAtFront() local 76 mGroup.addView(view); in testAddChildAtFront() 79 View view = createView("X"); in testAddChildAtFront() local [all …]
|
D | 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); in onCreate() local 46 view.post(new Runnable() { in onCreate() 57 view.post(runnable); in onCreate() 58 view.post(runnable); in onCreate() 59 view.post(runnable); in onCreate() 60 view.post(runnable); in onCreate() 61 view.removeCallbacks(runnable); in onCreate() [all …]
|
D | BigCacheTest.java | 17 package android.view; 19 import android.view.BigCache; 24 import android.view.View; 25 import android.view.ViewConfiguration; 71 private Bitmap createCacheForView(final View view) { in createCacheForView() argument 75 view.setDrawingCacheEnabled(true); in createCacheForView() 76 view.invalidate(); in createCacheForView() 77 view.buildDrawingCache(); in createCacheForView() 78 cache[0] = view.getDrawingCache(); in createCacheForView()
|
D | DrawableBgMinSizeTest.java | 17 package android.view; 20 import android.view.DrawableBgMinSize; 26 import android.view.View; 83 public void doMinimumSizeTest(View view) throws Exception { in doMinimumSizeTest() argument 84 …assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum wi… in doMinimumSizeTest() 85 view.getWidth() >= mBackgroundDrawable.getMinimumWidth()); in doMinimumSizeTest() 86 …assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum he… in doMinimumSizeTest() 87 view.getHeight() >= mBackgroundDrawable.getMinimumHeight()); in doMinimumSizeTest() 115 public void doDiffBgMinimumSizeTest(final View view) throws Exception { in doDiffBgMinimumSizeTest() argument 119 assertTrue(view.getClass().getSimpleName() in doDiffBgMinimumSizeTest() [all …]
|
D | ListContextMenu.java | 17 package android.view; 25 import android.view.ContextMenu; 26 import android.view.Menu; 27 import android.view.MenuItem; 28 import android.view.SubMenu; 29 import android.view.View; 30 import android.view.ViewGroup; 31 import android.view.LayoutInflater; 32 import android.view.ContextMenu.ContextMenuInfo; 74 TextView view; in getView() local [all …]
|
D | ZeroSizedTest.java | 17 package android.view; 19 import android.view.ZeroSized; 24 import android.view.View; 89 private Bitmap createCacheForView(final View view) { in createCacheForView() argument 93 view.setDrawingCacheEnabled(true); in createCacheForView() 94 view.invalidate(); in createCacheForView() 95 view.buildDrawingCache(); in createCacheForView() 96 cache[0] = view.getDrawingCache(); in createCacheForView()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ScrollingThroughListOfFocusablesTest.java | 23 import android.view.KeyEvent; 76 InternalSelectionView view = mActivity.getSelectedView(); in testScrollingDownInFirstItem() local 78 assertInternallySelectedRowOnScreen(view, i); in testScrollingDownInFirstItem() 89 InternalSelectionView view = (InternalSelectionView) in testScrollingDownInFirstItem() local 95 view.getBottom() >= fadingEdge - 1 && in testScrollingDownInFirstItem() 96 view.getBottom() <= fadingEdge); in testScrollingDownInFirstItem() 139 InternalSelectionView view = mActivity.getSelectedView(); in testNoFadingEdgeAtBottomOfLastItem() local 140 assertEquals(mNumRowsPerItem - 1, view.getSelectedRow()); in testNoFadingEdgeAtBottomOfLastItem() 142 view.getRectForRow(mTempRect, mNumRowsPerItem - 1); in testNoFadingEdgeAtBottomOfLastItem() 143 mListView.offsetDescendantRectToMyCoords(view, mTempRect); in testNoFadingEdgeAtBottomOfLastItem() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodManager.java | 17 package android.view.inputmethod; 32 import android.view.KeyEvent; 33 import android.view.MotionEvent; 34 import android.view.View; 35 import android.view.ViewRoot; 38 import com.android.internal.view.IInputConnectionWrapper; 39 import com.android.internal.view.IInputContext; 40 import com.android.internal.view.IInputMethodCallback; 41 import com.android.internal.view.IInputMethodClient; 42 import com.android.internal.view.IInputMethodManager; [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeInflater.java | 33 import android.view.InflateException; 34 import android.view.LayoutInflater; 35 import android.view.View; 36 import android.view.ViewGroup; 79 View view = null; in onCreateView() local 85 view = createView(name, prefix, attrs); in onCreateView() 86 if (view != null) { in onCreateView() 97 if (view == null) { in onCreateView() 98 view = super.onCreateView(name, attrs); in onCreateView() 106 if (view == null) { in onCreateView() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | BaseAdapter.java | 31 import android.view.View; 32 import android.view.ViewGroup; 151 View view = pair.getFirst(); in getView() local 154 if (view != null) { in getView() 155 fillView(context, view, item, parentItem); in getView() 160 view = tv; in getView() 163 return view; in getView() 166 private void fillView(BridgeContext context, View view, AdapterItem item, in fillView() argument 168 if (view instanceof ViewGroup) { in fillView() 169 ViewGroup group = (ViewGroup) view; in fillView() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethod.aidl | 17 package com.android.internal.view; 22 import android.view.KeyEvent; 23 import android.view.MotionEvent; 24 import android.view.inputmethod.EditorInfo; 25 import android.view.inputmethod.InputBinding; 26 import com.android.internal.view.IInputContext; 27 import com.android.internal.view.IInputMethodCallback; 28 import com.android.internal.view.IInputMethodSession;
|
D | 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/core/tests/coretests/src/android/widget/listview/ |
D | ListTakeFocusFromSide.java | 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.LayoutInflater; 64 TextView view; in getView() local 67 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null); in getView() 69 view = (TextView) convertView; in getView() 71 view.setText(mTitles[position]); in getView() 72 return view; in getView()
|
D | ListSimple.java | 21 import android.view.View; 22 import android.view.ViewGroup; 46 View view = super.createView(position, parent, desiredHeight); in createView() local 47 view.setBackgroundColor(0xFF191919); in createView() 48 ((TextView) view).setTextSize(16.0f); in createView() 49 return view; in createView()
|
/frameworks/base/core/java/android/text/method/ |
D | KeyListener.java | 20 import android.view.KeyEvent; 21 import android.view.View; 57 public boolean onKeyDown(View view, Editable text, in onKeyDown() argument 65 public boolean onKeyUp(View view, Editable text, in onKeyUp() argument 73 public boolean onKeyOther(View view, Editable text, KeyEvent event); in onKeyOther() argument 78 public void clearMetaKeyState(View view, Editable content, int states); in clearMetaKeyState() argument
|
D | BaseKeyListener.java | 19 import android.view.KeyEvent; 20 import android.view.View; 39 public boolean backspace(View view, Editable content, int keyCode, in backspace() argument 54 } else if (altBackspace(view, content, keyCode, event)) { in backspace() 73 private boolean altBackspace(View view, Editable content, int keyCode, in altBackspace() argument 79 if (!(view instanceof TextView)) { in altBackspace() 83 Layout layout = ((TextView) view).getLayout(); in altBackspace() 120 public boolean onKeyDown(View view, Editable content, in onKeyDown() argument 123 backspace(view, content, keyCode, event); in onKeyDown() 127 return super.onKeyDown(view, content, keyCode, event); in onKeyDown() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 30 import android.view.ContextMenu; 31 import android.view.ContextThemeWrapper; 32 import android.view.Gravity; 33 import android.view.KeyEvent; 34 import android.view.LayoutInflater; 35 import android.view.Menu; 36 import android.view.MenuItem; 37 import android.view.MotionEvent; 38 import android.view.View; 39 import android.view.ViewConfiguration; [all …]
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 31 import android.view.LayoutInflater; 32 import android.view.View; 143 private View scrollWrap(View view) { in scrollWrap() argument 145 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap() 166 View view = new View(this); in addBitmapDrawable() local 170 view.setBackgroundDrawable(d); in addBitmapDrawable() 172 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addBitmapDrawable() 174 layout.addView(view); in addBitmapDrawable() 178 View view = new View(this); in addResourceDrawable() local 181 view.setBackgroundDrawable(d); in addResourceDrawable() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSimple.java | 21 import android.view.View; 22 import android.view.ViewGroup; 50 View view = super.createView(position, parent, desiredHeight); in createView() local 51 view.setBackgroundColor(0xFF000000); in createView() 52 ((TextView) view).setTextSize(16.0f); in createView() 53 return view; in createView()
|