/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
BackgroundPickers.java | 23 import android.view.ViewGroup; 39 private final ViewGroup mContainer; 41 private final List<ViewGroup> mPickers; 44 public BackgroundPickers(ViewGroup container, OnBackgroundPickersChangedListener listener) { 47 this.mPickers = new ArrayList<ViewGroup>(); 65 ViewGroup pickerBox = (ViewGroup) picker.findViewById(R.id.bg_picker_container); 123 ViewGroup pickerBox = (ViewGroup) view.getParent();
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
BackgroundPickers.java | 23 import android.view.ViewGroup; 39 private final ViewGroup mContainer; 41 private final List<ViewGroup> mPickers; 44 public BackgroundPickers(ViewGroup container, OnBackgroundPickersChangedListener listener) { 47 this.mPickers = new ArrayList<ViewGroup>(); 65 ViewGroup pickerBox = (ViewGroup) picker.findViewById(R.id.bg_picker_container); 123 ViewGroup pickerBox = (ViewGroup) view.getParent();
|
/frameworks/base/core/java/android/widget/ |
AbsoluteLayout.java | 23 import android.view.ViewGroup; 33 * android.R.styleable#ViewGroup ViewGroup Attributes}, {@link 41 public class AbsoluteLayout extends ViewGroup { 100 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}, 101 * a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} 105 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { 132 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { 138 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 143 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ToolbarFragmentPagerMenu.java | 36 import android.view.ViewGroup; 105 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, 111 textView.setLayoutParams(new ViewGroup.LayoutParams( 112 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); 147 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, 153 textView.setLayoutParams(new ViewGroup.LayoutParams( 154 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
LayoutDirectionTest.java | 21 import android.view.ViewGroup; 36 private void checkDefaultDirectionForOneLayoutWithCode(ViewGroup vg) { 49 private void checkDirectionForOneLayoutWithCode(ViewGroup vg) { 74 private void checkDirectionInheritanceForOneLayoutWithCode(ViewGroup parent) { 106 ViewGroup ll = (ViewGroup) getActivity().findViewById(parentId); 109 ViewGroup child1 = (ViewGroup) getActivity().findViewById(child1Id); 112 ViewGroup child2 = (ViewGroup) getActivity().findViewById(child2Id) [all...] |
DummyAdapter.java | 20 import android.view.ViewGroup; 59 public View getView(int position, View convertView, ViewGroup parent) {
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
ListItemFactory.java | 22 import android.view.ViewGroup; 53 ViewGroup.LayoutParams.MATCH_PARENT, 64 ViewGroup.LayoutParams.MATCH_PARENT, 158 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( 159 ViewGroup.LayoutParams.MATCH_PARENT, 160 ViewGroup.LayoutParams.WRAP_CONTENT); 198 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( 199 ViewGroup.LayoutParams.MATCH_PARENT, 200 ViewGroup.LayoutParams.WRAP_CONTENT); 241 ViewGroup.LayoutParams.MATCH_PARENT [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
AudioFxDemo.java | 37 import android.view.ViewGroup; 114 freqTextView.setLayoutParams(new ViewGroup.LayoutParams( 115 ViewGroup.LayoutParams.FILL_PARENT, 116 ViewGroup.LayoutParams.WRAP_CONTENT)); 125 minDbTextView.setLayoutParams(new ViewGroup.LayoutParams( 126 ViewGroup.LayoutParams.WRAP_CONTENT, 127 ViewGroup.LayoutParams.WRAP_CONTENT)); 131 maxDbTextView.setLayoutParams(new ViewGroup.LayoutParams( 132 ViewGroup.LayoutParams.WRAP_CONTENT, 133 ViewGroup.LayoutParams.WRAP_CONTENT)) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListItemFactory.java | 22 import android.view.ViewGroup; 53 ViewGroup.LayoutParams.MATCH_PARENT, 64 ViewGroup.LayoutParams.MATCH_PARENT, 159 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( 160 ViewGroup.LayoutParams.MATCH_PARENT, 161 ViewGroup.LayoutParams.WRAP_CONTENT); 199 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( 200 ViewGroup.LayoutParams.MATCH_PARENT, 201 ViewGroup.LayoutParams.WRAP_CONTENT); 242 ViewGroup.LayoutParams.MATCH_PARENT [all...] |
/frameworks/support/fragment/java/android/support/v4/app/ |
ListFragment.java | 25 import android.view.ViewGroup; 91 public View onCreateView(LayoutInflater inflater, ViewGroup container, 108 ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); 111 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); 122 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); 128 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)) [all...] |
FragmentPagerAdapter.java | 23 import android.view.ViewGroup; 79 public void startUpdate(ViewGroup container) { 87 public Object instantiateItem(ViewGroup container, int position) { 115 public void destroyItem(ViewGroup container, int position, Object object) { 125 public void setPrimaryItem(ViewGroup container, int position, Object object) { 141 public void finishUpdate(ViewGroup container) {
|
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/basictransition/ |
BasicTransitionFragment.java | 26 import android.view.ViewGroup; 40 /** Transitions take place in this ViewGroup. We retain this for the dynamic transition on scene 4. */ 41 private ViewGroup mSceneRoot; 51 public View onCreateView(LayoutInflater inflater, ViewGroup container, 57 mSceneRoot = (ViewGroup) view.findViewById(R.id.scene_root); 61 mScene1 = new Scene(mSceneRoot, (ViewGroup) mSceneRoot.findViewById(R.id.container)); 110 ViewGroup.LayoutParams params = square.getLayoutParams();
|
/developers/samples/android/ui/transition/BasicTransition/Application/src/main/java/com/example/android/basictransition/ |
BasicTransitionFragment.java | 26 import android.view.ViewGroup; 40 /** Transitions take place in this ViewGroup. We retain this for the dynamic transition on scene 4. */ 41 private ViewGroup mSceneRoot; 51 public View onCreateView(LayoutInflater inflater, ViewGroup container, 57 mSceneRoot = (ViewGroup) view.findViewById(R.id.scene_root); 61 mScene1 = new Scene(mSceneRoot, (ViewGroup) mSceneRoot.findViewById(R.id.container)); 110 ViewGroup.LayoutParams params = square.getLayoutParams();
|
/development/samples/browseable/BasicTransition/src/com.example.android.basictransition/ |
BasicTransitionFragment.java | 26 import android.view.ViewGroup; 40 /** Transitions take place in this ViewGroup. We retain this for the dynamic transition on scene 4. */ 41 private ViewGroup mSceneRoot; 51 public View onCreateView(LayoutInflater inflater, ViewGroup container, 57 mSceneRoot = (ViewGroup) view.findViewById(R.id.scene_root); 61 mScene1 = new Scene(mSceneRoot, (ViewGroup) mSceneRoot.findViewById(R.id.container)); 110 ViewGroup.LayoutParams params = square.getLayoutParams();
|
/frameworks/support/transition/kitkat/android/support/transition/ |
VisibilityKitKat.java | 20 import android.view.ViewGroup; 40 public Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, 48 public Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, 74 public Animator createAnimator(ViewGroup sceneRoot, 92 public Animator onAppear(ViewGroup sceneRoot, 100 public Animator onDisappear(ViewGroup sceneRoot,
|
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentPagerAdapter.java | 27 import android.view.ViewGroup; 83 public void startUpdate(ViewGroup container) { 91 public Object instantiateItem(ViewGroup container, int position) { 119 public void destroyItem(ViewGroup container, int position, Object object) { 129 public void setPrimaryItem(ViewGroup container, int position, Object object) { 145 public void finishUpdate(ViewGroup container) {
|
/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);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ViewLayoutUtils.java | 20 import android.view.ViewGroup; 21 import android.view.ViewGroup.MarginLayoutParams; 33 public static MarginLayoutParams newLayoutParam(final ViewGroup placer, final int width, 49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); 67 final ViewGroup.LayoutParams params = view.getLayoutParams(); 75 final ViewGroup.LayoutParams lp = view.getLayoutParams();
|
/frameworks/base/core/java/android/transition/ |
Slide.java | 26 import android.view.ViewGroup; 40 * limited as described in {@link Visibility#onDisappear(android.view.ViewGroup, 60 float getGoneX(ViewGroup sceneRoot, View view, float fraction); 63 float getGoneY(ViewGroup sceneRoot, View view, float fraction); 69 public float getGoneY(ViewGroup sceneRoot, View view, float fraction) { 77 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { 84 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { 91 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { 105 public float getGoneY(ViewGroup sceneRoot, View view, float fraction) { 112 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) [all...] |
/cts/tests/camera/src/android/hardware/cts/ |
CameraCtsActivity.java | 23 import android.view.ViewGroup; 37 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
|
/cts/tests/fragment/src/android/fragment/cts/ |
StrictViewFragment.java | 23 import android.view.ViewGroup; 29 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
/developers/build/prebuilts/gradle/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/ |
AssetFragment.java | 25 import android.view.ViewGroup; 39 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/ |
SettingsFragment.java | 26 import android.view.ViewGroup; 35 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
RuntimePermissionsFragment.java | 25 import android.view.ViewGroup; 31 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
RuntimePermissionsFragment.java | 25 import android.view.ViewGroup; 31 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|