/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupChildrenTest.java | 140 final View[] views = new View[24]; in testRemoveChildren() local 142 for (int i = 0; i < views.length; i++) { in testRemoveChildren() 143 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildren() 144 mGroup.addView(views[i]); in testRemoveChildren() 147 for (int i = views.length - 1; i >= 0; i--) { in testRemoveChildren() 150 ViewAsserts.assertGroupNotContains(mGroup, views[i]); in testRemoveChildren() 151 assertNull(views[i].getParent()); in testRemoveChildren() 161 final View[] views = new View[24]; in testRemoveChildrenBulk() local 163 for (int i = 0; i < views.length; i++) { in testRemoveChildrenBulk() 164 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulk() [all …]
|
/frameworks/support/fragment/api21/android/support/v4/app/ |
D | FragmentTransitionCompat21.java | 96 ArrayList<View> views, boolean exclude) { in excludeViews() argument 98 final int viewCount = fromTransition == null ? 0 : views.size(); in excludeViews() 100 transition.excludeTarget(views.get(i), exclude); in excludeViews() 116 Object exitTransitionObj, Object sharedElementTransitionObj, ArrayList<View> views, in excludeSharedElementViews() argument 121 excludeViews(enterTransition, sharedElementTransition, views, exclude); in excludeSharedElementViews() 122 excludeViews(exitTransition, sharedElementTransition, views, exclude); in excludeSharedElementViews() 270 final List<View> views = transition.getTargets(); in setSharedElementTargets() local 271 views.clear(); in setSharedElementTargets() 275 bfsAddViewChildren(views, view); in setSharedElementTargets() 285 private static void bfsAddViewChildren(final List<View> views, final View startView) { in bfsAddViewChildren() argument [all …]
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | NewApiTest.java | 67 ArrayList<View> views = new ArrayList<>(); in testGeneric() local 68 mBinder.setChildren(views); in testGeneric() 70 assertEquals(1, views.size()); in testGeneric() 71 assertSame(mBinder.textView, views.get(0)); in testGeneric() 79 ArrayList<View> views = new ArrayList<>(); in testGenericOlderApi() local 80 mBinder.setChildren(views); in testGenericOlderApi() 83 assertEquals(0, views.size()); in testGenericOlderApi()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | CoordinatorLayoutSortTest.java | 76 final List<View> views = new ArrayList<>(); in testDependencySortingOrder() local 88 View dependency = i > 0 ? views.get(i - 1) : null; in testDependencySortingOrder() 97 views.add(view); in testDependencySortingOrder() 103 testOrder.add(views.get(mFirstAddIndex)); in testDependencySortingOrder() 104 testOrder.add(views.get(mSecondAddIndex)); in testDependencySortingOrder() 105 testOrder.add(views.get(mThirdAddIndex)); in testDependencySortingOrder() 106 testOrder.add(views.get(mFourthAddIndex)); in testDependencySortingOrder() 107 addViewsAndAssertOrdering(col, views, testOrder); in testDependencySortingOrder()
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 317 ChildViewCache views = (ChildViewCache) view.getTag(); in bindView() local 323 if (views.mText1 != null) { in bindView() 325 setViewText(views.mText1, text1); in bindView() 327 if (views.mText2 != null) { in bindView() 339 if (views.mText1 != null) { in bindView() 340 views.mText1.setSingleLine(false); in bindView() 341 views.mText1.setMaxLines(2); in bindView() 344 if (views.mText1 != null) { in bindView() 345 views.mText1.setSingleLine(true); in bindView() 346 views.mText1.setMaxLines(1); in bindView() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 34 RemoteViews views; field in PendingHostUpdate 38 public static PendingHostUpdate updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 40 update.views = views; in updateAppWidget() 68 views = new RemoteViews(in); in PendingHostUpdate() 92 writeNullParcelable(views, dest, flags); in writeToParcel()
|
D | AppWidgetHost.java | 75 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 76 if (isLocalBinder() && views != null) { in updateAppWidget() 77 views = views.clone(); in updateAppWidget() 83 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); in updateAppWidget() 203 updateAppWidgetView(update.appWidgetId, update.views); in startListening() 355 RemoteViews views; in createView() local 357 views = sService.getAppWidgetViews(mContextOpPackageName, appWidgetId); in createView() 361 view.updateAppWidget(views); in createView() 409 void updateAppWidgetView(int appWidgetId, RemoteViews views) { in updateAppWidgetView() argument 415 v.updateAppWidget(views); in updateAppWidgetView()
|
D | AppWidgetManager.java | 469 public void updateAppWidget(int[] appWidgetIds, RemoteViews views) { in updateAppWidget() argument 474 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget() 543 public void updateAppWidget(int appWidgetId, RemoteViews views) { in updateAppWidget() argument 547 updateAppWidget(new int[] { appWidgetId }, views); in updateAppWidget() 574 public void partiallyUpdateAppWidget(int[] appWidgetIds, RemoteViews views) { in partiallyUpdateAppWidget() argument 579 mService.partiallyUpdateAppWidgetIds(mPackageName, appWidgetIds, views); in partiallyUpdateAppWidget() 609 public void partiallyUpdateAppWidget(int appWidgetId, RemoteViews views) { in partiallyUpdateAppWidget() argument 613 partiallyUpdateAppWidget(new int[] { appWidgetId }, views); in partiallyUpdateAppWidget() 629 public void updateAppWidget(ComponentName provider, RemoteViews views) { in updateAppWidget() argument 634 mService.updateAppWidgetProvider(provider, views); in updateAppWidget()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | SuggestionsAdapter.java | 274 ChildViewCache views = (ChildViewCache) view.getTag(); in bindView() local 280 if (views.mText1 != null) { in bindView() 282 setViewText(views.mText1, text1); in bindView() 284 if (views.mText2 != null) { in bindView() 296 if (views.mText1 != null) { in bindView() 297 views.mText1.setSingleLine(false); in bindView() 298 views.mText1.setMaxLines(2); in bindView() 301 if (views.mText1 != null) { in bindView() 302 views.mText1.setSingleLine(true); in bindView() 303 views.mText1.setMaxLines(1); in bindView() [all …]
|
/frameworks/base/docs/html/design/patterns/ |
D | app-structure.jd | 20 <li>Apps such as Gmail or the Play Store that combine a broad set of data views with deep navigatio… 25 <p>A typical Android app consists of top level and detail/edit views. If the navigation hierarchy is 26 deep and complex, category views connect top level and detail views.</p> 36 <h4>Top level views</h4> 37 …he top level of the app typically consists of the different views that your app supports. The views 42 <h4>Category views</h4> 43 <p>Category views allow you to drill deeper into your data.</p> 91 …<li>If your top level consists of multiple views, make sure that it's easy for the user to navigat… 104 well. Navigation supports switching views of day, week, month, and agenda views. 111 …or functional areas. In many cases the top level will consist of multiple views, and you need to m… [all …]
|
D | swipe-views.jd | 14 vertical hierarchies and make access to related data items faster and more enjoyable. Swipe views 17 <h2 id="detail-views">Swiping Between Detail Views</h2> 25 Master (left) and detail (right) views. 35 … addition, support the use of edge swipes to immediately navigate between views when content scrol… 62 <p>If your app uses action bar tabs, use swipe to navigate between the different views.</p> 68 <p>Use swipe to quickly navigate between detail views or tabs.</p> 71 <p>Transition between the views as the user performs the swipe gesture. Do not wait for the 72 gesture to complete and then transition between views.</p> 83 …<p>For more details on how to build swipe views, read the developer documentation on <a href="{@do…
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
D | TestAppWidgetProvider.java | 50 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget); in onReceive() local 51 views.setTextViewText(R.id.oh_hai_text, "hai: " + SystemClock.elapsedRealtime()); in onReceive() 53 gm.updateAppWidget(appWidgetIds, views); in onReceive() 56 "com.android.tests.appwidgetprovider.TestAppWidgetProvider"), views); in onReceive()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetProvider.java | 58 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget); in onReceive() local 59 views.setTextViewText(R.id.oh_hai_text, prefix + ": " + SystemClock.elapsedRealtime()); in onReceive() 61 gm.updateAppWidget(appWidgetIds, views); in onReceive() 64 "com.android.tests.appwidgethost.TestAppWidgetProvider"), views); in onReceive()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | AdjacentListsWithAdjacentISVsInside.java | 85 private static View combineAdjacent(View... views) { in combineAdjacent() argument 86 if (views.length < 2) { in combineAdjacent() 90 final LinearLayout ll = new LinearLayout(views[0].getContext()); in combineAdjacent() 95 for (View view : views) { in combineAdjacent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/ |
D | GridTaskView.java | 17 package com.android.systemui.recents.views.grid; 22 import com.android.systemui.recents.views.AnimateableViewBounds; 23 import com.android.systemui.recents.views.TaskView;
|
D | AnimateableGridViewBounds.java | 17 package com.android.systemui.recents.views.grid; 20 import com.android.systemui.recents.views.AnimateableViewBounds;
|
/frameworks/base/docs/html/training/transitions/ |
D | transitions.jd | 26 to move, resize, and fade views. The next lesson shows you how to define custom transitions.</p> 52 <td>Default transition. Fade out, move and resize, and fade in views, in that order.</td> 59 <code>fade_in</code> fades in views<br> 60 <code>fade_out</code> fades out views<br> 68 <td>Moves and resizes views.</td> 154 <p>The framework applies transitions to all views in the starting and ending scenes by 155 default. In some cases, you may only want to apply an animation to a subset of views in a 158 transition. The framework enables you to select specific views you want to animate.</p> 163 <p>To remove one or more views from the list of targets, call the {@link 165 the transition. To add only the views you specify to the list of targets, call the [all …]
|
D | overview.jd | 21 transitions framework. This framework applies one or more animations to all the views in the 28 <dd>Applies one or more animation effects to all of the views in a view hierarchy.</dd> 60 app changes from its search entry screen to its search results screen, it fades out views that 61 are no longer in use and fades in new views.</p> 64 animates changes to all the views in two view hierarchies. A view hierarchy can be as simple 66 tree of views. The framework animates each view by changing one or more of its property values 94 <p>A scene stores the state of a view hierarchy, including all its views and their property 95 values. A view hierarchy can be a simple view or a complex tree of views and child layouts. 107 about the views from the current state of the screen.</p> 131 such as fading and resizing views. You can also define your own custom transitions to create [all …]
|
/frameworks/base/docs/html/training/animation/ |
D | index.jd | 2 page.tags=Animator,views,layout,user interface 60 …Learn how to crossfade between two overlapping views. This lesson shows you how to crossfade a pro… 73 Learn how to animate between two views with a flipping motion. 79 Learn how to enlarge views with a touch-to-zoom animation. 85 …Learn how to enable built-in animations when adding, removing, or updating child views in a layout.
|
/frameworks/base/core/java/android/app/ |
D | BackStackRecord.java | 1200 ArrayList<View> views = new ArrayList<View>(namedViews.values()); in callSharedElementEnd() local 1201 sharedElementCallback.onSharedElementEnd(names, views, null); in callSharedElementEnd() 1332 ArrayList<View> views = new ArrayList<View>(namedViews.values()); in configureTransitions() local 1333 callback.onSharedElementStart(names, views, null); in configureTransitions() 1395 final List<View> views = transition.getTargets(); in setSharedElementTargets() local 1396 views.clear(); in setSharedElementTargets() 1400 bfsAddViewChildren(views, view); in setSharedElementTargets() 1410 private static void bfsAddViewChildren(final List<View> views, final View startView) { in bfsAddViewChildren() argument 1411 final int startIndex = views.size(); in bfsAddViewChildren() 1412 if (containedBeforeIndex(views, startView, startIndex)) { in bfsAddViewChildren() [all …]
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | ActivityOptionsCompat.java | 246 View[] views = null; in makeSceneTransitionAnimation() local 249 views = new View[sharedElements.length]; in makeSceneTransitionAnimation() 252 views[i] = sharedElements[i].first; in makeSceneTransitionAnimation() 258 … ActivityOptionsCompat24.makeSceneTransitionAnimation(activity, views, names)); in makeSceneTransitionAnimation() 261 … ActivityOptionsCompat23.makeSceneTransitionAnimation(activity, views, names)); in makeSceneTransitionAnimation() 264 … ActivityOptionsCompat21.makeSceneTransitionAnimation(activity, views, names)); in makeSceneTransitionAnimation()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 51 void updateAppWidgetIds(String callingPackage, in int[] appWidgetIds, in RemoteViews views); in updateAppWidgetIds() argument 55 in RemoteViews views); in partiallyUpdateAppWidgetIds() argument 56 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views); in updateAppWidgetProvider() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/ |
D | DragEndEvent.java | 21 import com.android.systemui.recents.views.DropTarget; 22 import com.android.systemui.recents.views.TaskView;
|
D | DragStartInitializeDropTargetsEvent.java | 21 import com.android.systemui.recents.views.RecentsViewTouchHandler; 22 import com.android.systemui.recents.views.TaskView;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/ |
D | TaskViewDismissedEvent.java | 21 import com.android.systemui.recents.views.AnimationProps; 22 import com.android.systemui.recents.views.TaskView;
|