android.support.v4.util.DebugUtils Java Examples

The following examples show how to use android.support.v4.util.DebugUtils. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Fragment.java    From droidel with Apache License 2.0 6 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, sb);
    if (mIndex >= 0) {
        sb.append(" #");
        sb.append(mIndex);
    }
    if (mFragmentId != 0) {
        sb.append(" id=0x");
        sb.append(Integer.toHexString(mFragmentId));
    }
    if (mTag != null) {
        sb.append(" ");
        sb.append(mTag);
    }
    sb.append('}');
    return sb.toString();
}
 
Example #2
Source File: Fragment.java    From letv with Apache License 2.0 6 votes vote down vote up
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, sb);
    if (this.mIndex >= 0) {
        sb.append(" #");
        sb.append(this.mIndex);
    }
    if (this.mFragmentId != 0) {
        sb.append(" id=0x");
        sb.append(Integer.toHexString(this.mFragmentId));
    }
    if (this.mTag != null) {
        sb.append(" ");
        sb.append(this.mTag);
    }
    sb.append('}');
    return sb.toString();
}
 
Example #3
Source File: Fragment.java    From android-recipes-app with Apache License 2.0 6 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, sb);
    if (mIndex >= 0) {
        sb.append(" #");
        sb.append(mIndex);
    }
    if (mFragmentId != 0) {
        sb.append(" id=0x");
        sb.append(Integer.toHexString(mFragmentId));
    }
    if (mTag != null) {
        sb.append(" ");
        sb.append(mTag);
    }
    sb.append('}');
    return sb.toString();
}
 
Example #4
Source File: Fragment.java    From guideshow with MIT License 6 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, sb);
    if (mIndex >= 0) {
        sb.append(" #");
        sb.append(mIndex);
    }
    if (mFragmentId != 0) {
        sb.append(" id=0x");
        sb.append(Integer.toHexString(mFragmentId));
    }
    if (mTag != null) {
        sb.append(" ");
        sb.append(mTag);
    }
    sb.append('}');
    return sb.toString();
}
 
Example #5
Source File: Fragment.java    From adt-leanback-support with Apache License 2.0 6 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, sb);
    if (mIndex >= 0) {
        sb.append(" #");
        sb.append(mIndex);
    }
    if (mFragmentId != 0) {
        sb.append(" id=0x");
        sb.append(Integer.toHexString(mFragmentId));
    }
    if (mTag != null) {
        sb.append(" ");
        sb.append(mTag);
    }
    sb.append('}');
    return sb.toString();
}
 
Example #6
Source File: Fragment.java    From MiBandDecompiled with Apache License 2.0 6 votes vote down vote up
public String toString()
{
    StringBuilder stringbuilder = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, stringbuilder);
    if (u >= 0)
    {
        stringbuilder.append(" #");
        stringbuilder.append(u);
    }
    if (L != 0)
    {
        stringbuilder.append(" id=0x");
        stringbuilder.append(Integer.toHexString(L));
    }
    if (N != null)
    {
        stringbuilder.append(" ");
        stringbuilder.append(N);
    }
    stringbuilder.append('}');
    return stringbuilder.toString();
}
 
Example #7
Source File: v.java    From MiBandDecompiled with Apache License 2.0 6 votes vote down vote up
public String toString()
{
    StringBuilder stringbuilder = new StringBuilder(128);
    stringbuilder.append("FragmentManager{");
    stringbuilder.append(Integer.toHexString(System.identityHashCode(this)));
    stringbuilder.append(" in ");
    if (v != null)
    {
        DebugUtils.buildShortClassTag(v, stringbuilder);
    } else
    {
        DebugUtils.buildShortClassTag(t, stringbuilder);
    }
    stringbuilder.append("}}");
    return stringbuilder.toString();
}
 
Example #8
Source File: Fragment.java    From V.FlyoutTest with MIT License 6 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, sb);
    if (mIndex >= 0) {
        sb.append(" #");
        sb.append(mIndex);
    }
    if (mFragmentId != 0) {
        sb.append(" id=0x");
        sb.append(Integer.toHexString(mFragmentId));
    }
    if (mTag != null) {
        sb.append(" ");
        sb.append(mTag);
    }
    sb.append('}');
    return sb.toString();
}
 
Example #9
Source File: Fragment.java    From CodenameOne with GNU General Public License v2.0 6 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    DebugUtils.buildShortClassTag(this, sb);
    if (mIndex >= 0) {
        sb.append(" #");
        sb.append(mIndex);
    }
    if (mFragmentId != 0) {
        sb.append(" id=0x");
        sb.append(Integer.toHexString(mFragmentId));
    }
    if (mTag != null) {
        sb.append(" ");
        sb.append(mTag);
    }
    sb.append('}');
    return sb.toString();
}
 
