/cts/tests/tests/graphics/src/android/graphics/cts/ |
FontVariationAxisTest.java | 69 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings(""); local 70 assertNull(axes); 72 axes = FontVariationAxis.fromFontVariationSettings(null); 73 assertNull(axes); 75 axes = FontVariationAxis.fromFontVariationSettings("'wdth' 1"); 76 assertEquals(1, axes.length); 77 assertEquals("wdth", axes[0].getTag()); 78 assertEquals(1.0f, axes[0].getStyleValue(), FLOT_EQUALITY_PREC); 80 axes = FontVariationAxis.fromFontVariationSettings("\"wdth\" 100"); 81 assertEquals(1, axes.length) 154 final FontVariationAxis[] axes = { local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
PathComponent.java | 21 package org.apache.xpath.axes;
|
SubContextList.java | 21 package org.apache.xpath.axes;
|
RTFIterator.java | 28 package org.apache.xpath.axes;
|
ContextNodeList.java | 21 package org.apache.xpath.axes;
|
/external/lisa/libs/utils/analysis/ |
eas_analysis.py | 53 Plot energy_diff()-related signals on time axes. 115 axes = plt.subplot(gs[0, :]) 116 axes.set_title('Source and Destination CPUs') 117 df[['src_cpu', 'dst_cpu']].plot(ax=axes, style=['bo', 'r+']) 118 axes.set_ylim(-1, self._platform['cpus_count']+1) 119 axes.set_xlim(self._trace.x_min, self._trace.x_max) 120 axes.grid(True) 121 axes.set_xticklabels([]) 122 axes.set_xlabel('') 123 self._trace.analysis.status.plotOverutilized(axes) [all...] |
status_analysis.py | 70 def plotOverutilized(self, axes=None): 75 The optional axes parameter allows to plot the signal on an existing 78 :param axes: axes on which to plot the signal 79 :type axes: :mod:`matplotlib.axes.Axes` 92 if not axes: 95 axes = plt.subplot(gs[0, 0]) 96 axes.set_title('System Status {white: EAS mode, [all...] |
frequency_analysis.py | 172 axes = pltaxes[0] 173 axes.set_title('big Cluster') 175 axes.axhline(avg_bfreq, color='r', linestyle='--', linewidth=2) 176 axes.set_ylim( 181 bfreq['frequency'].plot(style=['r-'], ax=axes, 185 axes.set_xlim(self._trace.x_min, self._trace.x_max) 186 axes.set_ylabel('MHz') 187 axes.grid(True) 188 axes.set_xticklabels([]) 189 axes.set_xlabel('' [all...] |
cpus_analysis.py | 121 # Reference axes to be used 122 axes = pltaxes 124 axes = pltaxes[idx] 127 axes.set_title('{0:s}CPU [{1:d}]'.format(label1, cpu)) 131 df[['util_avg']].plot(ax=axes, drawstyle='steps-post', 139 # ax=axes, 149 # data.plot(ax=axes, style=['m', 'y', 'r'], 151 data.plot(ax=axes, style=['m', '--y'], 155 self._trace.analysis.status.plotOverutilized(axes) 157 axes.set_ylim(0, 1100 [all...] |
tasks_analysis.py | 306 axes = plt.subplot(gs[plot_id, 0]) 307 axes.set_title('Task [{0:d}:{1:s}] Signals' 311 self._plotTaskSignals(axes, tid, signals, is_last) 318 axes = plt.subplot(gs[plot_id, 0]) 319 axes.set_title( 327 self._plotTaskResidencies(axes, tid, signals_to_plot, is_last) 334 axes = plt.subplot(gs[plot_id, 0]) 335 axes.set_title('Task [{0:d}:{1:s}] PELT Signals' 340 self._plotTaskPelt(axes, tid, signals_to_plot) 390 # Define axes for side-by-side plotting [all...] |
functions_analysis.py | 75 axes = data.plot(kind='bar', 78 axes.set_ylabel(ylabel) 79 axes.get_xaxis().set_visible(False)
|
idle_analysis.py | 264 :param xmax: upper bound of x-axes 280 axes = fig.add_subplot(gs[idx]) 288 r_pct.T.plot.barh(ax=axes, stacked=True, figsize=(16, yrange)) 290 axes.legend(loc='lower center', ncol=7) 291 axes.set_xlim(0, 100) 293 r.plot.barh(ax=axes, color='g', 296 axes.set_xlim(0, 1.05*xmax) 297 axes.set_ylabel('Idle State') 298 axes.set_title(data.label) 300 axes.grid(True [all...] |
/external/guava/guava/src/com/google/common/collect/ |
CartesianList.java | 37 private transient final ImmutableList<List<E>> axes; field in class:CartesianList 53 CartesianList(ImmutableList<List<E>> axes) { 54 this.axes = axes; 55 int[] axesSizeProduct = new int[axes.size() + 1]; 56 axesSizeProduct[axes.size()] = 1; 58 for (int i = axes.size() - 1; i >= 0; i--) { 60 IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size()); 70 return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); 80 return axes.size() [all...] |
/frameworks/minikin/libs/minikin/ |
FontUtils.h | 25 void analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes);
|
FontUtils.cpp | 47 void analyzeAxes(const uint8_t* fvar_data, size_t fvar_size, std::unordered_set<uint32_t>* axes) { 54 axes->clear(); 74 axes->insert(tag);
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
NestedScrollingParentHelper.java | 62 @ScrollAxis int axes) { 63 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); 75 @ScrollAxis int axes, @NestedScrollType int type) { 76 mNestedScrollAxes = axes; 80 * Return the current axes of nested scrolling for this ViewGroup.
|
/frameworks/base/graphics/java/android/graphics/ |
FontFamily.java | 92 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, 101 if (axes != null) { 102 for (FontVariationAxis axis : axes) { 113 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, 118 if (axes != null) { 119 for (FontVariationAxis axis : axes) { 140 FontVariationAxis[] axes) { 144 if (axes != null) { 145 for (FontVariationAxis axis : axes) {
|
/external/skia/include/core/ |
SkFontArguments.h | 43 SkFontArguments& setAxes(const Axis* axes, int axisCount) { 45 reinterpret_cast<const VariationPosition::Coordinate*>(axes);
|
/frameworks/support/compat/java/android/support/v4/view/ |
NestedScrollingParent.java | 59 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}, 63 boolean onStartNestedScroll(@NonNull View child, @NonNull View target, @ScrollAxis int axes); 76 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}, 81 void onNestedScrollAccepted(@NonNull View child, @NonNull View target, @ScrollAxis int axes); 186 * Return the current axes of nested scrolling for this NestedScrollingParent. 192 * @return Flags indicating the current axes of nested scrolling
|
NestedScrollingParent2.java | 59 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}, 64 boolean onStartNestedScroll(@NonNull View child, @NonNull View target, @ScrollAxis int axes, 78 * @param axes Flags consisting of {@link ViewCompat#SCROLL_AXIS_HORIZONTAL}, 84 void onNestedScrollAccepted(@NonNull View child, @NonNull View target, @ScrollAxis int axes,
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncCurrent.java | 26 import org.apache.xpath.axes.LocPathIterator; 27 import org.apache.xpath.axes.PredicatedNodeTest; 30 import org.apache.xpath.axes.SubContextList;
|
/frameworks/base/tools/velocityplot/ |
velocityplot.py | 133 axes = self.fig.add_axes([0.1, top, 0.8, height], 140 axes.text(0.02, 0.02, title, transform=axes.transAxes, fontsize=10, fontweight='bold') 141 axes.set_xlabel('time (s)', fontsize=10, fontweight='bold') 142 axes.set_ylabel(ylabel, fontsize=10, fontweight='bold') 143 axes.set_xticks(range(0, timespan + 1, timeticks)) 144 axes.set_yticks(yticks) 145 axes.grid(True) 147 for label in axes.get_xticklabels(): 149 for label in axes.get_yticklabels() [all...] |
/external/lisa/libs/utils/ |
perf_analysis.py | 157 axes = plt.subplot(gs[0,0]); 158 axes.set_title('Task [{0:s}] (start) Latency and (completion) Slack'\ 161 data.plot(ax=axes, drawstyle='steps-post', style=['r', 'g']); 162 # axes.set_xlim(x_min, x_max); 163 axes.xaxis.set_visible(False); 165 axes = plt.subplot(gs[1,0]); 166 axes.set_title('Task [{0:s}] Performance Index'.format(task)); 168 data.plot(ax=axes, drawstyle='steps-post'); 169 axes.set_ylim(0, 2); 170 # axes.set_xlim(x_min, x_max) [all...] |
/frameworks/base/core/jni/android/graphics/ |
FontFamily.cpp | 51 std::vector<minikin::FontVariation> axes; member in struct:android::NativeFamilyBuilder 101 for (const auto& axis : builder->axes) { 117 builder->axes.clear(); 122 builder->axes); 143 builder->axes.clear(); 177 builder->axes.clear(); 183 builder->axes.clear(); 199 builder->axes.clear(); 205 builder->axes.clear(); 227 builder->axes.clear() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeMeasurementTestActivity.java | 177 private int[] getExpectationsDeg(int axes, int rotationAxis, int expectationDeg) { 178 int[] expectationsDeg = new int[axes]; 179 for (int i = 0; i < axes; ++i) { 186 private float[] getThresholdsDeg(int axes, int rotationAxis) { 187 float[] thresholdsDeg = new float[axes]; 188 for (int i = 0; i < axes; ++i) { 189 // tests set a high threshold on the axes where rotation is not expected, to account
|