/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowViewAnimator.java | 4 import android.view.ViewGroup; 22 for (int i = ((ViewGroup) realView).getChildCount() - 1; i >= 0; i--) { in setDisplayedChild() 23 View child = ((ViewGroup) realView).getChildAt(i); in setDisplayedChild() 30 return ((ViewGroup) realView).getChildAt(getDisplayedChild()); in getCurrentView() 35 setDisplayedChild((getDisplayedChild() + 1) % ((ViewGroup) realView).getChildCount()); in showNext() 40 …setDisplayedChild(getDisplayedChild() == 0 ? ((ViewGroup) realView).getChildCount() - 1 : getDispl… in showPrevious()
|
D | ShadowViewGroup.java | 8 import android.view.ViewGroup; 17 @Implements(ViewGroup.class) 19 @RealObject protected ViewGroup realViewGroup; 25 protected void addView(final View child, final int index, final ViewGroup.LayoutParams params) { in addView() 28 directlyOn(realViewGroup, ViewGroup.class, "addView", in addView() 31 ClassParameter.from(ViewGroup.LayoutParams.class, params))); in addView()
|
D | ShadowDialog.java | 12 import android.view.ViewGroup; 132 if (view instanceof ViewGroup) { in clickOnText() 133 ViewGroup viewGroup = (ViewGroup) view; in clickOnText()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowViewGroupTest.java | 15 import android.view.ViewGroup; 35 private ViewGroup root; 38 private ViewGroup child3; 139 assertThat((ViewGroup) root.findViewWithTag("tag3")).isSameInstanceAs(child3); in shouldFindViewWithTag() 152 assertThat((ViewGroup) root.findViewWithTag("tag23")).isNull(); in shouldNotFindViewWithTagReturnNull() 171 assertThat((ViewGroup) root.findViewWithTag("tag3")).isSameInstanceAs(child3); in shouldfindViewWithTagFromCorrectViewGroup() 246 …tParams layoutParams1 = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGrou… in addViewWithLayoutParams_shouldStoreLayoutParams() 247 …tParams layoutParams2 = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGrou… in addViewWithLayoutParams_shouldStoreLayoutParams() 280 assertThat(child1.getLayoutParams()).isInstanceOf(ViewGroup.LayoutParams.class); in layoutParams_shouldBeViewGroupLayoutParams() 304 ViewGroup newRoot = new FrameLayout(context); in addView_whenChildAlreadyHasAParent_shouldThrow() [all …]
|
D | ShadowLayoutInflaterTest.java | 23 import android.view.ViewGroup; 58 ViewGroup view = inflate(R.layout.media); in testCreatesCorrectClasses() 66 ViewGroup view = inflate(R.layout.different_screen_sizes); in testChoosesLayoutBasedOnDefaultScreenSize() 74 ViewGroup view = inflate(R.layout.different_screen_sizes); in testChoosesLayoutBasedOnScreenSize() 82 ViewGroup view = inflate(R.layout.different_screen_sizes); in testChoosesLayoutBasedOnQualifiers() 89 ViewGroup view = inflate(R.layout.webview_holder); in testWebView() 99 ViewGroup view = inflate(R.layout.media); in testAddsChildren() 107 ViewGroup mediaView = inflate(R.layout.media); in testFindsChildrenById() 110 ViewGroup mainView = inflate(R.layout.main); in testFindsChildrenById() 116 ViewGroup view = inflate(R.layout.activity_list_item); in testInflatingConflictingSystemAndLocalViewsWorks() [all …]
|
D | ShadowLayoutParamsTest.java | 5 import android.view.ViewGroup; 23 ViewGroup.LayoutParams sourceLayoutParams = new ViewGroup.LayoutParams(123, 456); in constructor_canTakeSourceLayoutParams() 24 ViewGroup.LayoutParams layoutParams1 = new ViewGroup.LayoutParams(sourceLayoutParams); in constructor_canTakeSourceLayoutParams()
|
D | ShadowRelativeLayoutTest.java | 7 import android.view.ViewGroup; 24 …t.addView(imageView, new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGrou… in getRules_shouldShowAddRuleData_sinceApiLevel17() 37 …t.addView(imageView, new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGrou… in getRules_shouldShowAddRuleData_uptoApiLevel16()
|
D | ShadowMarginLayoutParamsTest.java | 5 import android.view.ViewGroup; 15 ViewGroup.MarginLayoutParams marginLayoutParams = new ViewGroup.MarginLayoutParams(0, 0); in testSetMargins()
|
D | ShadowAbsoluteLayoutTest.java | 5 import android.view.ViewGroup; 17 ViewGroup.LayoutParams layoutParams = in getLayoutParams_shouldReturnAbsoluteLayoutParams() 20 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { in getLayoutParams_shouldReturnAbsoluteLayoutParams()
|
D | ShadowWindowManagerImplTest.java | 10 import android.view.ViewGroup; 37 /*w=*/ ViewGroup.LayoutParams.MATCH_PARENT, in setUp() 38 /*h=*/ ViewGroup.LayoutParams.MATCH_PARENT, in setUp()
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | HeaderAreaStyler.java | 27 import android.view.ViewGroup; 28 import android.view.ViewGroup.LayoutParams; 153 public static void applyPartnerCustomizationHeaderAreaStyle(ViewGroup headerArea) { in applyPartnerCustomizationHeaderAreaStyle() 167 final ViewGroup.LayoutParams lp = headerArea.getLayoutParams(); in applyPartnerCustomizationHeaderAreaStyle() 168 if (lp instanceof ViewGroup.MarginLayoutParams) { in applyPartnerCustomizationHeaderAreaStyle() 169 final ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in applyPartnerCustomizationHeaderAreaStyle() 201 final ViewGroup.LayoutParams lp = iconContainer.getLayoutParams(); in applyPartnerCustomizationIconStyle() 205 if (partnerConfigAvailable && lp instanceof ViewGroup.MarginLayoutParams) { in applyPartnerCustomizationIconStyle() 206 final ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in applyPartnerCustomizationIconStyle() 218 final ViewGroup.LayoutParams lpIcon = iconImage.getLayoutParams(); in applyPartnerCustomizationIconStyle()
|
D | ContentStyler.java | 25 import android.view.ViewGroup; 122 ViewGroup.LayoutParams lp = infoIcon.getLayoutParams(); in applyInfoPartnerCustomizationStyle() 138 if (partnerConfigAvailable && lp instanceof ViewGroup.MarginLayoutParams) { in applyInfoPartnerCustomizationStyle() 139 final ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in applyInfoPartnerCustomizationStyle()
|
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/ |
D | FragmentVisibilityTests.kt | 10 import android.view.ViewGroup in <lambda>() 50 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 68 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 85 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 106 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 133 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 171 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 175 … override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder { in <lambda>() 201 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() 216 …override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bun… in <lambda>() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | ViewTarget.java | 7 import android.view.ViewGroup; 135 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in checkCurrentDimens() 160 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in getSize() 195 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in isUsingWrapContent() 196 … return layoutParams != null && (layoutParams.width == ViewGroup.LayoutParams.WRAP_CONTENT in isUsingWrapContent() 197 || layoutParams.height == ViewGroup.LayoutParams.WRAP_CONTENT); in isUsingWrapContent() 201 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in isLayoutParamsSizeValid()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | LottieFontViewGroup.kt | 8 import android.view.ViewGroup 31 ViewGroup.LayoutParams.WRAP_CONTENT, in <lambda>() 32 ViewGroup.LayoutParams.WRAP_CONTENT in <lambda>() 177 ViewGroup.LayoutParams.WRAP_CONTENT, in addComposition() 178 ViewGroup.LayoutParams.WRAP_CONTENT in addComposition() 194 ViewGroup.LayoutParams.WRAP_CONTENT in createSpaceView()
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | DescriptionMixin.java | 25 import android.view.ViewGroup; 180 final ViewGroup.LayoutParams lp = titleView.getLayoutParams(); in adjustLegacyDescriptionItem() 181 if (lp instanceof ViewGroup.MarginLayoutParams) { in adjustLegacyDescriptionItem() 182 final ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in adjustLegacyDescriptionItem()
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | TemplateLayout.java | 26 import android.view.ViewGroup; 51 private ViewGroup container; 131 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() 194 protected ViewGroup findContainer(int containerId) { in findContainer() 195 return (ViewGroup) findViewById(containerId); in findContainer()
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | ButtonItem.java | 26 import android.view.ViewGroup; 120 protected Button createButton(ViewGroup parent) { in createButton() 129 if (button.getParent() instanceof ViewGroup) { in createButton() 132 ((ViewGroup) button.getParent()).removeView(button); in createButton()
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | IntrinsicSizeFrameLayout.java | 24 import android.view.ViewGroup; 93 public void setLayoutParams(ViewGroup.LayoutParams params) { in setLayoutParams() 99 params.width = ViewGroup.LayoutParams.MATCH_PARENT; in setLayoutParams() 100 params.height = ViewGroup.LayoutParams.MATCH_PARENT; in setLayoutParams()
|
/external/oboe/samples/audio-device/src/main/java/com/google/oboe/samples/audio_device/ |
D | AudioDeviceAdapter.java | 23 import android.view.ViewGroup; 38 public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) { in getView() 43 … public View getDropDownView(int position, @Nullable View convertView, @NonNull ViewGroup parent) { in getDropDownView()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/audio_device/ |
D | AudioDeviceAdapter.java | 23 import android.view.ViewGroup; 40 public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) { in getView() 45 … public View getDropDownView(int position, @Nullable View convertView, @NonNull ViewGroup parent) { in getDropDownView()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | GlifPreferenceLayout.java | 25 import android.view.ViewGroup; 85 protected ViewGroup findContainer(int containerId) { in findContainer() 94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
|
D | SetupWizardPreferenceLayout.java | 25 import android.view.ViewGroup; 84 protected ViewGroup findContainer(int containerId) { in findContainer() 93 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | CustomNumberPicker.java | 24 import android.view.ViewGroup; 47 public void addView(View child, int index, ViewGroup.LayoutParams params) { in addView() 53 public void addView(View child, ViewGroup.LayoutParams params) { in addView()
|
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/ |
D | SkottieView.java | 21 import android.view.ViewGroup; 116 mBackingView.setLayoutParams(new ViewGroup.LayoutParams( in initBackingView() 117 ViewGroup.LayoutParams.MATCH_PARENT, in initBackingView() 118 ViewGroup.LayoutParams.MATCH_PARENT)); in initBackingView()
|