Searched refs:layout (Results 151 - 175 of 225) sorted by relevance

123456789

/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java48 // Set the layout for this activity. You can find it
49 // in res/layout/hello_activity.xml
50 setContentView(R.layout.battery_waster);
/frameworks/base/core/java/android/accounts/
H A DGrantCredentialsPermissionActivity.java50 getWindow().setContentView(R.layout.grant_credentials_permission);
133 private static final int mResource = R.layout.simple_list_item_1;
/frameworks/base/core/java/android/app/
H A DProgressDialog.java136 View view = inflater.inflate(R.layout.alert_dialog_progress, null);
145 View view = inflater.inflate(R.layout.progress_dialog, null);
H A DDatePickerDialog.java121 View view = inflater.inflate(R.layout.date_picker_dialog, null);
H A DTimePickerDialog.java108 View view = inflater.inflate(R.layout.time_picker_dialog, null);
H A DLauncherActivity.java150 com.android.internal.R.layout.activity_list_item_2, parent, false);
355 * customize the list layout.
358 setContentView(com.android.internal.R.layout.activity_list);
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java48 * Inside an XML layout, SlidingDrawer must define the id of the handle and of the
331 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
337 content.layout(mTopOffset + childWidth, 0,
342 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
631 // Something changed in the content, we need to honor the layout request
640 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
647 content.layout(childWidth + mTopOffset, 0,
H A DAbsoluteLayout.java28 * A layout that lets you specify exact locations (x/y coordinates) of its
37 * or a custom layout instead.
96 * Returns a set of layout parameters with a width of
120 child.layout(childLeft, childTop,
145 * Per-child layout information associated with AbsoluteLayout.
161 * Creates a new set of layout parameters with the specified width,
178 * Creates a new set of layout parameters. The values are extracted from
180 * to this set of layout parameters are:
190 * @param attrs the set of attributes fom which to extract the layout
H A DTabHost.java505 View tabIndicator = inflater.inflate(R.layout.tab_indicator,
539 View tabIndicator = inflater.inflate(R.layout.tab_indicator,
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java33 * This class is used to instantiate layout XML file into its corresponding View
107 * layout files.
268 * @param resource ID for an XML layout resource to load (e.g.,
269 * <code>R.layout.main_page</code>)
303 * @param resource ID for an XML layout resource to load (e.g.,
304 * <code>R.layout.main_page</code>)
394 // Create layout params that match root, if supplied
397 // Set the layout params for temp if we are not
646 final int layout = attrs.getAttributeResourceValue(null, "layout",
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java102 private int mLayoutResId = com.android.internal.R.layout.preference;
194 // This preference has a custom layout defined (not one taken from
321 * Sets the layout resource that is inflated as the {@link View} to be shown
322 * for this Preference. In most cases, the default layout is sufficient for
323 * custom Preference objects and only the widget layout needs to be changed.
325 * This layout should contain a {@link ViewGroup} with ID
330 * @param layoutResId The layout resource ID to be inflated and returned as
344 * Gets the layout resource that will be shown as the {@link View} for this Preference.
346 * @return The layout resource ID.
353 * Sets The layout fo
[all...]
H A DPreferenceActivity.java106 setContentView(com.android.internal.R.layout.preference_list_content);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaFrameworkTest.java70 setContentView(R.layout.surface_view);
/frameworks/base/services/java/com/android/server/status/
H A DStatusBarView.java80 mDate.layout(mDate.getLeft(), mDate.getTop(), newDateRight, mDate.getBottom());
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFileList.java174 android.R.layout.simple_list_item_1,
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
H A DLowStorageTest.java48 setContentView(R.layout.main);
/frameworks/policies/base/mid/com/android/internal/policy/impl/
H A DPowerDialog.java71 setContentView(com.android.internal.R.layout.power_dialog);
H A DGlobalActions.java309 inflater.inflate(R.layout.global_actions_item, null));
362 .layout.global_actions_item, null));
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DPowerDialog.java70 setContentView(com.android.internal.R.layout.power_dialog);
H A DSimUnlockScreen.java71 LayoutInflater.from(context).inflate(R.layout.keyguard_screen_sim_pin_landscape, this, true);
73 LayoutInflater.from(context).inflate(R.layout.keyguard_screen_sim_pin_portrait, this, true);
H A DGlobalActions.java375 inflater.inflate(R.layout.global_actions_item, parent, false);
445 .layout.global_actions_item, parent, false);
H A DUnlockScreen.java174 LayoutInflater.from(context).inflate(R.layout.keyguard_screen_unlock_portrait, this, true);
176 LayoutInflater.from(context).inflate(R.layout.keyguard_screen_unlock_landscape, this, true);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java80 com.android.internal.R.layout.icon_menu_layout,
81 com.android.internal.R.layout.expanded_menu_layout,
87 com.android.internal.R.layout.icon_menu_item_layout,
88 com.android.internal.R.layout.list_menu_item_layout,
89 com.android.internal.R.layout.list_menu_item_layout,
166 /** The layout inflater that uses the menu type's theme */
316 // the same parent so the layout parameters from the XML are used). This
334 * layout file.
347 * layout (for example, if the screen size has changed).
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java26 * DynamicLayout is a text layout that updates itself as the text is edited.
27 * <p>This is used by widgets to control text layout. You should not need
39 * Make a layout for the specified text that will be updated as
52 * Make a layout for the transformed text (password transformation
66 * Make a layout for the transformed text (password transformation
103 * This is annoying, but we can't refer to the layout until
238 // find affected region of old layout
249 // generate new layout for affected text
268 // If the new layout has a blank line at the end, but it is not
276 // remove affected lines from old layout
406 ChangeWatcher(DynamicLayout layout) argument
[all...]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java409 n.contentView = new RemoteViews(getPackageName(), R.layout.chrono_notification);
426 R.layout.chrono_notification);

Completed in 421 milliseconds

123456789