/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
HorizontalHoverCardSwitcher.java | 17 import android.support.v4.view.ViewCompat; 18 import android.view.View; 19 import android.view.ViewGroup; 20 import android.view.View.MeasureSpec; 21 import android.view.ViewGroup.MarginLayoutParams; 25 * the hover card left to left of selected child view. If there is no space when scroll 26 * to the end, right edge hover card will be aligned to right of parent view excluding 30 // left and right of selected card view [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
WindowLocationUtil.java | 22 import android.view.View; 23 import android.view.ViewParent; 27 * Utility class for View/ImageView locations and clip bounds etc. 35 * map points inside view into locations of a screen 36 * The function is an extension of {@link View#getLocationInWindow } and can map 41 public static void getLocationsInWindow(View view, float[] points) { 47 Matrix matrix = view.getMatrix(); 52 int deltax = view.getLeft() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SearchViewAlwaysVisible.java | 17 package com.example.android.apis.view; 26 import android.view.Menu; 27 import android.view.MenuInflater; 28 import android.view.View; 29 import android.view.Window;
|
/external/chromium_org/chrome/browser/ |
platform_util_android.cc | 25 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 27 return view->GetWindowAndroid(); 30 gfx::NativeView GetParent(gfx::NativeView view) { 32 return view; 44 bool IsVisible(gfx::NativeView view) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
StubbedView.java | 17 package android.view; 23 import android.view.View; 34 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { 35 public void onClick(View v) { 36 final View view = findViewById(R.id.viewStub); 37 if (view != null) { 38 view.setVisibility(View.VISIBLE) [all...] |
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...] |
/frameworks/support/v4/eclair/android/support/v4/view/ |
KeyEventCompatEclair.java | 18 package android.support.v4.view; 20 import android.view.KeyEvent; 21 import android.view.View; 24 public static Object getKeyDispatcherState(View view) { 25 return view.getKeyDispatcherState();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
PanelTrack.java | 20 import android.view.MotionEvent; 21 import android.view.View; 26 public void onTouch(MotionEvent event, StateView view); 28 public void setCurrentView(View view); 30 public View findChildAt(int x, int y); 31 public int findChild(View view); 34 public View getChildAt(int pos) [all...] |
/external/chromium_org/mojo/services/view_manager/ |
view_manager_service_impl.cc | 71 const ServerView* view, 75 if (originated_change || !IsViewKnown(view)) 77 client()->OnViewBoundsChanged(ViewIdToTransportId(view->id()), 83 const ServerView* view, 90 const bool old_drawn = view->IsDrawn(connection_manager_->root()); 91 const bool new_drawn = view->visible() && new_parent && 96 NotifyDrawnStateChanged(view, new_drawn); 100 const ServerView* view, 104 if (originated_change && !IsViewKnown(view) && new_parent && 107 GetUnknownViewsFrom(view, &unused) 280 ServerView* view = GetView(view_id); local 364 ServerView* view = GetView(ViewIdFromTransportId(transport_view_id)); local 394 ServerView* view = GetView(ViewIdFromTransportId(view_id)); local 408 ServerView* view = GetView(ViewIdFromTransportId(view_id)); local 422 ServerView* view = GetView(ViewIdFromTransportId(view_id)); local 436 ServerView* view = GetView(ViewIdFromTransportId(view_id)); local 449 ServerView* view = GetView(ViewIdFromTransportId(view_id)); local 462 ServerView* view = GetView(ViewIdFromTransportId(transport_view_id)); local 488 const ServerView* view = GetView(ViewIdFromTransportId(transport_view_id)); local [all...] |
default_access_policy.h | 24 virtual bool CanRemoveViewFromParent(const ServerView* view) const OVERRIDE; 27 virtual bool CanReorderView(const ServerView* view, 30 virtual bool CanDeleteView(const ServerView* view) const OVERRIDE; 31 virtual bool CanGetViewTree(const ServerView* view) const OVERRIDE; 33 const ServerView* view) const OVERRIDE; 34 virtual bool CanEmbed(const ServerView* view) const OVERRIDE; 35 virtual bool CanChangeViewVisibility(const ServerView* view) const OVERRIDE; 36 virtual bool CanSetViewSurfaceId(const ServerView* view) const OVERRIDE; 37 virtual bool CanSetViewBounds(const ServerView* view) const OVERRIDE; 39 const ServerView* view, [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
SgvAnimationHelper.java | 12 import android.view.View; 13 import android.view.WindowManager; 14 import android.view.animation.AnimationUtils; 15 import android.view.animation.Interpolator; 29 // New views expand into view from height 0. Existing views are updated and translated 32 // New views expand into view from height 0. Existing views are updated and translated 51 // Stale views are faded out of view. Existing views are then updated and translated 111 * Add animations to translate a view's X-translation. {@link AnimatorListener} can be null. 114 final View view, int startTranslation, final int endTranslation, int animationDelay [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/ |
MultiSwipeRefreshLayout.java | 20 import android.support.v4.view.ViewCompat; 23 import android.view.View; 33 private View[] mSwipeableChildren; 45 * views need to be a descendant of this view. 51 mSwipeableChildren = new View[ids.length]; 60 * we are signifying that the view is in a state where a refresh gesture can start. 70 for (View view : mSwipeableChildren) { 71 if (view != null && view.isShown() && !canViewScrollUp(view)) [all...] |
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/ |
MultiSwipeRefreshLayout.java | 20 import android.support.v4.view.ViewCompat; 23 import android.view.View; 33 private View[] mSwipeableChildren; 45 * views need to be a descendant of this view. 51 mSwipeableChildren = new View[ids.length]; 60 * we are signifying that the view is in a state where a refresh gesture can start. 70 for (View view : mSwipeableChildren) { 71 if (view != null && view.isShown() && !canViewScrollUp(view)) [all...] |
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/ |
MultiSwipeRefreshLayout.java | 20 import android.support.v4.view.ViewCompat; 23 import android.view.View; 33 private View[] mSwipeableChildren; 45 * views need to be a descendant of this view. 51 mSwipeableChildren = new View[ids.length]; 60 * we are signifying that the view is in a state where a refresh gesture can start. 70 for (View view : mSwipeableChildren) { 71 if (view != null && view.isShown() && !canViewScrollUp(view)) [all...] |
/development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/ |
MultiPropertyAnimations.java | 25 import android.view.View; 52 public void runValueAnimator(final View view) { 58 view.setTranslationX(TX_START + fraction * (TX_END - TX_START)); 59 view.setTranslationY(TY_START + fraction * (TY_END - TY_START)); 67 * View properties, even when there are multiple properties to be animated 70 public void runViewPropertyAnimator(View view) { 71 view.animate().translationX(TX_END).translationY(TY_END) [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
timeline_view.css | 6 #timeline-view-selection-div { 11 #timeline-view-selection-toggle { 20 .timeline-view-rotateleft { 24 .timeline-view-rotateright { 28 #timeline-view-selection-div ul { 33 #timeline-view-selection-div li { 38 .timeline-view-text { 42 #timeline-view-open-sockets { 46 #timeline-view-in-use-sockets { 50 #timeline-view-url-requests [all...] |
/external/clang/tools/clang-format/ |
clang-format-sublime.py | 31 encoding = self.view.encoding() 36 for region in self.view.sel(): 42 '-assume-filename', str(self.view.file_name())]) 43 old_viewport_position = self.view.viewport_position() 44 buf = self.view.substr(sublime.Region(0, self.view.size())) 50 self.view.replace( 51 edit, sublime.Region(0, self.view.size()), 53 self.view.sel().clear() 55 self.view.sel().add(region [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewFlipperActivity.java | 21 import android.view.Gravity; 22 import android.view.LayoutInflater; 23 import android.view.View; 36 final View widget = inflater.inflate(R.layout.widget, null); 41 View view = inflater.inflate(R.layout.flipper_item, flipper, false); local 42 flipper.addView(view); 43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1); 44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, " [all...] |
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
Scale.java | 20 import android.view.View; 21 import android.view.ViewGroup; 35 View view = values.view; local 36 values.values.put(PROPNAME_SCALE, view.getScaleX()); 59 final View view = startValues.view; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
ViewCompatUtils.java | 19 import android.view.View; 23 // TODO: Use {@link android.support.v4.view.ViewCompat} instead of this utility class. 24 // Currently {@link #getPaddingEnd(View)} and {@link #setPaddingRelative(View,int,int,int,int)} 27 // Note that View.getPaddingEnd(), View.setPaddingRelative(int,int,int,int) have been 30 View.class, "getPaddingEnd"); 32 View.class, "setPaddingRelative", 34 // Note that View.setElevation(float) has been introduced in API level 21 [all...] |
/external/chromium_org/ash/shelf/ |
shelf_button_host.h | 16 class View; 32 // Invoked when a pointer device is pressed on a view. 33 virtual void PointerPressedOnButton(views::View* view, 37 // Invoked when a pointer device is dragged over a view. 38 virtual void PointerDraggedOnButton(views::View* view, 43 virtual void PointerReleasedOnButton(views::View* view, 48 virtual void MouseMovedOverButton(views::View* view) = 0 [all...] |
/external/chromium_org/mojo/services/public/cpp/view_manager/ |
view_observer.h | 12 #include "mojo/services/public/cpp/view_manager/view.h" 21 class View; 25 // -ing methods are called before changes are applied to the local view model. 26 // -ed methods are called after changes are applied to the local view model. 28 // If the change originated from another connection to the view manager, it's 31 // possible the view has already been destroyed on the service side. 37 View* target; 38 View* old_parent; 39 View* new_parent; 40 View* receiver [all...] |
/frameworks/base/core/java/android/transition/ |
TransitionValues.java | 20 import android.view.View; 21 import android.view.ViewGroup; 28 * The view field is the target which all of the values pertain to. 47 * The View with these values 49 public View view; field in class:TransitionValues 57 * The Transitions that targeted this view. 64 if (view == ((TransitionValues) other).view) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
AttachInfo_Accessor.java | 17 package android.view; 24 import android.view.View.AttachInfo; 31 public static void setAttachInfo(View view) { 32 Context context = view.getContext(); 39 info.mWindowVisibility = View.VISIBLE; 42 view.dispatchAttachedToWindow(info, 0); 45 public static void dispatchOnPreDraw(View view) { [all...] |
/frameworks/support/v4/api22/android/support/v4/view/accessibility/ |
AccessibilityNodeInfoCompatApi22.java | 17 package android.support.v4.view.accessibility; 19 import android.view.accessibility.AccessibilityNodeInfo; 20 import android.view.View; 31 public static void setTraversalBefore(Object info, View view) { 32 ((AccessibilityNodeInfo) info).setTraversalBefore(view); 35 public static void setTraversalBefore(Object info, View root, int virtualDescendantId) { 43 public static void setTraversalAfter(Object info, View view) { [all...] |