Searched refs:container (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/view/
H A DGravity.java22 * larger container.
37 * container, based on the gravity direction being applied. */
45 /** Push object to the top of its container, not changing its size. */
47 /** Push object to the bottom of its container, not changing its size. */
49 /** Push object to the left of its container, not changing its size. */
51 /** Push object to the right of its container, not changing its size. */
54 /** Place object in the vertical center of its container, not changing its
58 * its container. */
61 /** Place object in the horizontal center of its container, not changing its
65 * its container
122 apply(int gravity, int w, int h, Rect container, Rect outRect) argument
148 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect) argument
[all...]
H A DWindow.java326 * Set the container for this window. If not set, the DecorWindow
328 * container to display itself appropriately.
330 * @param container The desired containing Window.
332 public void setContainer(Window container) { argument
333 mContainer = container;
334 if (container != null) {
338 container.mHasChildren = true;
343 * Return the container for this Window.
987 * Window itself or its container. That is, it is the set of
H A DViewGroup.java1185 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) { argument
1186 super.dispatchSaveInstanceState(container);
1190 children[i].dispatchSaveInstanceState(container);
1200 * @param container the container
1202 protected void dispatchFreezeSelfOnly(SparseArray<Parcelable> container) { argument
1203 super.dispatchSaveInstanceState(container);
1210 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { argument
1211 super.dispatchRestoreInstanceState(container);
1215 children[i].dispatchRestoreInstanceState(container);
1227 dispatchThawSelfOnly(SparseArray<Parcelable> container) argument
[all...]
H A DView.java2879 * containers allow the window to use resize mode since the container
3772 * This is called when a container is going to temporarily detach a child, with
3775 * {@link #onDetachedFromWindow()} when the container is done.
3790 * Called after {@link #onStartTemporaryDetach} when the container is done
6182 * Store this view hierarchy's frozen state into the given container.
6184 * @param container The SparseArray in which to save the view's state.
6190 public void saveHierarchyState(SparseArray<Parcelable> container) { argument
6191 dispatchSaveInstanceState(container);
6199 * @param container The SparseArray in which to save the view's state.
6205 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) { argument
6256 restoreHierarchyState(SparseArray<Parcelable> container) argument
6271 dispatchRestoreInstanceState(SparseArray<Parcelable> container) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java133 Bundle container = new Bundle();
134 preferenceScreen.saveHierarchyState(container);
135 outState.putBundle(PREFERENCES_TAG, container);
141 Bundle container = state.getBundle(PREFERENCES_TAG);
142 if (container != null) {
145 preferenceScreen.restoreHierarchyState(container);
H A DPreferenceGroup.java32 * A container for multiple
40 * The container for child {@link Preference}s. This is sorted based on the
303 protected void dispatchSaveInstanceState(Bundle container) { argument
304 super.dispatchSaveInstanceState(container);
309 getPreference(i).dispatchSaveInstanceState(container);
314 protected void dispatchRestoreInstanceState(Bundle container) { argument
315 super.dispatchRestoreInstanceState(container);
320 getPreference(i).dispatchRestoreInstanceState(container);
H A DEditTextPreference.java127 ViewGroup container = (ViewGroup) dialogView
129 if (container != null) {
130 container.addView(editText, ViewGroup.LayoutParams.MATCH_PARENT,
H A DPreference.java1473 * Store this Preference hierarchy's frozen state into the given container.
1475 * @param container The Bundle in which to save the instance of this Preference.
1480 public void saveHierarchyState(Bundle container) { argument
1481 dispatchSaveInstanceState(container);
1489 * @param container The Bundle in which to save the instance of this Preference.
1494 void dispatchSaveInstanceState(Bundle container) { argument
1503 container.putParcelable(mKey, state);
1526 * Restore this Preference hierarchy's previously saved state from the given container.
1528 * @param container The Bundle that holds the previously saved state.
1533 public void restoreHierarchyState(Bundle container) { argument
1547 dispatchRestoreInstanceState(Bundle container) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DWeightSumTest.java41 mContainer = activity.findViewById(R.id.container);
/frameworks/base/core/java/android/widget/
H A DZoomButtonsController.java59 * client access to the zoom controls container, allowing for additional
99 * The container that is added as a window.
109 * the touch down hits the container. It will be reset on the touch up.
127 /** Whether the container has been added to the window manager. */
256 FrameLayout container = new Container(mContext);
257 container.setLayoutParams(lp);
258 container.setMeasureAllChildren(true);
262 inflater.inflate(com.android.internal.R.layout.zoom_container, container);
264 mControls = (ZoomControls) container.findViewById(com.android.internal.R.id.zoomControls);
278 return container;
[all...]
H A DAdapterView.java758 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) { argument
759 dispatchFreezeSelfOnly(container);
766 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { argument
767 dispatchThawSelfOnly(container);
H A DDatePicker.java345 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { argument
346 dispatchThawSelfOnly(container);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java113 protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) { argument
116 container.put(generateId(), jail);
125 protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { argument
126 final Parcelable parcelable = container.get(generateId());
/frameworks/base/core/java/android/app/
H A DContextImpl.java1546 Resources container) {
1550 if (mResources != null && container != null
1551 && container.getCompatibilityInfo().applicationScale !=
1554 Log.d(TAG, "loaded context has different scaling. Using container's" +
1555 " compatiblity info:" + container.getDisplayMetrics());
1558 mPackageInfo.getResDir(), container.getCompatibilityInfo().copy());
1544 init(LoadedApk packageInfo, IBinder activityToken, ActivityThread mainThread, Resources container) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java174 public final void setContainer(Window container) { argument
175 super.setContainer(container);
2145 // the values are inherited from our container.
2211 throw new RuntimeException("Window couldn't find content container view");
/frameworks/base/services/java/com/android/server/
H A DWindowManagerService.java6107 final Rect container = mContainingFrame;
6108 container.set(pf);
6114 container.intersect(mCompatibleScreenFrame);
6120 final int pw = container.right - container.left;
6121 final int ph = container.bottom - container.top;
6142 //System.out.println("In: w=" + w + " h=" + h + " container=" +
6143 // container + " x=" + mAttrs.x + " y=" + mAttrs.y);
6145 Gravity.apply(mAttrs.gravity, w, h, container,
[all...]

Completed in 758 milliseconds