Java Code Examples for android.support.v4.util.DebugUtils

The following examples show how to use android.support.v4.util.DebugUtils. These examples are extracted from open source projects. 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 Project: letv   Source File: Fragment.java    License: 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 2
Source Project: MiBandDecompiled   Source File: Fragment.java    License: 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 3
Source Project: MiBandDecompiled   Source File: v.java    License: 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 4
Source Project: CodenameOne   Source File: Fragment.java    License: 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 5
Source Project: adt-leanback-support   Source File: Fragment.java    License: 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 Project: droidel   Source File: Fragment.java    License: 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 7
Source Project: android-recipes-app   Source File: Fragment.java    License: 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 8
Source Project: V.FlyoutTest   Source File: Fragment.java    License: 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 Project: guideshow   Source File: Fragment.java    License: 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 10
Source Project: letv   Source File: FragmentManagerImpl.java    License: 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 11
Source Project: letv   Source File: LoaderManagerImpl.java    License: 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 12
Source Project: letv   Source File: LoaderManagerImpl.java    License: 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 13
Source Project: letv   Source File: Loader.java    License: 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();
}
 
Example 14
@Override
public String toString() {
	StringBuilder sb = new StringBuilder();
	DebugUtils.buildShortClassTag(this, sb);
	sb.append(" expandPosition=");
	sb.append(expandPosition);
	sb.append(" collapsePosition=");
	sb.append(collapsePosition);
	sb.append('}');
	return sb.toString();
}
 
Example 15
Source Project: MiBandDecompiled   Source File: K.java    License: Apache License 2.0 5 votes vote down vote up
public String toString()
{
    StringBuilder stringbuilder = new StringBuilder(64);
    stringbuilder.append("LoaderInfo{");
    stringbuilder.append(Integer.toHexString(System.identityHashCode(this)));
    stringbuilder.append(" #");
    stringbuilder.append(a);
    stringbuilder.append(" : ");
    DebugUtils.buildShortClassTag(d, stringbuilder);
    stringbuilder.append("}}");
    return stringbuilder.toString();
}
 
Example 16
Source Project: MiBandDecompiled   Source File: J.java    License: Apache License 2.0 5 votes vote down vote up
public String toString()
{
    StringBuilder stringbuilder = new StringBuilder(128);
    stringbuilder.append("LoaderManager{");
    stringbuilder.append(Integer.toHexString(System.identityHashCode(this)));
    stringbuilder.append(" in ");
    DebugUtils.buildShortClassTag(f, stringbuilder);
    stringbuilder.append("}}");
    return stringbuilder.toString();
}
 
Example 17
Source Project: MiBandDecompiled   Source File: Loader.java    License: Apache License 2.0 5 votes vote down vote up
public String dataToString(Object obj)
{
    StringBuilder stringbuilder = new StringBuilder(64);
    DebugUtils.buildShortClassTag(obj, stringbuilder);
    stringbuilder.append("}");
    return stringbuilder.toString();
}
 
Example 18
Source Project: MiBandDecompiled   Source File: Loader.java    License: 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 19
Source Project: CodenameOne   Source File: FragmentManager.java    License: GNU General Public License v2.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 20
Source Project: CodenameOne   Source File: LoaderManager.java    License: GNU General Public License v2.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 21
Source Project: CodenameOne   Source File: LoaderManager.java    License: GNU General Public License v2.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 22
Source Project: CodenameOne   Source File: Loader.java    License: GNU General Public License v2.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 23
Source Project: CodenameOne   Source File: Loader.java    License: GNU General Public License v2.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 24
Source Project: adt-leanback-support   Source File: FragmentManager.java    License: 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 25
Source Project: adt-leanback-support   Source File: LoaderManager.java    License: 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 26
Source Project: adt-leanback-support   Source File: LoaderManager.java    License: 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 27
Source Project: adt-leanback-support   Source File: Loader.java    License: 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 28
Source Project: adt-leanback-support   Source File: Loader.java    License: 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 29
Source Project: android-recipes-app   Source File: FragmentManager.java    License: 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 30
Source Project: android-recipes-app   Source File: LoaderManager.java    License: 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();
}