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
47
) sorted by null
1
2
/external/robolectric/v1/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
141
public void addFragment(int
containerViewId
, String tag, Fragment fragment, boolean replace) {
142
fragmentsById.put(
containerViewId
, fragment);
147
shadowFragment.setContainerViewId(
containerViewId
);
/frameworks/base/core/java/android/app/
FragmentTransaction.java
26
* Calls {@link #add(int, Fragment, String)} with a 0
containerViewId
.
33
public abstract FragmentTransaction add(@IdRes int
containerViewId
, Fragment fragment);
40
* @param
containerViewId
Optional identifier of the container this fragment is
50
public abstract FragmentTransaction add(@IdRes int
containerViewId
, Fragment fragment,
56
public abstract FragmentTransaction replace(@IdRes int
containerViewId
, Fragment fragment);
61
* currently added fragments that were added with the same
containerViewId
65
* @param
containerViewId
Identifier of the container whose fragment(s) are
74
public abstract FragmentTransaction replace(@IdRes int
containerViewId
, Fragment fragment,
BackStackRecord.java
455
public FragmentTransaction add(int
containerViewId
, Fragment fragment) {
456
doAddOp(
containerViewId
, fragment, null, OP_ADD);
460
public FragmentTransaction add(int
containerViewId
, Fragment fragment, String tag) {
461
doAddOp(
containerViewId
, fragment, tag, OP_ADD);
465
private void doAddOp(int
containerViewId
, Fragment fragment, String tag, int opcmd) {
477
if (
containerViewId
!= 0) {
478
if (
containerViewId
== View.NO_ID) {
482
if (fragment.mFragmentId != 0 && fragment.mFragmentId !=
containerViewId
) {
485
+ " now " +
containerViewId
);
487
fragment.mContainerId = fragment.mFragmentId =
containerViewId
;
[
all
...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowFragment.java
23
private int
containerViewId
;
95
public void setContainerViewId(int
containerViewId
) {
96
this.
containerViewId
=
containerViewId
;
100
return
containerViewId
;
/frameworks/support/fragment/java/android/support/v4/app/
FragmentTransaction.java
40
* Calls {@link #add(int, Fragment, String)} with a 0
containerViewId
.
47
public abstract FragmentTransaction add(@IdRes int
containerViewId
, Fragment fragment);
54
* @param
containerViewId
Optional identifier of the container this fragment is
64
public abstract FragmentTransaction add(@IdRes int
containerViewId
, Fragment fragment,
70
public abstract FragmentTransaction replace(@IdRes int
containerViewId
, Fragment fragment);
75
* currently added fragments that were added with the same
containerViewId
79
* @param
containerViewId
Identifier of the container whose fragment(s) are
88
public abstract FragmentTransaction replace(@IdRes int
containerViewId
, Fragment fragment,
BackStackRecord.java
419
public FragmentTransaction add(int
containerViewId
, Fragment fragment) {
420
doAddOp(
containerViewId
, fragment, null, OP_ADD);
425
public FragmentTransaction add(int
containerViewId
, Fragment fragment, String tag) {
426
doAddOp(
containerViewId
, fragment, tag, OP_ADD);
430
private void doAddOp(int
containerViewId
, Fragment fragment, String tag, int opcmd) {
451
if (
containerViewId
!= 0) {
452
if (
containerViewId
== View.NO_ID) {
456
if (fragment.mFragmentId != 0 && fragment.mFragmentId !=
containerViewId
) {
459
+ " now " +
containerViewId
);
461
fragment.mContainerId = fragment.mFragmentId =
containerViewId
;
[
all
...]
/external/robolectric/v1/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
[
all
...]
/external/robolectric/v3/
shadows-support-v4-3.1-SNAPSHOT.jar
/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
Completed in 466 milliseconds
1
2