HomeSort by relevance Sort by last modified time
    Searched refs:layoutId (Results 1 - 25 of 56) sorted by null

1 2 3

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionViewInflater.java 43 * @param layoutId resource ID of layout to use.
47 int layoutId, Context context) {
50 mLayoutId = layoutId;
65 int layoutId = mLayoutId;
66 convertView = getInflater().inflate(layoutId, parent, false);
  /frameworks/base/core/java/android/transition/
Scene.java 37 private View mLayout; // alternative to layoutId
42 * <code>layoutId</code> parameter. If such a Scene has already been created for
44 * This caching of layoutId-based scenes enables sharing of common scenes
50 * @param layoutId The id of a standard layout resource file.
55 public static Scene getSceneForLayout(ViewGroup sceneRoot, int layoutId, Context context) {
62 Scene scene = scenes.get(layoutId);
66 scene = new Scene(sceneRoot, layoutId, context);
67 scenes.put(layoutId, scene);
89 * the hierarchy specified by the layoutId resource file.
91 * <p>This method is hidden because layoutId-based scenes should b
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRemoteViews.java 25 private int layoutId;
28 public void __constructor__(String packageName, int layoutId) {
30 this.layoutId = layoutId;
40 return layoutId;
ShadowAppWidgetManager.java 86 int layoutId = views.getLayoutId();
87 if (widgetInfo.layoutId != layoutId || alwaysRecreateViewsDuringUpdate) {
88 widgetInfo.view = createWidgetView(layoutId);
89 widgetInfo.layoutId = layoutId;
121 widgetInfo.view = createWidgetView(widgetInfo.layoutId);
215 private int layoutId;
219 public WidgetInfo(View view, int layoutId, AppWidgetProvider appWidgetProvider) {
221 this.layoutId = layoutId
    [all...]
ShadowDialog.java 32 private int layoutId;
71 layoutId = layoutResID;
155 if (layoutId > 0 && context != null) {
156 inflatedView = ShadowLayoutInflater.from(context).inflate(layoutId, null);
221 return layoutId;
238 inflatedView = ShadowLayoutInflater.from(context).inflate(layoutId, null);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
PreviewInflater.java 72 widgetView = appInflater.inflate(widgetInfo.layoutId, null, false);
99 int layoutId = resolved.activityInfo.metaData.getInt(META_DATA_KEYGUARD_LAYOUT);
100 if (layoutId == 0) {
104 info.layoutId = layoutId;
137 int layoutId;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
BridgeActionBar.java 58 int layoutId;
60 layoutId = context.getFrameworkResourceValue(layoutName.getResourceType(),
63 layoutId = context.getProjectResourceValue(layoutName.getResourceType(),
67 if (layoutId == 0) {
83 mDecorContent = LayoutInflater.from(context).inflate(layoutId, mEnclosingLayout, true);
  /frameworks/base/core/java/android/widget/
RemoteViewsListAdapter.java 106 int layoutId = mRemoteViewsList.get(position).getLayoutId();
107 return mViewTypes.indexOf(layoutId);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MockKeyboardSwitcher.java 65 public static String getLayoutName(final int layoutId) {
66 switch (layoutId) {
74 default: return "UNKNOWN<" + layoutId + ">";
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewCoordinates.java 158 public View getView(final int layoutId) {
159 return mViewsCache.get(layoutId);
166 public void put(final int layoutId, final View view) {
167 mViewsCache.put(layoutId, view);
249 final int layoutId = R.layout.conversation_item_view;
251 ViewGroup view = (ViewGroup) cache.getView(layoutId);
253 view = (ViewGroup) LayoutInflater.from(context).inflate(layoutId, null);
254 cache.put(layoutId, view);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ActivityTestBase.java 158 getActivity().enqueueRenderSpecAndWait(testCase.layoutID, testCase.canvasClient,
276 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer) {
277 return addLayout(layoutId, viewInitializer, false)
278 .addLayout(layoutId, viewInitializer, true);
292 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer,
294 mTestCases.add(new TestCase(null, layoutId, null, viewInitializer, useHardware));
309 public int layoutID;
324 this.layoutID = id;
345 getActivity().getResources().getResourceName(layoutID);
DrawActivity.java 56 public void enqueueRenderSpecAndWait(int layoutId, CanvasClient canvasClient, String webViewUrl,
65 mHandler.obtainMessage(RenderSpecHandler.LAYOUT_MSG, layoutId, arg2).sendToTarget();
  /frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
BackupRestoreConfirmation.java 139 final int layoutId;
142 layoutId = R.layout.confirm_backup;
145 layoutId = R.layout.confirm_restore;
173 setContentView(layoutId);
216 if (layoutId == R.layout.confirm_backup) {
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardActivityLauncher.java 65 public int layoutId;
93 int layoutId = resolved.activityInfo.metaData.getInt(META_DATA_KEYGUARD_LAYOUT);
94 if (layoutId == 0) {
99 info.layoutId = layoutId;
KeyguardSecurityContainer.java 142 int layoutId = getLayoutIdFor(securityMode);
143 if (view == null && layoutId != 0) {
145 if (DEBUG) Log.v(TAG, "inflating id = " + layoutId);
146 View v = inflater.inflate(layoutId, mSecurityViewFlipper, false);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
ProjectionActivity.java 92 protected View setContentViewAndInfoResources(int layoutId, int titleId, int infoId) {
93 View view = getLayoutInflater().inflate(layoutId, null);
  /development/samples/training/ads-and-ux/src/com/example/training/ads/
AdsCatalogActivity.java 118 int layoutId = layouts[mNum];
119 View v = inflater.inflate(layoutId, container, false);
  /frameworks/base/core/java/com/android/internal/app/
LocalePicker.java 159 final int layoutId, final int fieldId) {
166 return new ArrayAdapter<LocaleInfo>(context, layoutId, fieldId, localeInfos) {
172 view = inflater.inflate(layoutId, parent, false);
  /frameworks/base/core/java/android/appwidget/
AppWidgetHostView.java 377 int layoutId = remoteViews.getLayoutId();
381 if (content == null && layoutId == mLayoutId) {
402 mLayoutId = layoutId;
550 int layoutId = mInfo.initialLayout;
557 layoutId = kgLayoutId == 0 ? layoutId : kgLayoutId;
560 defaultView = inflater.inflate(layoutId, this, false);
  /packages/apps/Launcher3/src/com/android/launcher3/
AutoInstallsLayout.java 71 int layoutId = res.getIdentifier(LAYOUT_RES, "xml", pkg);
72 if (layoutId == 0) {
76 return new AutoInstallsLayout(context, appWidgetHost, callback, res, layoutId,
131 int layoutId, String rootTag) {
141 mLayoutId = layoutId;
162 protected int parseLayout(int layoutId, ArrayList<Long> screenIds)
164 XmlResourceParser parser = mSourceRes.getXml(layoutId);
DefaultLayoutParser.java 48 LayoutParserCallback callback, Resources sourceRes, int layoutId) {
49 super(context, appWidgetHost, callback, sourceRes, layoutId, TAG_FAVORITES);
  /cts/hostsidetests/theme/src/android/theme/cts/
ThemeHostTest.java 308 private boolean runCapture(int themeId, int layoutId, String imageName) throws Exception {
311 sb.append(String.format(INTENT_INTEGER_EXTRA, EXTRA_LAYOUT, layoutId));
  /packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java 179 private View inflate(int layoutId, ViewGroup parent) {
180 return LayoutInflater.from(getContext()).inflate(layoutId, parent, false);
  /packages/apps/Settings/src/com/android/settings/
EncryptionInterstitial.java 83 final int layoutId = R.layout.encryption_interstitial;
84 View view = inflater.inflate(layoutId, container, false);
ZonePicker.java 101 boolean sortedByName, int layoutId) {
112 layoutId,

Completed in 770 milliseconds

1 2 3