Searched refs:layout (Results 276 - 300 of 441) sorted by relevance

<<1112131415161718

/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2383 Layout layout = widget.getLayout();
2385 int line = layout.getLineForOffset(end);
2388 if (layout.getParagraphDirection(line) == layout
2390 float h = layout.getPrimaryHorizontal(end);
2391 to = layout.getOffsetForHorizontal(line - 1, h);
2393 to = layout.getLineStart(line - 1);
2405 Layout layout = widget.getLayout();
2407 int line = layout.getLineForOffset(end);
2408 if (line < layout
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java36 * child view of a ViewPager widget in your XML layout.
37 * Add it as a child of a ViewPager in your layout file and set its
404 mCurrText.layout(currLeft, currTop, currRight,
408 mPrevText.layout(prevLeft, prevTop, prevLeft + prevWidth,
413 mNextText.layout(nextLeft, nextTop, nextLeft + nextWidth,
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java108 View view = inflater.inflate(R.layout.date_picker_dialog, null);
/frameworks/base/core/java/android/preference/
H A DPreference.java124 private int mLayoutResId = com.android.internal.R.layout.preference;
385 * Sets the layout resource that is inflated as the {@link View} to be shown
386 * for this Preference. In most cases, the default layout is sufficient for
387 * custom Preference objects and only the widget layout needs to be changed.
389 * This layout should contain a {@link ViewGroup} with ID
394 * @param layoutResId The layout resource ID to be inflated and returned as
408 * Gets the layout resource that will be shown as the {@link View} for this Preference.
410 * @return The layout resource ID.
417 * Sets The layout for the controllable widget portion of this Preference. This
418 * is inflated into the main layout
[all...]
H A DPreferenceScreen.java53 * <p>Here's an example XML layout of a PreferenceScreen:</p>
168 com.android.internal.R.layout.preference_list_fragment, null);
/frameworks/base/core/java/android/webkit/
H A DZoomControlExternal.java74 * layout.
124 inflater.inflate(com.android.internal.R.layout.zoom_magnify, this, true);
/frameworks/base/core/java/android/widget/
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,
150 * Per-child layout information associated with AbsoluteLayout.
166 * Creates a new set of layout parameters with the specified width,
183 * Creates a new set of layout parameters. The values are extracted from
185 * to this set of layout parameters are:
195 * @param attrs the set of attributes from which to extract the layout
H A DActivityChooserView.java218 inflater.inflate(R.layout.activity_chooser_view, this, true);
425 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
696 R.layout.activity_chooser_view_list_item, parent, false);
706 R.layout.activity_chooser_view_list_item, parent, false);
H A DSwitch.java511 Layout layout = isChecked() ? mOnLayout : mOffLayout;
512 if (layout != null && !TextUtils.isEmpty(layout.getText())) {
513 event.getText().add(layout.getText());
/frameworks/base/core/java/com/android/internal/app/
H A DHeavyWeightSwitcherActivity.java74 setContentView(com.android.internal.R.layout.heavy_weight_switcher);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java94 // If we've been given an exact size to match, apply special formatting during layout.
293 // The last item will get this implicitly from layout.
429 v.layout(l, t, r, b);
452 v.layout(l, t, l + width, t + height);
472 v.layout(startRight - width, t, startRight, t + height);
488 v.layout(startLeft, t, startLeft + width, t + height);
585 @ViewDebug.ExportedProperty(category = "layout")
587 @ViewDebug.ExportedProperty(category = "layout")
589 @ViewDebug.ExportedProperty(category = "layout")
591 @ViewDebug.ExportedProperty(category = "layout")
[all...]
H A DMenuDialogHelper.java59 com.android.internal.R.layout.list_menu_item_layout);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMultiUserSelectorView.java100 R.layout.keyguard_multi_user_avatar, mContext, this, user);
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java51 // Set the layout for this activity. You can find it
52 // in res/layout/hello_activity.xml
53 setContentView(R.layout.battery_waster);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFileList.java175 android.R.layout.simple_list_item_1,
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeBackupActivity.java71 setContentView(R.layout.backup_restore);
199 * Click handler, designated in the layout, that runs a restore of the app's
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
H A DLowStorageTest.java48 setContentView(R.layout.main);
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DBlend.java93 act, R.layout.spinner_layout, mIntrinsicNames));
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DBlend.java83 act, R.layout.spinner_layout, mIntrinsicNames));
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
H A DSerialChat.java56 setContentView(R.layout.serial_chat);
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackActivity.java145 setContentView(R.layout.playback);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java93 // now do the layout.
94 content.layout(0, 0, w, h);
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSInfo.h200 // layout() assigns value of offset in each ListHeader (i.e., it decides where
203 bool layout(off_t initial_offset);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoWriter.cpp178 if (!layout(initial_offset)) {
/frameworks/compile/linkloader/
H A DAndroid.mk183 # stub-layout-unit-test
189 LOCAL_MODULE := stub-layout-unit-test

Completed in 4506 milliseconds

<<1112131415161718