/frameworks/base/core/java/android/view/ |
GhostView.java | 41 final ViewGroup parent = (ViewGroup) mView.getParent(); 84 final ViewGroup parent = (ViewGroup) mView.getParent(); 92 public static void calculateMatrix(View view, ViewGroup host, Matrix matrix) { 93 ViewGroup parent = (ViewGroup) view.getParent(); 100 public static GhostView addGhost(View view, ViewGroup viewGroup, Matrix matrix) { 101 if (!(view.getParent() instanceof ViewGroup)) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PseudoGridView.java | 26 import android.view.ViewGroup; 36 public class PseudoGridView extends ViewGroup { 138 * Bridges between a ViewGroup and a BaseAdapter. 140 * Usage: {@code ViewGroupAdapterBridge.link(viewGroup, adapter)} 142 * After this call, the ViewGroup's children will be provided by the adapter. 146 private final WeakReference<ViewGroup> mViewGroup; 150 public static void link(ViewGroup viewGroup, BaseAdapter adapter) { 151 new ViewGroupAdapterBridge(viewGroup, adapter); 154 private ViewGroupAdapterBridge(ViewGroup viewGroup, BaseAdapter adapter) [all...] |
/frameworks/support/v4/eclair-mr1/android/support/v4/view/ |
ViewCompatEclairMr1.java | 25 import android.view.ViewGroup; 36 public static void setChildrenDrawingOrderEnabled(ViewGroup viewGroup, boolean enabled) { 39 sChildrenDrawingOrderMethod = ViewGroup.class 47 sChildrenDrawingOrderMethod.invoke(viewGroup, enabled);
|
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
CustomAdapter.java | 24 import android.view.ViewGroup; 72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { 74 View v = LayoutInflater.from(viewGroup.getContext()) 75 .inflate(R.layout.text_row_item, viewGroup, false);
|
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
CustomAdapter.java | 24 import android.view.ViewGroup; 72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { 74 View v = LayoutInflater.from(viewGroup.getContext()) 75 .inflate(R.layout.text_row_item, viewGroup, false);
|
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/ |
CustomAdapter.java | 24 import android.view.ViewGroup; 72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { 74 View v = LayoutInflater.from(viewGroup.getContext()) 75 .inflate(R.layout.text_row_item, viewGroup, false);
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContentViewClient.java | 26 final FrameLayout viewGroup = new FrameLayout(mContext); 27 viewGroup.addView(view); 28 viewGroup.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { 56 viewGroup.addView(fullscreenView); 66 mAwContentsClient.onShowCustomView(viewGroup, cb);
|
/developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/ |
UsageListAdapter.java | 22 import android.view.ViewGroup; 72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { 73 View v = LayoutInflater.from(viewGroup.getContext()) 74 .inflate(R.layout.usage_row, viewGroup, false);
|
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/ |
DirectoryEntryAdapter.java | 22 import android.view.ViewGroup; 74 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { 75 View v = LayoutInflater.from(viewGroup.getContext()) 76 .inflate(R.layout.directory_item, viewGroup, false);
|
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/ |
DirectoryEntryAdapter.java | 22 import android.view.ViewGroup; 74 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { 75 View v = LayoutInflater.from(viewGroup.getContext()) 76 .inflate(R.layout.directory_item, viewGroup, false);
|
/developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/ |
UsageListAdapter.java | 22 import android.view.ViewGroup; 72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { 73 View v = LayoutInflater.from(viewGroup.getContext()) 74 .inflate(R.layout.usage_row, viewGroup, false);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowListActivity.java | 5 import android.view.ViewGroup; 70 } else if (parent instanceof ViewGroup) { 71 ViewGroup viewGroup = (ViewGroup) parent; 72 for (int i = 0; i < viewGroup.getChildCount(); i++) { 73 ListView listView = findListView(viewGroup.getChildAt(i));
|
/packages/apps/Mms/src/com/android/mms/ui/ |
DeliveryReportAdapter.java | 24 import android.view.ViewGroup; 41 public View getView(int position, View view, ViewGroup viewGroup) { 48 R.layout.delivery_report_list_item, viewGroup, false);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoFragment.java | 27 import android.view.ViewGroup; 102 public View onCreateView(LayoutInflater inflater, ViewGroup viewGroup, Bundle bundle) { 103 super.onCreateView(inflater, viewGroup, bundle); 107 * in viewGroup, but is not attached to any parent 109 View localView = inflater.inflate(R.layout.photo, viewGroup, false);
|
PhotoThumbnailFragment.java | 35 import android.view.ViewGroup; 36 import android.view.ViewGroup.LayoutParams; 124 public View onCreateView(LayoutInflater inflater, ViewGroup viewGroup, Bundle bundle) { 127 super.onCreateView(inflater, viewGroup, bundle); 131 * "viewGroup" 133 View localView = inflater.inflate(R.layout.gridlist, viewGroup, false); 403 * @param viewGroup The viewGroup that's the parent of the new View 407 public View newView(Context context, Cursor cursor, ViewGroup viewGroup) [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
StateListAnimatorTest.java | 24 import android.view.ViewGroup; 64 ViewGroup viewGroup = (ViewGroup) getActivity().findViewById(android.R.id.content); 66 viewGroup.addView(view); 78 viewGroup.removeView(view);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorPadViewPager.java | 24 import android.view.ViewGroup; 35 public Object instantiateItem(ViewGroup container, int position) { 40 public void destroyItem(ViewGroup container, int position, Object object) { 57 if (view instanceof ViewGroup) { 58 final ViewGroup viewGroup = (ViewGroup) view; 59 for (int childIndex = 0; childIndex < viewGroup.getChildCount(); ++childIndex) { 60 recursivelySetEnabled(viewGroup.getChildAt(childIndex), enabled);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
ResourceLoaderTest.java | 4 import android.view.ViewGroup; 48 ViewGroup vg = new FrameLayout(Robolectric.application); 70 ViewGroup viewGroup = new FrameLayout(Robolectric.application); 71 ViewGroup view = (ViewGroup) resourceLoader.inflateView(Robolectric.application, R.layout.different_screen_sizes, viewGroup); 88 ViewGroup viewGroup = new FrameLayout(Robolectric.application); 89 ViewGroup view = (ViewGroup) resourceLoader.inflateView(Robolectric.application, R.layout.different_screen_s (…) [all...] |
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/ |
IntegrationTestUtils.java | 28 import android.view.ViewGroup; 165 * This method will recurse down through all {@link ViewGroup} instances looking for 179 if (parent instanceof ViewGroup) { 180 ViewGroup viewGroup = (ViewGroup) parent; 181 for (int i = 0; i < viewGroup.getChildCount(); ++i) { 182 results.addAll(getAllViews(clazz, viewGroup.getChildAt(i)));
|
/developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/ |
MainActivity.java | 28 import android.view.ViewGroup; 111 public View getView(int position, View view, ViewGroup viewGroup) { 113 view = getLayoutInflater().inflate(R.layout.grid_item, viewGroup, false);
|
/developers/samples/android/ui/activityscenetransition/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/activityscenetransitionbasic/ |
MainActivity.java | 28 import android.view.ViewGroup; 111 public View getView(int position, View view, ViewGroup viewGroup) { 113 view = getLayoutInflater().inflate(R.layout.grid_item, viewGroup, false);
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
MainActivity.java | 28 import android.view.ViewGroup; 111 public View getView(int position, View view, ViewGroup viewGroup) { 113 view = getLayoutInflater().inflate(R.layout.grid_item, viewGroup, false);
|
/frameworks/support/v4/api21/android/support/v4/app/ |
FragmentTransitionCompat21.java | 28 import android.view.ViewGroup; 69 public static void beginDelayedTransition(ViewGroup sceneRoot, Object transitionObject) { 236 if (view instanceof ViewGroup) { 237 ViewGroup viewGroup = (ViewGroup) view; 238 if (viewGroup.isTransitionGroup()) { 239 transitioningViews.add(viewGroup); 241 int count = viewGroup.getChildCount(); 243 View child = viewGroup.getChildAt(i) [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupBrowseListFragment.java | 38 import android.view.ViewGroup; 100 public View onCreateView(LayoutInflater inflater, ViewGroup container, 127 viewGroup(groupListItem.getUri()); 230 viewGroup(mSelectedGroupUri); 251 private void viewGroup(Uri groupUri) { 257 viewGroup(groupUri);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
ShortcutCardsAdapter.java | 28 import android.view.ViewGroup; 186 public View getView(int position, View convertView, ViewGroup parent) { 273 final ViewGroup callLogItem = (ViewGroup) view.findViewById(R.id.call_log_list_item); 381 final ViewGroup viewGroup = (ViewGroup) viewToClip; 383 viewGroup, Math.max(0, 1 - (CLIP_CARD_OPACITY_RATIO * ratioHidden))); 386 private void setChildrenOpacity(ViewGroup viewGroup, float alpha) [all...] |