HomeSort by relevance Sort by last modified time
    Searched refs:ViewGroup (Results 451 - 475 of 2536) sorted by null

<<11121314151617181920>>

  /packages/apps/Settings/src/com/android/settings/notification/
EmptyTextSettings.java 24 import android.view.ViewGroup;
25 import android.view.ViewGroup.LayoutParams;
42 ((ViewGroup) view.findViewById(android.R.id.list_container)).addView(mEmpty,
  /packages/apps/TV/src/com/android/tv/dvr/ui/
EmptyItemPresenter.java 23 import android.view.ViewGroup;
43 public ViewHolder onCreateViewHolder(ViewGroup parent) {
46 view.setLayoutParams(new ViewGroup.LayoutParams(
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
WpsScanningFragment.java 23 import android.view.ViewGroup;
24 import android.view.ViewGroup.LayoutParams;
43 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
  /frameworks/support/percent/src/android/support/percent/
PercentLayoutHelper.java 27 import android.view.ViewGroup;
37 * attributes and applying them to ViewGroup's children. If you would like to implement a layout
41 * <li> You need a {@link ViewGroup.LayoutParams} subclass in your ViewGroup that implements
49 * {@link ViewGroup.LayoutParams#setBaseAttributes(TypedArray, int, int)}
52 * <li> In your ViewGroup override {@link ViewGroup#generateLayoutParams(AttributeSet)} to return
54 * <li> In your {@link ViewGroup#onMeasure(int, int)} override, you need to implement following
65 * <li>In your {@link ViewGroup#onLayout(boolean, int, int, int, int)} override, you need to
81 private final ViewGroup mHost
    [all...]
  /frameworks/support/transition/ics/android/support/transition/
TransitionManagerPort.java 23 import android.view.ViewGroup;
38 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<TransitionPort>>>>
41 private static ArrayList<ViewGroup> sPendingTransitions = new ArrayList<>();
88 final ViewGroup sceneRoot = scene.getSceneRoot();
108 private static ArrayMap<ViewGroup, ArrayList<TransitionPort>> getRunningTransitions() {
109 WeakReference<ArrayMap<ViewGroup, ArrayList<TransitionPort>>> runningTransitions =
112 ArrayMap<ViewGroup, ArrayList<TransitionPort>> transitions = new ArrayMap<>();
119 private static void sceneChangeRunTransition(final ViewGroup sceneRoot,
128 private static void sceneChangeSetup(ViewGroup sceneRoot, TransitionPort transition) {
158 public static void beginDelayedTransition(final ViewGroup sceneRoot)
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewStub.java 5 import android.view.ViewGroup;
69 if (viewParent != null && viewParent instanceof ViewGroup) {
71 ViewGroup parent = (ViewGroup) viewParent;
83 ViewGroup.LayoutParams layoutParams = getLayoutParams();
101 throw new IllegalStateException("ViewStub must have a non-null ViewGroup viewParent");
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ListOfInternalSelectionViews.java 23 import android.view.ViewGroup;
125 mListView.setLayoutParams(new ViewGroup.LayoutParams(
126 ViewGroup.LayoutParams.MATCH_PARENT,
127 ViewGroup.LayoutParams.MATCH_PARENT));
164 public View getView(int position, View convertView, ViewGroup parent) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeight.java 22 import android.view.ViewGroup;
62 ViewGroup.MarginLayoutParams lp;
63 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams();
78 ViewGroup.MarginLayoutParams lp;
79 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams();
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
TemplateLayout.java 26 import android.view.ViewGroup;
44 private ViewGroup mContainer;
79 public void addView(View child, int index, ViewGroup.LayoutParams params) {
116 protected ViewGroup findContainer(int containerId) {
121 return (ViewGroup) findViewById(containerId);
136 * ViewGroup, which all children views of this layout will be placed in.
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorPadLayout.java 23 import android.view.ViewGroup;
29 public class CalculatorPadLayout extends ViewGroup {
112 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
117 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorGridDialog.java 24 import android.view.ViewGroup;
41 ArrayList<Button> b = getButtons((ViewGroup) getWindow().getDecorView());
73 private ArrayList<Button> getButtons(ViewGroup vg) {
79 } else if (v instanceof ViewGroup) {
80 list.addAll(getButtons((ViewGroup) v));
  /packages/apps/Launcher3/src/com/android/launcher3/
InsettableFrameLayout.java 8 import android.view.ViewGroup;
12 ViewGroup.OnHierarchyChangeListener, Insettable {
57 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
62 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
82 public LayoutParams(ViewGroup.LayoutParams lp) {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/
TvSettingsActivity.java 28 import android.view.ViewGroup;
41 final ViewGroup root = (ViewGroup) findViewById(android.R.id.content);
78 final ViewGroup root = (ViewGroup) findViewById(android.R.id.content);
  /packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsMemDetail.java 23 import android.view.ViewGroup;
58 private ViewGroup mMemStateParent;
59 private ViewGroup mMemUseParent;
79 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
99 mMemStateParent = (ViewGroup)mRootView.findViewById(R.id.mem_state);
100 mMemUseParent = (ViewGroup)mRootView.findViewById(R.id.mem_use);
106 private void addDetailsItem(ViewGroup parent, CharSequence title,
109 ViewGroup item = (ViewGroup) inflater.inflate(R.layout.app_item, null);
111 (ViewGroup) item.findViewById(android.R.id.widget_frame))
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
AbsoluteLayoutTest.java 31 import android.view.ViewGroup;
88 ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(1, 2);
121 fail("did not throw NullPointerException when ViewGroup.LayoutParams is null.");
142 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
147 protected ViewGroup.LayoutParams generateDefaultLayoutParams() {
152 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
FrameLayout_LayoutParamsTest.java 30 import android.view.ViewGroup;
31 import android.view.ViewGroup.MarginLayoutParams;
51 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs));
66 new LayoutParams((ViewGroup.LayoutParams) null);
67 fail("did not throw NullPointerException when ViewGroup.LayoutParams is null.");
73 new LayoutParams((ViewGroup.MarginLayoutParams) null);
74 fail("did not throw NullPointerException when ViewGroup.MarginLayoutParams is null.");
115 final ViewGroup.LayoutParams vglp = new ViewGroup.LayoutParams(
RemoteViewsActivityTest.java 26 import android.view.ViewGroup;
55 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host);
81 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host);
110 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host);
  /external/glide/library/src/main/java/com/bumptech/glide/request/target/
ViewTarget.java 7 import android.view.ViewGroup;
23 * To detect {@link View} reuse in {@link android.widget.ListView} or any {@link ViewGroup} that reuses views, this
61 * {@link android.view.ViewGroup.LayoutParams}. If one or both of the params width and height are less than or
135 ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
160 ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
195 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
196 return layoutParams != null && (layoutParams.width == ViewGroup.LayoutParams.WRAP_CONTENT
197 || layoutParams.height == ViewGroup.LayoutParams.WRAP_CONTENT);
201 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
  /frameworks/base/core/tests/coretests/src/android/util/
ScrollViewScenario.java 25 import android.view.ViewGroup;
181 ViewGroup.LayoutParams.MATCH_PARENT, 0, 1f);
253 int height = ViewGroup.LayoutParams.WRAP_CONTENT;
258 ViewGroup.LayoutParams.MATCH_PARENT, height);
264 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams(
265 ViewGroup.LayoutParams.MATCH_PARENT,
266 ViewGroup.LayoutParams.MATCH_PARENT));
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewLayerInvalidationActivity.java 23 import android.view.ViewGroup;
126 private void randomInvalidator(ViewGroup parent) {
132 if (child instanceof ViewGroup) {
133 randomInvalidator((ViewGroup) child);
154 if (!(view instanceof ViewGroup)) {
157 ViewGroup parent = (ViewGroup) view;
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BrandedFragment.java 26 import android.view.ViewGroup;
48 * Called by {@link #installTitleView(LayoutInflater, ViewGroup, Bundle)} to inflate
62 public View onInflateTitleView(LayoutInflater inflater, ViewGroup parent,
73 * {@link Fragment#onCreateView(LayoutInflater, ViewGroup, Bundle)}.
80 public void installTitleView(LayoutInflater inflater, ViewGroup parent,
110 if (getView() instanceof ViewGroup) {
111 mTitleHelper = new TitleHelper((ViewGroup) getView(), mTitleView);
151 if (mTitleView != null && view instanceof ViewGroup) {
152 mTitleHelper = new TitleHelper((ViewGroup) view, mTitleView);
  /packages/apps/Camera2/src/com/android/camera/app/
FirstRunDialog.java 22 import android.view.ViewGroup;
190 mAspectRatioPreferenceDialog.setContentView(dialogLayout, new ViewGroup.LayoutParams(
191 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
238 mLocationPreferenceDialog.setContentView(dialogLayout, new ViewGroup.LayoutParams(
239 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
  /packages/apps/TV/common/src/com/android/tv/common/ui/setup/
SetupGuidedStepFragment.java 26 import android.view.ViewGroup;
27 import android.view.ViewGroup.MarginLayoutParams;
44 public View onCreateView(LayoutInflater inflater, ViewGroup container,
82 ((ViewGroup) view.findViewById(R.id.guidedactions_list)).setTransitionGroup(false);
85 ViewGroup group = (ViewGroup) view.findViewById(R.id.content_frame);
97 public View onCreateView(LayoutInflater inflater, ViewGroup container,
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
WaitFragment.java 30 import android.view.ViewGroup;
76 LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
78 ViewGroup wrapper = (ViewGroup) mInflater
84 private View getContent(ViewGroup root) {
106 ViewGroup parent = (ViewGroup) getView();
  /frameworks/support/core-ui/tests/java/android/support/v4/testutils/
TestUtilsMatchers.java 29 import android.view.ViewGroup;
116 if (!(parent instanceof ViewGroup)) {
119 final ViewGroup parentGroup = (ViewGroup) parent;
162 if (!(parent instanceof ViewGroup)) {
165 final ViewGroup parentGroup = (ViewGroup) parent;
207 if (!(parent instanceof ViewGroup)) {
210 final ViewGroup parentGroup = (ViewGroup) parent
    [all...]

Completed in 1857 milliseconds

<<11121314151617181920>>