Example #1
0
		/// <summary>Print short string, to optimize dumping.</summary>
		/// <remarks>Print short string, to optimize dumping.</remarks>
		/// <hide></hide>
		public virtual void printShortString(java.io.PrintWriter pw)
		{
			float[] values = new float[9];
			getValues(values);
			pw.print('[');
			pw.print(values[0]);
			pw.print(", ");
			pw.print(values[1]);
			pw.print(", ");
			pw.print(values[2]);
			pw.print("][");
			pw.print(values[3]);
			pw.print(", ");
			pw.print(values[4]);
			pw.print(", ");
			pw.print(values[5]);
			pw.print("][");
			pw.print(values[6]);
			pw.print(", ");
			pw.print(values[7]);
			pw.print(", ");
			pw.print(values[8]);
			pw.print(']');
		}
Example #2
0
		public virtual void dump(string prefix, java.io.FileDescriptor fd, java.io.PrintWriter
			 writer, string[] args)
		{
			writer.print(prefix);
			writer.print("Local Activity ");
			writer.print(Sharpen.Util.IntToHexString(Sharpen.Util.IdentityHashCode(this)));
			writer.println(" State:");
			string innerPrefix = prefix + "  ";
			writer.print(innerPrefix);
			writer.print("mResumed=");
			writer.print(mResumed);
			writer.print(" mStopped=");
			writer.print(mStopped);
			writer.print(" mFinished=");
			writer.println(mFinished);
			writer.print(innerPrefix);
			writer.print("mLoadersStarted=");
			writer.println(mLoadersStarted);
			writer.print(innerPrefix);
			writer.print("mChangingConfigurations=");
			writer.println(mChangingConfigurations);
			writer.print(innerPrefix);
			writer.print("mCurrentConfig=");
			writer.println(mCurrentConfig);
			if (mLoaderManager != null)
			{
				writer.print(prefix);
				writer.print("Loader Manager ");
				writer.print(Sharpen.Util.IntToHexString(Sharpen.Util.IdentityHashCode(mLoaderManager
					)));
				writer.println(":");
				mLoaderManager.dump(prefix + "  ", fd, writer, args);
			}
			mFragments.dump(prefix, fd, writer, args);
		}
Example #3
0
		/// <hide>Just for debugging; not internationalized.</hide>
		public static void formatDuration(long time, long now, java.io.PrintWriter pw)
		{
			if (time == 0)
			{
				pw.print("--");
				return;
			}
			formatDuration(time - now, pw, 0);
		}
Example #4
0
		/// <summary>Print short string, to optimize dumping.</summary>
		/// <remarks>Print short string, to optimize dumping.</remarks>
		/// <hide></hide>
		public virtual void printShortString(java.io.PrintWriter pw)
		{
			pw.print("{alpha=");
			pw.print(mAlpha);
			pw.print(" matrix=");
			mMatrix.printShortString(pw);
			pw.print('}');
		}
Example #5
0
		/// <hide>Just for debugging; not internationalized.</hide>
		public static void formatDuration(long duration, java.io.PrintWriter pw, int fieldLen
			)
		{
			lock (sFormatSync)
			{
				int len = formatDurationLocked(duration, fieldLen);
				pw.print(new string(sFormatStr, 0, len));
			}
		}