/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
ViewUtil.java | 19 import android.view.View; 20 import android.view.ViewGroup; 30 * @throws IllegalStateException Thrown if the view's width is unknown before a layout pass 33 public static int getConstantPreLayoutWidth(View view) { 35 final ViewGroup.LayoutParams p = view.getLayoutParams(); 37 throw new IllegalStateException("Expecting view's width to be a constant rather " +
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ItemSimpleGestureListener.java | 19 import android.view.MotionEvent; 20 import android.view.View; 36 * @param view The view which received the event 42 public boolean onSingleTapConfirmed(View view, int area, MotionEvent e); 48 * @param view The view which received the event 52 public void onLongPress(View view, MotionEvent e) [all...] |
ScrollViewListener.java | 19 import android.view.View; 28 * @param view The view 34 public void onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll); 39 * @param view The view 45 public void onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/view/ |
ViewGroup.java | 17 package mock_android.view; 19 public class ViewGroup extends View {
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | 17 package android.view.cts; 20 import com.android.internal.view.menu.ContextMenuBuilder; 46 import android.view.ActionMode; 47 import android.view.ContextMenu; 48 import android.view.ContextMenu.ContextMenuInfo; 49 import android.view.Display; 50 import android.view.HapticFeedbackConstants; 51 import android.view.KeyEvent; 52 import android.view.MotionEvent; 53 import android.view.SoundEffectConstants 143 View view = new View(mActivity); local 148 View view = new View(mActivity); local 154 View view = new View(mActivity); local 166 View view = new View(mActivity); local 181 View view = new View(mActivity); local 195 View view = new View(mActivity); local 213 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 240 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 249 View view = parent.findViewById(R.id.mock_view); local 254 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 327 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 347 MockView view = new MockView(mActivity); local 365 View view = new View(mActivity); local 376 View view = new View(mActivity); local 387 MockView view = new MockView(mActivity); local 402 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 417 View view = new View(mActivity); local 423 View view = new View(mActivity); local 440 View view = new View(mActivity); local 452 View view = new View(mActivity); local 464 View view = new View(mActivity); local 480 MockView view = new MockView(mActivity); local 494 MockView view = new MockView(mActivity); local 519 MockView view = new MockView(mActivity); local 537 final View view = mActivity.findViewById(R.id.mock_view); local 595 final View view = mActivity.findViewById(R.id.mock_view); local 647 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 688 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 731 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 762 MockView view = new MockView(mActivity); local 771 MockView view = new MockView(mActivity); local 780 MockView view = new MockView(mActivity); local 789 MockView view = new MockView(mActivity); local 818 View view = new View(mActivity); local 830 View view = new View(mActivity); local 842 View view = new View(mActivity); local 854 MockView view = new MockView(mActivity); local 860 View view = new View(mActivity); local 872 MockView view = new MockView(mActivity); local 893 View view = new View(mActivity); local 913 View view = new View(mActivity); local 933 MockView view = new MockView(mActivity); local 943 View view = new View(mActivity); local 949 MockView view = new MockView(mActivity); local 960 MockView view = new MockView(mActivity); local 980 MockView view = new MockView(mActivity); local 991 MockView view = new MockView(mActivity); local 1011 View view = new View(mActivity); local 1020 View view = new View(mActivity); local 1029 MockView view = new MockView(mActivity); local 1052 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1067 View view = new View(mActivity); local 1076 View view = new View(mActivity); local 1110 View view = new View(mActivity); local 1134 View view = new View(mActivity); local 1143 View view = new View(mActivity); local 1152 View view = new View(mActivity); local 1161 View view = new View(mActivity); local 1170 View view = new View(mActivity); local 1179 View view = new View(mActivity); local 1188 MockView view = new MockView(mActivity); local 1209 MockView view = new MockView(mActivity); local 1219 View view = new View(mActivity); local 1235 View view = new View(mActivity); local 1249 MockView view = new MockView(mActivity); local 1273 MockView view = new MockView(mActivity); local 1288 View view = new View(mActivity); local 1298 View view = new View(mActivity); local 1313 View view = new View(mActivity); local 1328 View view = new View(mActivity); local 1343 View view = new View(mActivity); local 1358 MockView view = new MockView(mActivity); local 1368 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1398 View view = new View(mActivity); local 1416 MockView view = new MockView(mActivity); local 1431 View view = new View(mActivity); local 1441 View view = new View(mActivity); local 1468 View view = new View(mActivity); local 1497 View view = new View(mActivity); local 1507 View view = new View(mActivity); local 1517 View view = new View(mActivity); local 1533 MockView view = new MockView(mActivity); local 1540 View view = mActivity.findViewById(R.id.mock_view); local 1556 View view = new View(mActivity); local 1566 View view = new View(mActivity); local 1576 MockView view = new MockView(mActivity); local 1631 View view = new View(mActivity); local 1663 View view = new View(mActivity); local 1689 View view = new View(mActivity); local 1708 View view = View.inflate(mActivity, R.layout.view_layout, null); local 1718 View view = new View(mActivity); local 1728 View view = new View(mActivity); local 1733 View view = new View(mActivity); local 1743 View view = new View(mActivity); local 1754 View view = new View(mActivity); local 1767 View view = new View(mActivity); local 1781 View view = new View(mActivity); local 1796 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1808 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1826 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1840 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1855 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1906 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 1964 final View view = mActivity.findViewById(R.id.mock_view); local 2018 MockView view = new MockView(mActivity); local 2055 MockView view = (MockView) mActivity.findViewById(viewId); local 2098 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2164 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2265 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2294 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2331 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2362 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2400 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2415 MockView view = new MockView(mActivity); local 2448 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2488 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2501 View view = new View(mActivity); local 2513 MockView view = new MockView(mActivity); local 2544 MockView view = new MockView(mActivity); local 2606 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2704 MockView view = new MockView(mActivity); local 2713 View view = new View(mActivity); local 2723 MockView view = new MockView(mActivity); local 2728 MockView view = new MockView(mActivity); local 2733 MockView view = new MockView(mActivity); local 2738 MockView view = new MockView(mActivity); local 2743 MockView view = new MockView(mActivity); local 2749 View view = new View(mActivity); local 2859 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2898 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2923 MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 2960 MockView view = (MockView) mActivity.findViewById(R.id.scroll_view); local 3077 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 3096 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local 3116 final MockView view = (MockView) mActivity.findViewById(R.id.mock_view); local [all...] |
View_LayoutPositionTest.java | 17 package android.view.cts; 27 import android.view.View; 30 * For the view test is too big, we divide the test cases into several parts. 50 View parent = mActivity.findViewById(R.id.testparent); 51 View view = mActivity.findViewById(R.id.testview); local 57 // baseline not support in view 58 assertEquals(-1, view.getBaseline()); 61 view.getLocationOnScreen(vLocation) 105 View view = new View(mActivity); local [all...] |
View_AnimationTest.java | 17 package android.view.cts; 22 import android.view.View; 23 import android.view.animation.Animation; 24 import android.view.animation.TranslateAnimation; 25 import android.view.animation.cts.AnimationTestUtils; 31 * Test {@link View}. 55 final View view = mActivity.findViewById(R.id.mock_view); local 57 view.setAnimation(null) 67 AnimationTestUtils.assertRunAnimation(getInstrumentation(), view, mAnimation, TIME_OUT); local 71 final View view = mActivity.findViewById(R.id.mock_view); local 86 AnimationTestUtils.assertRunAnimation(getInstrumentation(), view, mAnimation, TIME_OUT); local 90 final View view = mActivity.findViewById(R.id.mock_view); local 110 final View view = mActivity.findViewById(R.id.mock_view); local [all...] |
/external/chromium_org/content/browser/resources/gpu/ |
info_view.css | 5 #info-view { 11 #info-view * { 15 #info-view[selected] { 20 #info-view h3, 21 #info-view ul { 26 #info-view > div { 30 #info-view .row-title { 34 #info-view table { 39 #info-view table, 40 #info-view th [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
TestWindowManager.java | 1 package com.xtremelabs.robolectric.tester.android.view; 3 import android.view.Display; 4 import android.view.View; 5 import android.view.WindowManager; 16 private List<View> views = new ArrayList<View>(); 19 public void addView(View view, android.view.ViewGroup.LayoutParams layoutParams) [all...] |
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
MenuItemCompatHoneycomb.java | 17 package android.support.v4.view; 19 import android.view.MenuItem; 20 import android.view.View; 30 public static MenuItem setActionView(MenuItem item, View view) { 31 return item.setActionView(view); 38 public static View getActionView(MenuItem item) {
|
/packages/apps/Browser/tests/src/com/android/browser/ |
TestWebViewClient.java | 22 import android.view.KeyEvent; 45 public boolean shouldOverrideUrlLoading(WebView view, String url) { 46 return mWrappedClient.shouldOverrideUrlLoading(view, url); 51 public void onPageStarted(WebView view, String url, Bitmap favicon) { 52 mWrappedClient.onPageStarted(view, url, favicon); 57 public void onPageFinished(WebView view, String url) { 58 mWrappedClient.onPageFinished(view, url); 63 public void onLoadResource(WebView view, String url) { 64 mWrappedClient.onLoadResource(view, url); 70 public void onTooManyRedirects(WebView view, Message cancelMsg [all...] |
/external/chromium_org/ui/views/ |
view_model.cc | 8 #include "ui/views/view.h" 16 // view are owned by their parent, no need to delete them. 19 void ViewModel::Add(View* view, int index) { 23 entry.view = view; 47 View* view = entries_[index].view; local 49 entries_[i].view = entries_[i - 1].view 52 View* view = entries_[index].view; local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
SubMenuWrapperICS.java | 17 package android.support.v7.internal.view.menu; 20 import android.support.v4.internal.view.SupportSubMenu; 21 import android.view.MenuItem; 22 import android.view.SubMenu; 23 import android.view.View; 26 SubMenuWrapperICS(android.view.SubMenu subMenu) { 31 public android.view.SubMenu getWrappedObject() { 32 return (android.view.SubMenu) mWrappedObject; 37 ((android.view.SubMenu) mWrappedObject).setHeaderTitle(titleRes) [all...] |
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ |
ViewElement.java | 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.ViewParent; 27 import android.view.accessibility.AccessibilityNodeInfo; 40 * A UiElement that is backed by a View. 42 // TODO: always accessing view on the UI thread even when only get access is 48 private final View view; field in class:ViewElement 53 * {@link AccessibilityNodeInfo#getClassName}. If the app uses custom View [all...] |
/external/chromium-trace/trace-viewer/src/tcmalloc/ |
tcmalloc_instance_view.css | 11 .tcmalloc-instance-view #args { 15 .tcmalloc-instance-view #snapshots > * { 19 .tcmalloc-instance-view { 23 .tcmalloc-instance-view * { 27 .tcmalloc-instance-view .title { 33 .tcmalloc-instance-view td, 34 .tcmalloc-instance-view th {
|
/frameworks/base/core/java/android/webkit/ |
WebViewClient.java | 22 import android.view.KeyEvent; 23 import android.view.ViewRootImpl; 36 * @param view The WebView that is initiating the callback. 41 public boolean shouldOverrideUrlLoading(WebView view, String url) { 52 * @param view The WebView that is initiating the callback. 57 public void onPageStarted(WebView view, String url, Bitmap favicon) { 66 * @param view The WebView that is initiating the callback. 69 public void onPageFinished(WebView view, String url) { 76 * @param view The WebView that is initiating the callback. 79 public void onLoadResource(WebView view, String url) [all...] |
/external/chromium_org/ui/views/animation/ |
bounds_animator.cc | 11 #include "ui/views/view.h" 23 BoundsAnimator::BoundsAnimator(View* parent) 37 // view owns us and is going to be deleted anyway. 42 void BoundsAnimator::AnimateViewTo(View* view, const gfx::Rect& target) { 43 DCHECK(view); 44 DCHECK_EQ(view->parent(), parent_); 48 if (IsAnimating(view)) { 51 existing_data = data_[view]; 53 RemoveFromMaps(view); 209 View* view = animation_to_view_[animation]; local 232 View* view = animation_to_view_[animation]; local [all...] |
/cts/suite/pts/deviceTests/opengl/jni/graphics/ |
ProgramNode.cpp | 21 void ProgramNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 22 program.before(model, view, projection); 25 void ProgramNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 26 program.after(model, view, projection); 29 void ProgramNode::drawProgram(Matrix& model, Matrix& view, Matrix& projection) { 30 SceneGraphNode::draw(mProgram, model, view, projection);
|
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/ |
ImageFragment.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 27 View.OnClickListener clickListener; 29 public View onCreateView(LayoutInflater inflater, ViewGroup container, 31 View view = inflater.inflate(R.layout.image_fragment, container, false); local 32 view.setOnClickListener(clickListener); 33 return view; [all...] |
/external/chromium-trace/trace-viewer/src/cc/ |
raster_task_slice_view.css | 5 .raster-task-slice-view { 10 .raster-task-slice-view > object-snapshot-view {
|
/external/chromium_org/chrome/browser/ |
platform_util_aura.cc | 16 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 17 return view->GetToplevelWindow(); 20 gfx::NativeView GetParent(gfx::NativeView view) { 21 return view->parent(); 41 bool IsVisible(gfx::NativeView view) { 42 return view->IsVisible();
|
platform_util_common_linux.cc | 11 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 14 GtkWidget* toplevel = gtk_widget_get_ancestor(view, GTK_TYPE_WINDOW); 18 gfx::NativeView GetParent(gfx::NativeView view) { 19 return gtk_widget_get_parent(view); 30 bool IsVisible(gfx::NativeView view) { 31 return gtk_widget_get_visible(view);
|
/frameworks/base/core/java/android/text/method/ |
KeyListener.java | 20 import android.view.KeyEvent; 21 import android.view.View; 27 * {@link android.view.inputmethod.InputMethod}; it should only be used 63 public boolean onKeyDown(View view, Editable text, 71 public boolean onKeyUp(View view, Editable text, 79 public boolean onKeyOther(View view, Editable text, KeyEvent event) [all...] |
/cts/tests/accessibility/src/android/view/accessibility/services/ |
SpeakingAccessibilityService.java | 17 package android.view.accessibility.services; 20 import android.view.accessibility.AccessibilityEvent;
|
VibratingAccessibilityService.java | 17 package android.view.accessibility.services; 20 import android.view.accessibility.AccessibilityEvent;
|