OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:containerViewId
(Results
1 - 25
of
35
) sorted by null
1
2
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/
TestFragmentTransaction.java
10
private int
containerViewId
;
36
public FragmentTransaction add(int
containerViewId
, Fragment fragment) {
37
return add(
containerViewId
, fragment, null);
41
public FragmentTransaction add(int
containerViewId
, Fragment fragment, String tag) {
42
this.
containerViewId
=
containerViewId
;
50
public FragmentTransaction replace(int
containerViewId
, Fragment fragment) {
51
return replace(
containerViewId
, fragment, null);
55
public FragmentTransaction replace(int
containerViewId
, Fragment fragment, String tag) {
56
this.
containerViewId
= containerViewId
[
all
...]
TestFragmentManager.java
140
public void addFragment(int
containerViewId
, String tag, Fragment fragment, boolean replace) {
141
fragmentsById.put(
containerViewId
, fragment);
146
shadowFragment.setContainerViewId(
containerViewId
);
/frameworks/base/core/java/android/app/
FragmentTransaction.java
14
* Calls {@link #add(int, Fragment, String)} with a 0
containerViewId
.
21
public abstract FragmentTransaction add(int
containerViewId
, Fragment fragment);
28
* @param
containerViewId
Optional identifier of the container this fragment is
38
public abstract FragmentTransaction add(int
containerViewId
, Fragment fragment, String tag);
43
public abstract FragmentTransaction replace(int
containerViewId
, Fragment fragment);
48
* currently added fragments that were added with the same
containerViewId
52
* @param
containerViewId
Identifier of the container whose fragment(s) are
61
public abstract FragmentTransaction replace(int
containerViewId
, Fragment fragment, String tag);
BackStackRecord.java
384
public FragmentTransaction add(int
containerViewId
, Fragment fragment) {
385
doAddOp(
containerViewId
, fragment, null, OP_ADD);
389
public FragmentTransaction add(int
containerViewId
, Fragment fragment, String tag) {
390
doAddOp(
containerViewId
, fragment, tag, OP_ADD);
394
private void doAddOp(int
containerViewId
, Fragment fragment, String tag, int opcmd) {
406
if (
containerViewId
!= 0) {
407
if (fragment.mFragmentId != 0 && fragment.mFragmentId !=
containerViewId
) {
410
+ " now " +
containerViewId
);
412
fragment.mContainerId = fragment.mFragmentId =
containerViewId
;
421
public FragmentTransaction replace(int
containerViewId
, Fragment fragment)
[
all
...]
/frameworks/support/v4/java/android/support/v4/app/
FragmentTransaction.java
28
* Calls {@link #add(int, Fragment, String)} with a 0
containerViewId
.
35
public abstract FragmentTransaction add(int
containerViewId
, Fragment fragment);
42
* @param
containerViewId
Optional identifier of the container this fragment is
52
public abstract FragmentTransaction add(int
containerViewId
, Fragment fragment, String tag);
57
public abstract FragmentTransaction replace(int
containerViewId
, Fragment fragment);
62
* currently added fragments that were added with the same
containerViewId
66
* @param
containerViewId
Identifier of the container whose fragment(s) are
75
public abstract FragmentTransaction replace(int
containerViewId
, Fragment fragment, String tag);
BackStackRecord.java
383
public FragmentTransaction add(int
containerViewId
, Fragment fragment) {
384
doAddOp(
containerViewId
, fragment, null, OP_ADD);
388
public FragmentTransaction add(int
containerViewId
, Fragment fragment, String tag) {
389
doAddOp(
containerViewId
, fragment, tag, OP_ADD);
393
private void doAddOp(int
containerViewId
, Fragment fragment, String tag, int opcmd) {
405
if (
containerViewId
!= 0) {
406
if (fragment.mFragmentId != 0 && fragment.mFragmentId !=
containerViewId
) {
409
+ " now " +
containerViewId
);
411
fragment.mContainerId = fragment.mFragmentId =
containerViewId
;
420
public FragmentTransaction replace(int
containerViewId
, Fragment fragment)
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowFragment.java
23
private int
containerViewId
;
87
public void setContainerViewId(int
containerViewId
) {
88
this.
containerViewId
=
containerViewId
;
92
return
containerViewId
;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
FragmentTransactionTest.java
280
public void addFragment(int
containerViewId
, String tag, Fragment fragment, boolean replace) {
282
addFragmentContainerViewId =
containerViewId
;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
TwoPaneController.java
574
final int
containerViewId
= TwoPaneLayout.MISCELLANEOUS_VIEW_ID;
580
fragmentTransaction.replace(
containerViewId
, fragment, TAG_CUSTOM_FRAGMENT);
/development/samples/training/multiscreen/newsreader/libs/
android-support-v4.jar
/development/samples/training/basic/ActivityLifecycle/libs/
android-support-v13.jar
/development/samples/training/basic/FragmentBasics/libs/
android-support-v4.jar
/development/samples/training/location-aware/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests1/app/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests1/lib1/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests1/lib2/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests2/lib1/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests2/lib2/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests3/lib1/libs/
android-support-v4.jar
/sdk/testapps/jarCheckTests3/lib2/libs/
android-support-v13.jar
/sdk/testapps/javaProjectTest/lib1/libs/
android-support-v4.jar
/sdk/testapps/javaProjectTest/lib2/libs/
android-support-v4.jar
/sdk/testapps/libsAndJarTest/lib1/libs/
android-support-v4.jar
/sdk/testapps/libsAndJarTest/lib2/libs/
android-support-v4.jar
/development/samples/ControllerSample/libs/
android-support-v4.jar
Completed in 865 milliseconds
1
2