HomeSort by relevance Sort by last modified time
    Searched refs:layoutId (Results 1 - 25 of 55) 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/core/java/android/widget/
RemoteViewsListAdapter.java 106 int layoutId = mRemoteViewsList.get(position).getLayoutId();
107 return mViewTypes.indexOf(layoutId);
  /frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
BackupRestoreConfirmation.java 138 final int layoutId;
141 layoutId = R.layout.confirm_backup;
144 layoutId = R.layout.confirm_restore;
172 setContentView(layoutId);
189 if (layoutId == R.layout.confirm_backup) {
  /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 + ">";
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DrawActivity.java 51 public void enqueueRenderSpecAndWait(int layoutId, CanvasClient canvasClient, String webViewUrl,
60 mHandler.obtainMessage(RenderSpecHandler.LAYOUT_MSG, layoutId, arg2).sendToTarget();
ActivityTestBase.java 142 getActivity().enqueueRenderSpecAndWait(testCase.layoutID, testCase.canvasClient,
250 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer) {
251 return addLayout(layoutId, viewInitializer, false)
252 .addLayout(layoutId, viewInitializer, true);
266 public TestCaseBuilder addLayout(int layoutId, @Nullable ViewInitializer viewInitializer,
268 mTestCases.add(new TestCase(null, layoutId, null, viewInitializer, useHardware));
283 public int layoutID;
298 this.layoutID = id;
319 getActivity().getResources().getResourceName(layoutID);
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewCoordinates.java 174 public View getView(final int layoutId) {
175 return mViewsCache.get(layoutId);
182 public void put(final int layoutId, final View view) {
183 mViewsCache.put(layoutId, view);
281 final int layoutId = R.layout.conversation_item_view;
283 ViewGroup view = (ViewGroup) cache.getView(layoutId);
285 view = (ViewGroup) LayoutInflater.from(context).inflate(layoutId, null);
286 cache.put(layoutId, view);
  /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 126 int layoutId = getLayoutIdFor(securityMode);
127 if (view == null && layoutId != 0) {
129 if (DEBUG) Log.v(TAG, "inflating id = " + layoutId);
130 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 74 int layoutId = res.getIdentifier(LAYOUT_RES, "xml", pkg);
75 if (layoutId == 0) {
79 return new AutoInstallsLayout(context, appWidgetHost, callback, pkg, res, layoutId);
128 LayoutParserCallback callback, String packageName, Resources res, int layoutId) {
137 mLayoutId = layoutId;
151 private int parseLayout(Resources res, int layoutId, ArrayList<Long> screenIds)
156 XmlResourceParser parser = res.getXml(layoutId);
  /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,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UseCompoundDrawableRefactoring.java 333 String layoutId = getId(layout);
334 if (layoutId.length() > 0) {
346 doc, mSelectionStart, mSelectionEnd, layoutId, id);
  /cts/tests/tests/view/src/android/view/cts/
ViewTreeObserverTest.java 64 private void layout(final int layoutId) {
68 mActivity.setContentView(layoutId);

Completed in 3660 milliseconds

1 2 3