/developers/build/prebuilts/gradle/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
AdapterTransitionFragment.java | 100 return inflater.inflate(R.layout.fragment_adapter_transition, container, false); 185 mAbsListView = (AbsListView) inflater.inflate(R.layout.fragment_meat_list, 187 mAdapter = new MeatAdapter(inflater, R.layout.item_meat_list); 189 mAbsListView = (AbsListView) inflater.inflate(R.layout.fragment_meat_grid, 191 mAdapter = new MeatAdapter(inflater, R.layout.item_meat_grid); 253 FrameLayout layout = new FrameLayout(getActivity()); local 255 layout.setId(ROOT_ID); 267 View destination = mAdapter.getView(first + index, null, layout); 274 layout.addView(destination, params); 277 return layout; [all...] |
/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
AdapterTransitionFragment.java | 100 return inflater.inflate(R.layout.fragment_adapter_transition, container, false); 185 mAbsListView = (AbsListView) inflater.inflate(R.layout.fragment_meat_list, 187 mAdapter = new MeatAdapter(inflater, R.layout.item_meat_list); 189 mAbsListView = (AbsListView) inflater.inflate(R.layout.fragment_meat_grid, 191 mAdapter = new MeatAdapter(inflater, R.layout.item_meat_grid); 253 FrameLayout layout = new FrameLayout(getActivity()); local 255 layout.setId(ROOT_ID); 267 View destination = mAdapter.getView(first + index, null, layout); 274 layout.addView(destination, params); 277 return layout; [all...] |
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/ |
AdapterTransitionFragment.java | 100 return inflater.inflate(R.layout.fragment_adapter_transition, container, false); 185 mAbsListView = (AbsListView) inflater.inflate(R.layout.fragment_meat_list, 187 mAdapter = new MeatAdapter(inflater, R.layout.item_meat_list); 189 mAbsListView = (AbsListView) inflater.inflate(R.layout.fragment_meat_grid, 191 mAdapter = new MeatAdapter(inflater, R.layout.item_meat_grid); 253 FrameLayout layout = new FrameLayout(getActivity()); local 255 layout.setId(ROOT_ID); 267 View destination = mAdapter.getView(first + index, null, layout); 274 layout.addView(destination, params); 277 return layout; [all...] |
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
PolicySetupActivity.java | 70 setScreenContent(R.layout.activity_policy_setup); 82 case R.layout.activity_policy_setup: 86 case R.layout.activity_view_policy: 96 if (mCurrentScreenId == R.layout.activity_policy_setup) writePolicy(); 111 if (mCurrentScreenId == R.layout.activity_view_policy) { 112 setScreenContent(R.layout.activity_policy_setup); 124 R.array.password_types, android.R.layout.simple_spinner_item); 125 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 187 } else if (mCurrentScreenId == R.layout.activity_policy_setup) { 194 setScreenContent(R.layout.activity_view_policy) [all...] |
/frameworks/base/core/java/android/text/method/ |
Touch.java | 19 import android.text.Layout; 20 import android.text.Layout.Alignment; 37 public static void scrollTo(TextView widget, Layout layout, int x, int y) { 41 final int top = layout.getLineForVertical(y); 42 Alignment a = layout.getParagraphAlignment(top); 43 boolean ltr = layout.getParagraphDirection(top) > 0; 48 final int bottom = layout.getLineForVertical(y + widget.getHeight() - verticalPadding); 54 left = (int) Math.min(left, layout.getLineLeft(i)); 55 right = (int) Math.max(right, layout.getLineRight(i)) 167 Layout layout = widget.getLayout(); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
SubtitleView.java | 30 import android.text.Layout.Alignment; 222 final StaticLayout layout = mLayout; local 226 final int width = layout.getWidth() + paddingX; 227 final int height = layout.getHeight() + mPaddingTop + mPaddingBottom; 291 final StaticLayout layout = mLayout; local 292 if (layout == null) { 300 final int lineCount = layout.getLineCount(); 307 float previousBottom = layout.getLineTop(0); 313 bounds.left = layout.getLineLeft(i) -innerPaddingX; 314 bounds.right = layout.getLineRight(i) + innerPaddingX [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
keyboard_overlay_accessibility_helper.js | 18 var layout = getLayouts()[keyboardGlyphData.layoutName]; 20 for (var i = 0; i < layout.length; ++i) { 21 var identifier = remapIdentifier(layout[i][0]);
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperActivity.java | 42 setContentView(R.layout.live_wallpaper_base); 46 /* When the screen is XLarge, the fragment is not included in the layout, so show it 119 /* If this fragment is embedded in the layout of this activity, then we should 131 View layout = inflater.inflate(R.layout.live_wallpaper_list, container, false); local 135 (AdapterView<BaseAdapter>) layout.findViewById(android.R.id.list); 138 adapterView.setEmptyView(layout.findViewById(android.R.id.empty)); 139 return layout;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wsdattachment.h | 18 #warning COM interfaces layout in this header has not been verified. 19 #warning COM interfaces with incorrect layout may not work at all. 44 #warning COM interfaces layout in this header has not been verified. 45 #warning COM interfaces with incorrect layout may not work at all. 76 #warning COM interfaces layout in this header has not been verified. 77 #warning COM interfaces with incorrect layout may not work at all.
|
/developers/build/prebuilts/gradle/CustomNotifications/Application/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 41 * <p>The content views are inflated as {@link android.widget.RemoteViews} directly from their XML layout 75 // Inflate the notification layout as RemoteViews 76 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification); 95 // Inflate and set the layout for the expanded notification view 97 new RemoteViews(getPackageName(), R.layout.notification_expanded); 112 setContentView(R.layout.sample_main); 116 * Create and show a notification with a custom layout. 118 * 'Show Notification' button in the XML layout.
|
/developers/samples/android/ui/notifications/CustomNotifications/Application/src/main/java/com/example/android/customnotifications/ |
MainActivity.java | 41 * <p>The content views are inflated as {@link android.widget.RemoteViews} directly from their XML layout 75 // Inflate the notification layout as RemoteViews 76 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification); 95 // Inflate and set the layout for the expanded notification view 97 new RemoteViews(getPackageName(), R.layout.notification_expanded); 112 setContentView(R.layout.sample_main); 116 * Create and show a notification with a custom layout. 118 * 'Show Notification' button in the XML layout.
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ScreenOrientation.java | 58 setContentView(R.layout.screen_orientation); 62 this, R.array.screen_orientations, android.R.layout.simple_spinner_item); 63 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Animation2.java | 39 setContentView(R.layout.animation_2); 46 android.R.layout.simple_spinner_item, mStrings); 47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/ |
MainActivity.java | 41 * <p>The content views are inflated as {@link android.widget.RemoteViews} directly from their XML layout 75 // Inflate the notification layout as RemoteViews 76 RemoteViews contentView = new RemoteViews(getPackageName(), R.layout.notification); 95 // Inflate and set the layout for the expanded notification view 97 new RemoteViews(getPackageName(), R.layout.notification_expanded); 112 setContentView(R.layout.sample_main); 116 * Create and show a notification with a custom layout. 118 * 'Show Notification' button in the XML layout.
|
/external/chromium_org/chrome/browser/ui/views/sync/ |
one_click_signin_bubble_view.h | 93 void InitBubbleContent(views::GridLayout* layout); 96 void InitDialogContent(views::GridLayout* layout); 99 void InitButtons(views::GridLayout* layout);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 56 ID3D10InputLayout* layout; member in struct:d3d10tri 70 ensure(dev->CreateInputLayout(elements, sizeof(elements) / sizeof(elements[0]), g_vs, sizeof(g_vs), &layout)); 103 ctx->IASetInputLayout(layout);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tri/ |
d3d11tri.cpp | 56 ID3D11InputLayout* layout; member in struct:d3d11tri 71 ensure(dev->CreateInputLayout(elements, sizeof(elements) / sizeof(elements[0]), g_vs, sizeof(g_vs), &layout)); 105 ctx->IASetInputLayout(layout);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 56 ID3D10InputLayout* layout; member in struct:d3d10tri 70 ensure(dev->CreateInputLayout(elements, sizeof(elements) / sizeof(elements[0]), g_vs, sizeof(g_vs), &layout)); 103 ctx->IASetInputLayout(layout);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/ |
d3d11tri.cpp | 56 ID3D11InputLayout* layout; member in struct:d3d11tri 71 ensure(dev->CreateInputLayout(elements, sizeof(elements) / sizeof(elements[0]), g_vs, sizeof(g_vs), &layout)); 105 ctx->IASetInputLayout(layout);
|
/frameworks/base/core/java/android/text/style/ |
DrawableMarginSpan.java | 23 import android.text.Layout; 44 boolean first, Layout layout) { 47 int itop = (int)layout.getLineTop(layout.getLineForOffset(st));
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
CrossFadeDemo.java | 39 setContentView(R.layout.crossfade); 44 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.crossfade, this); 45 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.crossfade_1, this);
|
Demo1.java | 41 setContentView(R.layout.search_screen); 46 // mResultsScreen = new MyScene(mSceneRoot, R.layout.results_screen); 47 // mSearchScreen = new MyScene(mSceneRoot, R.layout.search_screen); 54 inflater.inflate(R.layout.results_screen, mSceneRoot); 63 inflater.inflate(R.layout.search_screen, mSceneRoot);
|
Demo2.java | 39 setContentView(R.layout.search_screen); 50 // mSearchScreen = new Scene(this, mSceneRoot, R.layout.search_screen); 51 // mResultsScreen = new Scene(this, mSceneRoot, R.layout.results_screen); 53 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 54 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this);
|
Demo4.java | 39 setContentView(R.layout.search_screen); 44 mSearchScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); 45 mResultsScreen = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this);
|
FadingTest.java | 44 setContentView(R.layout.fading_test); 61 mScene1 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test, this); 62 mScene2 = Scene.getSceneForLayout(mSceneRoot, R.layout.fading_test_scene_2, this);
|