Example #10
Source File: LoaderManager.java    From V.FlyoutTest with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    sb.append("LoaderInfo{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" #");
    sb.append(mId);
    sb.append(" : ");
    DebugUtils.buildShortClassTag(mLoader, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #11
Source File: FragmentManager.java    From android-recipes-app with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("FragmentManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    if (mParent != null) {
        DebugUtils.buildShortClassTag(mParent, sb);
    } else {
        DebugUtils.buildShortClassTag(mActivity, sb);
    }
    sb.append("}}");
    return sb.toString();
}
 
Example #12
Source File: LoaderManager.java    From android-recipes-app with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    sb.append("LoaderInfo{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" #");
    sb.append(mId);
    sb.append(" : ");
    DebugUtils.buildShortClassTag(mLoader, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #13
Source File: LoaderManager.java    From android-recipes-app with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("LoaderManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    DebugUtils.buildShortClassTag(mActivity, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #14
Source File: Loader.java    From android-recipes-app with Apache License 2.0 5 votes vote down vote up
/**
 * For debugging, converts an instance of the Loader's data class to
 * a string that can be printed.  Must handle a null data.
 */
public String dataToString(D data) {
    StringBuilder sb = new StringBuilder(64);
    DebugUtils.buildShortClassTag(data, sb);
    sb.append("}");
    return sb.toString();
}
 
Example #15
Source File: Loader.java    From android-recipes-app with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    DebugUtils.buildShortClassTag(this, sb);
    sb.append(" id=");
    sb.append(mId);
    sb.append("}");
    return sb.toString();
}
 
Example #16
Source File: FragmentManager.java    From V.FlyoutTest with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("FragmentManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    if (mParent != null) {
        DebugUtils.buildShortClassTag(mParent, sb);
    } else {
        DebugUtils.buildShortClassTag(mActivity, sb);
    }
    sb.append("}}");
    return sb.toString();
}
 
Example #17
Source File: LoaderManager.java    From adt-leanback-support with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("LoaderManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    DebugUtils.buildShortClassTag(mActivity, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #18
Source File: LoaderManager.java    From V.FlyoutTest with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("LoaderManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    DebugUtils.buildShortClassTag(mActivity, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #19
Source File: Loader.java    From V.FlyoutTest with MIT License 5 votes vote down vote up
/**
 * For debugging, converts an instance of the Loader's data class to
 * a string that can be printed.  Must handle a null data.
 */
public String dataToString(D data) {
    StringBuilder sb = new StringBuilder(64);
    DebugUtils.buildShortClassTag(data, sb);
    sb.append("}");
    return sb.toString();
}
 
Example #20
Source File: Loader.java    From V.FlyoutTest with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    DebugUtils.buildShortClassTag(this, sb);
    sb.append(" id=");
    sb.append(mId);
    sb.append("}");
    return sb.toString();
}
 
Example #21
Source File: FragmentManager.java    From guideshow with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("FragmentManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    if (mParent != null) {
        DebugUtils.buildShortClassTag(mParent, sb);
    } else {
        DebugUtils.buildShortClassTag(mActivity, sb);
    }
    sb.append("}}");
    return sb.toString();
}
 
Example #22
Source File: LoaderManager.java    From guideshow with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    sb.append("LoaderInfo{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" #");
    sb.append(mId);
    sb.append(" : ");
    DebugUtils.buildShortClassTag(mLoader, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #23
Source File: LoaderManager.java    From guideshow with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("LoaderManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    DebugUtils.buildShortClassTag(mActivity, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #24
Source File: Loader.java    From guideshow with MIT License 5 votes vote down vote up
/**
 * For debugging, converts an instance of the Loader's data class to
 * a string that can be printed.  Must handle a null data.
 */
public String dataToString(D data) {
    StringBuilder sb = new StringBuilder(64);
    DebugUtils.buildShortClassTag(data, sb);
    sb.append("}");
    return sb.toString();
}
 
Example #25
Source File: Loader.java    From guideshow with MIT License 5 votes vote down vote up
@Override
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    DebugUtils.buildShortClassTag(this, sb);
    sb.append(" id=");
    sb.append(mId);
    sb.append("}");
    return sb.toString();
}
 
Example #26
Source File: Loader.java    From MiBandDecompiled with Apache License 2.0 5 votes vote down vote up
public String toString()
{
    StringBuilder stringbuilder = new StringBuilder(64);
    DebugUtils.buildShortClassTag(this, stringbuilder);
    stringbuilder.append(" id=");
    stringbuilder.append(o);
    stringbuilder.append("}");
    return stringbuilder.toString();
}
 
Example #27
Source File: FragmentManagerImpl.java    From letv with Apache License 2.0 5 votes vote down vote up
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("FragmentManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    if (this.mParent != null) {
        DebugUtils.buildShortClassTag(this.mParent, sb);
    } else {
        DebugUtils.buildShortClassTag(this.mHost, sb);
    }
    sb.append("}}");
    return sb.toString();
}
 
Example #28
Source File: LoaderManagerImpl.java    From letv with Apache License 2.0 5 votes vote down vote up
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    sb.append("LoaderInfo{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" #");
    sb.append(this.mId);
    sb.append(" : ");
    DebugUtils.buildShortClassTag(this.mLoader, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #29
Source File: LoaderManagerImpl.java    From letv with Apache License 2.0 5 votes vote down vote up
public String toString() {
    StringBuilder sb = new StringBuilder(128);
    sb.append("LoaderManager{");
    sb.append(Integer.toHexString(System.identityHashCode(this)));
    sb.append(" in ");
    DebugUtils.buildShortClassTag(this.mHost, sb);
    sb.append("}}");
    return sb.toString();
}
 
Example #30
Source File: Loader.java    From letv with Apache License 2.0 5 votes vote down vote up
public String toString() {
    StringBuilder sb = new StringBuilder(64);
    DebugUtils.buildShortClassTag(this, sb);
    sb.append(" id=");
    sb.append(this.mId);
    sb.append("}");
    return sb.toString();
}